Function at 0x1003e810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b145b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x100e3008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x16c], edi
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x48]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x18]
push 0x100000
mov dword [ebp - 0x174], eax
call fcn.100916f0
test al, al
jne 0x1003e876
mov eax, 0x8007000e
jmp 0x1003ed1b
mov eax, dword [edi + 0x18]
lea esi, [edi + 0x18]
mov dword [ebp - 0x168], eax
test eax, eax
je 0x1003e88f
cmp dword [esi + 0x10], 0x2000
je 0x1003e8d8
call fcn.100066d4
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x1003e8ac
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi], 0
mov dword [esi + 0x10], 0x2000
call fcn.100066d4
push 4
push 0x1000
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
test eax, eax
je 0x1003e86c
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x1003e8e9
mov eax, 0x80070057
jmp 0x1003ed1b
mov ecx, dword [eax]
xorps xmm0, xmm0
mov eax, dword [eax + 4]
mov dword [ebp - 0x170], ecx
mov ecx, dword [edi + 0x2c]
movlpd qword [ebp - 0x164], xmm0
mov dword [ebp - 0x168], eax
cmp ecx, ebx
je 0x1003e926
test ebx, ebx
je 0x1003e91a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x1003e923
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [edi + 0x2c], ebx
mov eax, dword [edi + 0x28]
mov ebx, dword [ebp - 0x154]
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [edi + 0x3c], 0
mov ecx, dword [edi + 0x54]
cmp ecx, ebx
je 0x1003e973
test ebx, ebx
je 0x1003e967
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x1003e970
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [edi + 0x54], ebx
mov eax, dword [edi + 0x50]
lea ebx, [edi + 0x40]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x24], 0
mov dword [ebx], 0x20
mov dword [ebx + 4], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], 0
mov dword [ebp - 0x178], edi
mov dword [ebp - 4], 0
cmp byte [edi + 0x241], 0
je 0x1003e9e1
push 0x100
lea eax, [ebp - 0x150]
mov ecx, edi
push eax
lea eax, [edi + 0x78]
push eax
call fcn.1003e5c0
test al, al
je 0x1003ecda
push 0x40
lea ecx, [ebp - 0x50]
push ecx
lea eax, [edi + 0x110]
mov ecx, edi
push eax
call fcn.1003e5c0
test al, al
je 0x1003ecda
push 0x40
lea ecx, [ebp - 0x50]
lea eax, [edi + 0x1a8]
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x158], eax
call fcn.1003e5c0
test al, al
je 0x1003ecda
cmp dword [ebp - 0x168], 0
jb 0x1003eccf
ja 0x1003ea3b
cmp dword [ebp - 0x170], 0
jbe 0x1003eccf
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x174], 0
je 0x1003eab5
movzx eax, ax
or eax, 0
jne 0x1003eab5
mov eax, dword [ebx + 8]
mov ecx, 0x20
sub eax, dword [ebx + 0x10]
sub ecx, dword [ebx]
push dword [ebp - 0x15c]
cdq
push dword [ebp - 0x160]
shr ecx, 3
mov edi, eax
sub edi, ecx
mov ecx, dword [ebp - 0x174]
sbb edx, 0
add edi, dword [ebx + 0x28]
mov eax, dword [ecx]
adc edx, 0
add edi, dword [ebx + 0x18]
adc edx, dword [ebx + 0x1c]
push edx
push edi
call dword [eax + 0x10]
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x1003ec90
mov edi, dword [ebp - 0x16c]
mov ecx, ebx
call fcn.10037500
mov ecx, dword [ebx + 0x30]
mov eax, ecx
inc dword [ebx]
shr ecx, 1
mov dword [ebx + 0x30], ecx
and eax, 1
jne 0x1003ebff
mov edi, dword [edi + 0x244]
mov ecx, ebx
call fcn.10037500
mov eax, dword [ebx + 0x30]
mov ecx, edi
add dword [ebx], edi
mov edx, 1
shl edx, cl
dec edx
and edx, eax
shr eax, cl
mov ecx, dword [ebp - 0x158]
push ebx
mov dword [ebp - 0x154], edx
mov dword [ebx + 0x30], eax
call fcn.10043f10
cmp eax, 0x40
jae 0x1003ecda
mov edi, dword [ebp - 0x16c]
push ebx
mov ecx, dword [edi + 0x244]
shl eax, cl
lea ecx, [edi + 0x110]
add dword [ebp - 0x154], eax
call fcn.10043f10
cmp eax, 0x40
jae 0x1003ecc8
mov edi, dword [edi + 0x248]
add edi, eax
cmp eax, 0x3f
jne 0x1003eb5d
mov ecx, ebx
call fcn.10037500
mov ecx, dword [ebx + 0x30]
add dword [ebx], 8
movzx eax, cl
shr ecx, 8
add edi, eax
mov dword [ebx + 0x30], ecx
mov edx, dword [ebp - 0x15c]
xor eax, eax
cmp eax, edx
jb 0x1003ebd6
ja 0x1003eb80
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x160]
jb 0x1003ebdc
nop dword [eax]
test edi, edi
je 0x1003ebef
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov byte [ecx + eax], 0
inc dword [esi + 4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1003ebad
mov ecx, esi
call fcn.10091590
test eax, eax
jne 0x1003ec98
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
adc edx, 0
xor ecx, ecx
dec edi
mov dword [ebp - 0x15c], edx
cmp ecx, edx
ja 0x1003eb80
jb 0x1003ebd6
cmp dword [ebp - 0x154], eax
jae 0x1003eb80
mov eax, dword [ebp - 0x154]
test edi, edi
je 0x1003ebef
push edi
push eax
mov ecx, esi
call fcn.100428a0
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x160]
add eax, edi
mov edi, dword [ebp - 0x16c]
jmp 0x1003ec64
cmp byte [edi + 0x241], 0
je 0x1003ec21
push ebx
lea ecx, [edi + 0x78]
call fcn.10043f10
mov edx, eax
cmp edx, 0x100
jae 0x1003ecc8
jmp 0x1003ec37
mov ecx, ebx
call fcn.10037500
mov eax, dword [ebx + 0x30]
add dword [ebx], 8
movzx edx, al
shr eax, 8
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov byte [ecx + eax], dl
inc dword [esi + 4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x1003ec55
mov ecx, esi
call fcn.10091590
test eax, eax
jne 0x1003ec98
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
add eax, 1
adc edx, 0
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], edx
cmp edx, dword [ebp - 0x168]
ja 0x1003ecb4
jb 0x1003ea53
mov ecx, dword [ebp - 0x170]
cmp eax, ecx
jae 0x1003ecba
jmp 0x1003ea53
mov esi, dword [ebp - 0x154]
jmp 0x1003ecdf
cmp eax, 0x80004004
lea eax, [ebp - 0x158]
push 0x100e1788
push eax
je 0x1003ed48
jmp 0x1003ed39
mov ecx, dword [ebp - 0x170]
cmp edx, dword [ebp - 0x168]
jb 0x1003eccf
ja 0x1003ecc8
cmp eax, ecx
jbe 0x1003eccf
mov esi, 1
jmp 0x1003ece5
mov ecx, esi
call fcn.10091590
mov esi, eax
jmp 0x1003ece5
mov esi, 1
mov edi, dword [ebp - 0x16c]
mov dword [ebp - 4], 7
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x1003ecff
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [edi + 0x2c], 0
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x1003ed12
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [edi + 0x54], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009bd8a
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 0x158], 0xe000000c
call fcn.1009e39d
mov dword [ebp - 0x158], 0x80004004
call fcn.1009e39d
int3