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

Disassembly:
sub esp, 0x80
lea eax, [esp + 0x30]
push ebx
push esi
push edi
mov edi, dword [esp + 0x94]
push eax
push dword [edi + 0xc]
call fcn.1000d1d0
lea eax, [esp + 0x84]
push eax
push dword [edi + 0xc]
call fcn.1000d1d0
lea eax, [esp + 0x6c]
push eax
push dword [edi + 0xc]
call fcn.10032d40
lea eax, [esp + 0x34]
push eax
push dword [edi + 0xc]
call fcn.10032d40
lea eax, [esp + 0x4c]
push eax
push dword [edi + 0xc]
call fcn.10032d40
lea eax, [esp + 0x94]
push eax
push dword [edi + 0xc]
call fcn.10032d40
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0xc]
call fcn.10032d40
lea eax, [esp + 0x84]
push eax
push dword [edi + 0xc]
call fcn.10032d40
mov ebx, dword [esp + 0xf0]
lea eax, [esp + 0x9c]
add esp, 0x40
push ebx
push eax
push edi
push 3
push dword [esp + 0xb4]
push dword [esp + 0xa4]
call fcn.100332a0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x10039a06
lea eax, [esp + 0x1c]
push eax
push 1
call fcn.10032db0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10039a06
mov eax, dword [esp + 0x24]
add eax, 0x10
mov dword [esp + 0x20], 1
push eax
push 1
call fcn.1000d530
mov esi, eax
add esp, 8
test esi, esi
jne 0x10039a06
push dword [esp + 0x24]
push eax
call fcn.1000d530
mov esi, eax
add esp, 8
test esi, esi
jne 0x10039a06
mov ecx, dword [esp + 0x98]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
lea eax, [esp + 0x3c]
push eax
je 0x1003963a
push 0x18
call fcn.1000d530
mov esi, eax
add esp, 8
test esi, esi
jne 0x10039a06
push ebx
lea eax, [esp + 0x50]
push eax
push edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100339b0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x10039a06
xor ebx, ebx
lea esp, [esp]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x58]
add eax, ebx
push edi
push eax
call fcn.10032d00
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10039a06
mov eax, dword [esp + 0x54]
add eax, ebx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1000d9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10039a06
add ebx, 0x10
cmp ebx, 0x30
jl 0x100395f0
jmp 0x100396e2
push 8
call fcn.1000d530
mov esi, eax
add esp, 8
test esi, esi
jne 0x10039a06
push ebx
lea eax, [esp + 0x50]
push eax
push edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100339b0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x10039a06
lea eax, [esp + 0x3c]
push eax
push 0x100
call fcn.1000d530
mov esi, eax
add esp, 8
test esi, esi
jne 0x10039a06
xor ebx, ebx
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x58]
add eax, ebx
push edi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1000f710
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
mov eax, dword [esp + 0x54]
add eax, ebx
push eax
lea eax, [esp + 0x80]
push edi
push eax
call fcn.10032d00
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10039a06
add ebx, 0x10
cmp ebx, 0x30
jl 0x10039694
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10033af0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10039a06
push dword [esp + 0x34]
push edi
push 0x40
call fcn.10032880
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10039a06
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10033af0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10039a06
push dword [esp + 0x14]
push edi
push 0x100
call fcn.10032880
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10039a06
lea eax, [esp + 0x6c]
push eax
push edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10033be0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0x1c]
push eax
push edi
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.10033720
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push edi
push eax
push eax
call fcn.10032e60
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0x6c]
push eax
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10032e60
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
xor ebx, ebx
mov eax, dword [esp + 0x24]
add eax, ebx
push eax
mov eax, dword [esp + 0x78]
add eax, ebx
push edi
push eax
call fcn.10032d00
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10039a06
add ebx, 0x10
cmp ebx, 0x30
jl 0x100397d5
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x30]
push edi
push eax
push eax
call fcn.10033be0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0xc]
push eax
push edi
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.10033720
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
push dword [esp + 0x54]
push edi
push 0x200
call fcn.100341a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10039a06
lea eax, [esp + 0x2c]
push eax
push edi
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10033be0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0xc]
push eax
push edi
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10033720
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x10]
push edi
push eax
push eax
call fcn.10032e60
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push edi
push eax
push eax
call fcn.10033be0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0x2c]
push eax
push edi
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10033720
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0xc]
push eax
push edi
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10033be0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0x2c]
push eax
push edi
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10033720
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x70]
push edi
push eax
push eax
call fcn.10033be0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
lea eax, [esp + 0xc]
push eax
push edi
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10033720
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
mov edx, dword [esp + 0x34]
xor ebx, ebx
lea ecx, [edx + 8]
lea esp, [esp]
cmp dword [ecx - 4], 1
jne 0x100399a8
mov eax, dword [ecx]
cmp dword [eax], 0
jne 0x100399a8
inc ebx
add ecx, 0x10
cmp ebx, 3
jl 0x10039990
jmp 0x10039a06
push dword [esp + 0xa8]
mov eax, dword [esp + 0x18]
shl ebx, 4
add eax, ebx
push edi
push eax
lea eax, [ebx + edx]
push eax
call fcn.1000f710
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
add eax, ebx
push edi
push eax
push eax
call fcn.1000f710
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10039a06
push dword [esp + 0xac]
lea eax, [esp + 0x40]
push edi
push eax
mov eax, dword [esp + 0x40]
add eax, ebx
push eax
call fcn.1000f710
add esp, 0x10
mov esi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.1000d1f0
lea eax, [esp + 0x80]
push eax
call fcn.1000d1f0
lea eax, [esp + 0x64]
push eax
call fcn.10032d60
lea eax, [esp + 0x28]
push eax
call fcn.10032d60
lea eax, [esp + 0x3c]
push eax
call fcn.10032d60
lea eax, [esp + 0x80]
push eax
call fcn.10032d60
lea eax, [esp + 0x24]
push eax
call fcn.10050400
lea eax, [esp + 0x68]
push eax
call fcn.10032d60
add esp, 0x20
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x80
ret