Function at 0x10039c80
Capabilities:
Access peb ldr_data
Get process heap flags
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e085
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x310
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x300], esi
mov eax, dword fs:[0x2c]
mov edx, dword [0x100c25f8]
mov edi, dword [eax + edx*4]
mov eax, dword [0x100c2de8]
mov dword [ebp - 0x2f4], edi
cmp eax, dword [edi + 4]
jle 0x10039d33
push 0x100c2de8
call fcn.10075275
add esp, 4
cmp dword [0x100c2de8], 0xffffffff
jne 0x10039d33
mov ecx, 0x100c2dc4
mov dword [ebp - 4], 0
call fcn.10026670
push 0x1009ea60
call fcn.10075723
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x100c2de8
call fcn.10075224
add esp, 4
mov edx, esi
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10039d50
sub edx, ecx
lea ecx, [ebp - 0x5c]
push edx
push esi
call fcn.100263c0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x100c2dc4
call fcn.10021ee0
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x2f0], esi
cmp ecx, 0xf
jbe 0x10039dbb
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039db1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a3b0
push ecx
push edx
call fcn.1007573d
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp dword [esi], 0
jne 0x10039f44
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
lea eax, [ecx + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ecx + 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x18], eax
xor ecx, ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], eax
mov edi, dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x2ec], eax
cmp eax, edi
je 0x10039f1d
mov edx, dword [ebp - 0x2e4]
nop word [eax + eax]
sub eax, ecx
mov edi, dword [eax + 0x18]
test edi, edi
je 0x10039f01
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x10039f01
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x10039f01
mov eax, dword [eax + edi + 0x78]
test eax, eax
je 0x10039f01
add eax, edi
je 0x10039f01
mov edx, dword [eax + 0x1c]
xor esi, esi
mov ecx, dword [eax + 0x20]
add edx, edi
mov dword [ebp - 0x308], edx
add ecx, edi
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add edx, edi
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x304], edx
mov dword [ebp - 0x2fc], eax
test eax, eax
je 0x10039ef5
nop
mov eax, dword [ecx + esi*4]
mov ecx, dword [ebp - 0x300]
add eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10039ec0
test dl, dl
je 0x10039ebc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10039ec0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10039ea0
xor eax, eax
jmp 0x10039ec5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10039eda
mov ecx, dword [ebp - 0x2f8]
inc esi
cmp esi, dword [ebp - 0x2fc]
jb 0x10039e90
jmp 0x10039ef5
mov eax, dword [ebp - 0x304]
mov ecx, dword [ebp - 0x308]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
jne 0x1003a17b
mov ecx, dword [ebp - 0x2e8]
mov edx, dword [ebp - 0x2e4]
mov eax, dword [ebp - 0x2ec]
mov eax, dword [eax]
mov dword [ebp - 0x2ec], eax
cmp eax, dword [edx]
jne 0x10039e20
mov esi, dword [ebp - 0x2f0]
mov eax, dword [ebp - 0x2e4]
add ecx, 8
add eax, 4
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], eax
cmp ecx, 0x18
jl 0x10039e02
mov edi, dword [ebp - 0x2f4]
mov eax, dword [0x100c317c]
mov esi, dword [esi]
cmp eax, dword [edi + 4]
jle 0x1003a022
push 0x100c317c
call fcn.10075275
add esp, 4
cmp dword [0x100c317c], 0xffffffff
jne 0x1003a022
mov dword [ebp - 4], 2
push 0x10
mov dword [ebp - 0x314], 0x100c31b0
mov dword [0x100c31b0], 0
mov dword [0x100c31b4], 0
mov dword [0x100c31b8], 0
call fcn.100752d9
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x100c31b4], eax
mov dword [0x100c31bc], 0
mov dword [0x100c31c0], 0
mov dword [0x100c31c4], 0
mov byte [ebp - 4], 4
mov ecx, 0x100c31bc
push eax
push 0x10
mov dword [0x100c31c8], 7
mov dword [0x100c31cc], 8
mov dword [0x100c31b0], 0x3f800000
call fcn.10022140
push 0x1009eb30
call fcn.10075723
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x100c317c
call fcn.10075224
add esp, 4
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2f0], esi
push eax
mov ecx, 0x100c31b0
call fcn.10021ec0
mov ecx, eax
mov dword [ebp - 0x300], ecx
cmp dword [ecx], 0
jne 0x1003a390
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2fc], eax
test eax, eax
je 0x1003a390
xor esi, esi
mov edi, eax
push 0x27b
lea eax, [ebp - 0x2dc]
push 0
push eax
call fcn.1007a020
add esp, 0xc
lea eax, [esi + edi]
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x2e0], eax
call fcn.10071540
add esi, eax
cmp esi, 5
jl 0x1003a062
mov edi, dword [ebp - 0x2f4]
lea eax, [esi + 5]
mov dword [ebp - 0x320], eax
mov eax, dword [0x100c2de4]
mov dword [ebp - 0x314], esi
mov byte [ebp - 0x310], 0xe9
cmp eax, dword [edi + 4]
jle 0x1003a0fd
push 0x100c2de4
call fcn.10075275
add esp, 4
cmp dword [0x100c2de4], 0xffffffff
jne 0x1003a0fd
mov ecx, 0x100c2dec
mov dword [ebp - 4], 5
call fcn.10026670
push 0x1009e9d0
call fcn.10075723
add esp, 4
push 0x100c2de4
call fcn.10075224
add esp, 4
mov eax, dword [0x100a8348]
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0xc
movq xmm0, qword [0x100a8340]
mov dword [ebp - 0x30], 0xf
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 6
push eax
mov ecx, 0x100c2dec
call fcn.10021ee0
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2ec], esi
cmp ecx, 0xf
jbe 0x1003a198
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a18e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a3b5
jmp 0x1003a18e
mov esi, dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0x2e8]
mov dword [esi], eax
jmp 0x10039f1d
push ecx
push edx
call fcn.1007573d
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp dword [esi], 0
jne 0x1003a31d
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
lea eax, [ecx + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ecx + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
mov eax, 0x18
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x2e4], eax
mov edi, dword [ecx]
mov dword [ebp - 0x2e8], edi
mov ecx, dword [ebp - 0x2e8]
mov edi, dword [edi]
mov dword [ebp - 0x2f4], edi
cmp edi, ecx
je 0x1003a2fd
mov edi, dword [edi + eax]
test edi, edi
je 0x1003a2e1
mov edx, 0x5a4d
cmp word [edi], dx
jne 0x1003a2e1
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x1003a2db
mov eax, dword [eax + edi + 0x78]
test eax, eax
je 0x1003a2db
add eax, edi
je 0x1003a2db
mov ecx, dword [eax + 0x1c]
xor esi, esi
mov edx, dword [eax + 0x20]
add ecx, edi
mov dword [ebp - 0x31c], ecx
add edx, edi
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 0x304], edx
mov dword [ebp - 0x318], ecx
mov dword [ebp - 0x308], eax
test eax, eax
je 0x1003a2d5
mov eax, dword [edx + esi*4]
mov ecx, 0x100a8340
add eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003a2a0
test dl, dl
je 0x1003a29c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003a2a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003a280
xor eax, eax
jmp 0x1003a2a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003a2ba
mov edx, dword [ebp - 0x304]
inc esi
cmp esi, dword [ebp - 0x308]
jb 0x1003a271
jmp 0x1003a2d5
mov eax, dword [ebp - 0x318]
mov ecx, dword [ebp - 0x31c]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
jne 0x1003a377
mov ecx, dword [ebp - 0x2e8]
mov eax, dword [ebp - 0x2e4]
mov edi, dword [ebp - 0x2f4]
mov edi, dword [edi]
mov dword [ebp - 0x2f4], edi
cmp edi, ecx
jne 0x1003a200
mov esi, dword [ebp - 0x2ec]
mov ecx, dword [ebp - 0x2f8]
sub eax, 8
add ecx, 4
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2f8], ecx
test eax, eax
jg 0x1003a1e2
mov eax, dword [esi]
push 0x40
push 0x3000
push dword [ebp - 0x320]
push 0
call eax
mov esi, eax
test esi, esi
je 0x1003a38a
mov eax, dword [ebp - 0x2fc]
mov ecx, eax
mov edi, dword [ebp - 0x314]
sub ecx, esi
push edi
push eax
sub ecx, 5
push esi
mov dword [ebp - 0x30f], ecx
call fcn.10079aa0
mov eax, dword [ebp - 0x310]
add esp, 0xc
mov ecx, dword [ebp - 0x300]
mov dword [esi + edi], eax
mov al, byte [ebp - 0x30c]
mov byte [esi + edi + 4], al
mov dword [ecx], esi
jmp 0x1003a390
mov esi, dword [ebp - 0x2ec]
mov dword [esi], eax
mov eax, dword [ebp - 0x2e4]
jmp 0x1003a2fd
mov ecx, dword [ebp - 0x300]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100751eb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10083a2a
call fcn.10083a2a
int3