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

Disassembly:
push 0xffffffffffffffff
push 0x4956f8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4bb190]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb190]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, dword [esp + 0x94]
mov esi, dword [edi + 0x10]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp dword [edi + 0xc], esi
jbe 0x4362ea
call fcn.00467a4e
mov ebx, dword [edi]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 0x10]
jbe 0x436301
call fcn.00467a4e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push esi
push ebx
push edi
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00422580
mov esi, dword [esp + 0x18]
test esi, esi
je 0x43634d
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x436326
call fcn.00467a4e
mov edi, dword [esi]
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 0x10]
jbe 0x43633d
call fcn.00467a4e
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push ebx
push edi
push esi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00422580
xor ebx, ebx
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x436367
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x30]
call fcn.00402220
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x88], ebx
cmp edi, ebx
jne 0x4363ab
cmp dword [esp + 0x40], 8
jb 0x4363a4
mov edx, dword [esp + 0x2c]
push edx
call fcn.004440cb
add esp, 4
xor eax, eax
jmp 0x43662c
cmp dword [esp + 0x9c], ebx
je 0x4363dd
mov ebp, dword [esp + 0x1c]
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4363c0
sub eax, edx
sar eax, 1
push eax
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0041f750
jmp 0x436405
mov esi, dword [esp + 0x1c]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4363e6
sub eax, edx
sar eax, 1
push eax
push ebx
push esi
lea ecx, [esp + 0x34]
call fcn.00410040
mov ebp, dword [esp + 0x1c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43640e
mov esi, edi
push esi
push ebx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x34]
call fcn.004192b0
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
mov byte [esp + 0x8c], 1
call fcn.00416760
cmp esi, dword [esp + 0x3c]
je 0x4365e6
cmp dword [esp + 0x9c], 0
je 0x4364f5
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4364ee
cmp esi, dword [esp + 0x3c]
jbe 0x436465
call fcn.00467a4e
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x436474
lea eax, [esp + 0x2c]
mov dx, word [eax + esi*2]
xor eax, eax
mov word [esp + 0x16], ax
mov dword [esp + 0x58], eax
xor ecx, ecx
lea eax, [esp + 0x14]
mov word [esp + 0x14], dx
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], cx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4364a0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x4c]
call fcn.00402220
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov byte [esp + 0x8c], 2
call fcn.00416760
cmp dword [esp + 0x5c], 8
mov byte [esp + 0x88], 1
jb 0x4364ee
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004440cb
add esp, 4
mov eax, 1
jmp 0x43650f
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436500
sub eax, edx
sar eax, 1
cmp dword [esp + 0x9c], 0
lea edi, [eax + esi]
je 0x43656d
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x34]
call fcn.004192b0
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436532
sub eax, edx
sar eax, 1
push eax
push 0
push ebp
lea ecx, [esp + 0x50]
call fcn.0041f750
mov esi, eax
cmp esi, 0xffffffff
je 0x436557
add esi, edi
cmp dword [esp + 0x5c], 8
jb 0x43658f
mov eax, dword [esp + 0x48]
push eax
call fcn.004440cb
add esp, 4
jmp 0x43658f
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436572
sub eax, edx
sar eax, 1
push eax
push edi
push ebp
lea ecx, [esp + 0x34]
call fcn.00410040
mov esi, eax
cmp esi, 0xffffffff
jne 0x436598
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x78], 8
mov byte [esp + 0x88], 0
jb 0x4365b4
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004440cb
add esp, 4
mov edx, esi
sub edx, edi
push edx
push edi
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x34]
call fcn.004192b0
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
mov byte [esp + 0x8c], 1
call fcn.00416760
cmp esi, dword [esp + 0x3c]
jne 0x436440
mov edi, 8
cmp dword [esp + 0x78], edi
jb 0x4365fe
mov edx, dword [esp + 0x64]
push edx
call fcn.004440cb
add esp, 4
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [esp + 0x40], edi
jb 0x43662a
mov eax, dword [esp + 0x2c]
push eax
call fcn.004440cb
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004677ab
add esp, 0x78
ret