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

Disassembly:
sub esp, 0x7c
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x1c], esi
mov esi, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x78], eax
mov byte [esp + 0x74], 0
cmp dword [edi], 1
jbe 0x436d45
mov ecx, dword [edi]
cmp esi, ecx
jae 0x436d5f
mov edx, dword [edi + 4]
mov eax, dword [edx + esi*8]
mov edx, dword [edx + esi*8 + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov ecx, dword fs:[0x2c]
mov ebx, dword [ecx]
cmp dword [ebx + 0xb8], 0
je 0x4369e7
mov ebx, dword [ecx]
push edx
push eax
push dword [ebx + 0xbc]
push dword [ebx + 0xb8]
call fcn.004635f0
test al, al
jne 0x436d45
movzx edx, byte [ebp]
bt edx, 3
jae 0x436a17
cmp dword [esp + 0x24], 0
je 0x436d45
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx]
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
cmp ecx, dword [ebx + 0xb0]
jne 0x436d45
bt edx, 1
jae 0x436b8c
mov edx, dword [esp + 0x24]
cmp edx, 2
jbe 0x436b8c
test edx, edx
jne 0x436a54
xor ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x339
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx]
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [ebx + 0xb0]
cmp ecx, eax
jne 0x436b8c
mov ecx, 1
cmp edx, ecx
ja 0x436a9e
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x33a
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov ebx, dword [esp + 0x28]
movzx ebx, byte [ebx + 1]
cmp ebx, eax
je 0x436b8c
mov dword [esp + 0x2c], 0
mov edx, dword [esp + 0x24]
mov ecx, 1
mov dword [esp + 0x30], 0
cmp edx, ecx
jb 0x436d83
mov edx, dword [esp + 0x24]
dec edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], edx
inc ecx
lea edx, [esp + 0x7c]
mov dword [esp + 0x60], ecx
mov ecx, 0x436e14
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00466614
mov ecx, dword [edi]
cmp ecx, esi
jb 0x436da7
mov dword [esp + 0x34], esi
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
lea ecx, [esi + 1]
mov dword [esp + 0x40], edx
mov ebx, dword [edi]
cmp ebx, ecx
jb 0x436dcb
mov edx, ebx
lea ecx, [esi + 1]
sub edx, ecx
mov dword [esp + 0x44], edx
mov edx, dword [edi + 4]
lea ecx, [edx + esi*8 + 8]
mov dword [esp + 0x48], ecx
lea edx, [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 4], 3
mov dword [esp], 0x4ceb90
call fcn.0046601c
mov dword [edi], eax
mov dword [edi + 4], edx
cmp esi, dword [edi]
jb 0x43699c
jmp 0x436d45
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x98]
push dword [esp + 0x98]
lea edx, [esp + 0x5c]
push edx
movsx eax, byte [ebp]
call fcn.004661d8
xor al, 1
je 0x436bc7
inc esi
jmp 0x436b7f
mov byte [esp + 0x74], 1
lea ecx, [esi + 1]
mov ebx, dword [edi]
cmp ebx, ecx
jae 0x436bf9
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x35a
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov eax, ebx
mov edx, dword [edi + 4]
sub eax, ecx
lea ecx, [edx + esi*8 + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, dword [edi]
cmp ecx, esi
jae 0x436c26
push ecx
mov ecx, 0x4cdfc0
push esi
push 0
push 0x35a
push ecx
call fcn.00462c8c
mov eax, esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x4ceb90
call fcn.00465ef4
mov dword [edi], eax
mov dword [edi + 4], edx
cmp dword [esp + 0x4c], 0
jne 0x436d10
mov dl, byte [esp + 0x78]
xor dl, 1
je 0x436d10
cmp esi, dword [edi]
setb cl
mov edx, 0x436f68
push ecx
lea ebx, [esp + 0x80]
mov ecx, 0x4cdfc0
push edx
mov eax, 0x375
push ebx
push ecx
push 0x37
call fcn.00462cc8
mov edx, dword [edi]
cmp esi, edx
jae 0x436def
mov ecx, dword [edi + 4]
mov edx, dword [ecx + esi*8 + 4]
mov eax, dword [ecx + esi*8]
mov dword [esp + 0x4c], eax
lea ecx, [esi + 1]
mov dword [esp + 0x50], edx
mov ebx, dword [edi]
cmp ebx, ecx
jae 0x436cc8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x378
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov eax, ebx
mov edx, dword [edi + 4]
sub eax, ecx
lea ecx, [edx + esi*8 + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, dword [edi]
cmp ecx, esi
jae 0x436cf5
push ecx
mov ecx, 0x4cdfc0
push esi
push 0
push 0x378
push ecx
call fcn.00462c8c
mov eax, esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x4ceb90
call fcn.00465ef4
mov dword [edi], eax
mov dword [edi + 4], edx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x436b7f
mov al, byte [esp + 0x74]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 0x7c
ret 0x14
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x331
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x33d
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x34a
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x34a
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x377
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
int3