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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x490
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, 0x18
mov dword [esp + 0x1c], edi
call fcn.03707780
mov esi, eax
test esi, esi
je 0x3639454
lea ecx, [esi + 8]
mov dword [esi], 0x100f8dfc
mov dword [esi + 4], 0
mov dword [ecx + 0xc], 0
call fcn.03639f40
jmp 0x3639456
xor esi, esi
mov ebp, dword [0x100f524c]
mov dword [edi + 4], esi
xor esi, esi
test esi, esi
je 0x363979a
cmp esi, 1
je 0x363979a
cmp esi, 2
je 0x363979a
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.0362a270
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
call fcn.0370d7e0
test eax, eax
je 0x36394e4
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x363979a
call fcn.03707920
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
jmp 0x363979a
push 4
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call fcn.03635ef0
push 0x100f8bc4
push dword [eax]
call ebp
mov ecx, dword [esp + 0x3c]
test eax, eax
setne bl
test ecx, ecx
je 0x3639529
call fcn.03707920
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test bl, bl
je 0x363960b
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
cmp eax, 0x100f8bc4
jne 0x3639567
push eax
lea ecx, [esp + 0x24]
call fcn.0362a270
mov edi, dword [esp + 0x20]
xor eax, eax
mov word [edi], ax
jmp 0x363959f
xor edi, edi
mov eax, 0x100f8bc4
mov edi, edi
lea eax, [eax + 2]
xor ecx, ecx
inc edi
cmp cx, word [eax]
jne 0x3639570
push edi
lea ecx, [esp + 0x24]
call fcn.0362a270
lea eax, [edi*2 + 2]
mov edi, dword [esp + 0x20]
push eax
push 0x100f8bc4
push edi
call fcn.037136d0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x4c]
call fcn.03635d40
add esp, 4
lea ecx, [esp + 0x10]
push dword [eax]
call fcn.0362a210
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x36395e4
call fcn.03707920
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
test edi, edi
je 0x3639607
mov ecx, edi
call fcn.03707920
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x1c]
cmp esi, 3
jne 0x363961e
push 0x100f8728
lea ecx, [esp + 0x14]
call fcn.0362ee90
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x298], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x64]
push ebx
push eax
mov dword [esp + 0x2a4], 0
call dword [0x1011f448]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x29c]
push eax
push dword [esp + 0x70]
lea ecx, [edi + 8]
push dword [esp + 0x70]
call fcn.0362d0a0
mov eax, dword [esp + 0x298]
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x29c]
mov dword [esp + 0x60], eax
xor eax, eax
cmp ax, word [esp + 0x90]
sete cl
test ecx, ecx
mov ecx, dword [edi + 4]
cmovne eax, esi
push eax
lea eax, [esp + 0x60]
push eax
call fcn.036398f0
mov ecx, dword [esp + 0x90]
mov edi, eax
mov dword [esp + 0x6c], ecx
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x94]
push 0xffffffffffffffff
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x78]
push eax
call fcn.03681d70
push 0x100f7c80
lea eax, [esp + 0x58]
push eax
call dword [0x1011f448]
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], 0
call fcn.03681ed0
test eax, eax
je 0x3639745
mov eax, dword [esp + 0x88]
xor edx, edx
cmp eax, dword [esp + 0x7c]
mov ecx, esi
lea eax, [esp + 0x30]
cmovl ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.036398f0
mov edi, eax
lea ecx, [esp + 0x74]
lea eax, [esp + 0x2c]
push eax
call fcn.03681ed0
test eax, eax
jne 0x3639712
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0x98]
cmp eax, ecx
je 0x363975c
call fcn.03707920
mov ecx, dword [esp + 0x29c]
lea eax, [esp + 0x2a0]
cmp eax, ecx
je 0x3639773
call fcn.03707920
test ebx, ebx
je 0x3639796
mov ecx, ebx
call fcn.03707920
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x1c]
inc esi
cmp esi, 0x25
jl 0x3639461
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret