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

Disassembly:
push ebp
push ebx
sub esp, 0x114
movzx eax, word [esp + 0x130]
lea edx, [esp + 0x110]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xd4], 0x473a10
mov dword [esp + 0xd8], 0x475434
mov word [esp + 0x6e], ax
lea eax, [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 0xe0], 0x436e16
mov dword [esp + 0xe4], esp
call fcn.00409610
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0xc0], 0xffffffff
add ecx, 0x6c
mov dword [esp + 0x58], ecx
mov dword [esp], ecx
call fcn.0046f690
mov dword [esp], 0x47bc34
mov dword [esp + 0x3c], eax
call fcn.00418500
mov ebx, dword [esp + 0x12c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
shl edx, 2
add edx, ecx
mov ebx, dword [edx]
mov dword [esp + 0x38], edx
test ebx, ebx
mov dword [esp + 0x2c], ebx
je 0x436c81
mov eax, dword [esp + 0x134]
mov ebx, dword [esp + 0x2c]
mov eax, dword [eax]
movzx ebx, word [ebx + 0x3c]
cmp word [eax], bx
mov dword [esp + 0x30], eax
je 0x436b05
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x108], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x44], edx
mov dword [esp + 0x74], eax
mov eax, dword [ecx - 0xc]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx]
lea eax, [ecx + eax*2]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 8
mov dword [esp], ebx
mov eax, dword [edx + 0x14]
mov dword [esp + 0xc0], 0xffffffff
call eax
sub eax, dword [esp + 0x30]
sar eax, 1
mov dword [esp + 0x4c], eax
jne 0x436478
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x128]
mov dword [esp + 0x60], eax
lea eax, [esp + 0xbc]
mov dword [ecx + 8], 0
mov dword [esp + 0x64], edx
mov dword [esp], eax
call fcn.00409760
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
add esp, 0x114
pop ebx
pop ebp
ret
lea eax, [esp + 0x10c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00437c30
mov dword [esp + 0xc0], 1
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x4c]
add eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
call fcn.00439890
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x30]
sub edx, eax
test edx, edx
mov dword [esp + 0x48], edx
jle 0x43663b
test eax, eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebx + 0xc]
cmovns ecx, edx
test eax, eax
mov dword [esp + 0x48], ecx
je 0x436b53
mov eax, ecx
add eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x10], 0
mov eax, dword [eax - 0xc]
mov dword [esp + 4], 0
mov dword [esp + 0xc0], 1
mov dword [esp + 8], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
call fcn.00438050
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [ebx + 0xc]
movzx edx, word [edx + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0xa4], ebx
mov word [esp + 0xb0], dx
mov edx, dword [esp + 0x100]
mov dword [esp + 0xa8], eax
mov eax, dword [edx - 4]
test eax, eax
js 0x43657f
lea eax, [esp + 0x100]
mov dword [esp], eax
call fcn.00437bf0
mov edx, dword [esp + 0x100]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 0x10], ebx
lea eax, [ebx + ecx*2]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.0046b5a0
mov edx, dword [esp + 0x100]
mov ebx, dword [edx - 4]
mov dword [esp + 0xac], eax
test ebx, ebx
js 0x4365f2
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc0], 1
call fcn.00437bf0
mov edx, dword [esp + 0x100]
mov eax, dword [esp + 0xac]
sub eax, edx
mov edx, dword [edx - 0xc]
sar eax, 1
cmp eax, edx
ja 0x436dff
sub edx, eax
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0xc0], 1
call fcn.00439960
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x30]
test eax, eax
jle 0x436702
mov eax, dword [esp + 0x100]
mov ebx, dword [esp + 0x2c]
mov edx, dword [eax - 0xc]
movzx ebx, word [ebx + 0x12]
lea ecx, [edx + 1]
cmp ecx, dword [eax - 8]
mov word [esp + 0x9e], bx
mov dword [esp + 0x88], ecx
jbe 0x436b90
mov ebx, dword [esp + 0x88]
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc0], 1
mov dword [esp + 4], ebx
call fcn.00439890
mov eax, dword [esp + 0x100]
mov edx, dword [eax - 0xc]
mov ebx, dword [esp + 0x88]
movzx ecx, word [esp + 0x9e]
mov word [eax + edx*2], cx
mov edx, dword [esp + 0x2c]
mov dword [eax - 4], 0
mov dword [eax - 0xc], ebx
mov word [eax + ebx*2], 0
mov eax, dword [esp + 0x48]
test eax, eax
js 0x436d92
mov eax, dword [edx + 0x30]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc0], 1
mov dword [esp + 8], eax
lea eax, [ebx + ecx*2]
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
call fcn.004386a0
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x100]
test dword [esp + 0x7c], 0x200
mov eax, dword [eax - 0xc]
mov dword [esp + 0x8c], eax
jne 0x436b40
lea eax, [esp + 0x10d]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc0], 1
call fcn.00437c30
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x8c]
add eax, dword [esp + 0x84]
mov dword [esp + 0xc0], 2
mov dword [esp + 0x70], eax
add eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
call fcn.00439890
mov ebx, dword [esp + 0x12c]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x34], 0
mov ebx, dword [ebx + 8]
and ecx, 0xb0
cmp dword [esp + 0x70], ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x54], ebx
setb byte [esp + 0x9c]
cmp ecx, 0x10
sete al
and byte [esp + 0x9c], al
movzx eax, word [esp + 0x6e]
sub ebx, dword [esp + 0x70]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebx
mov edx, dword [esp + 0x34]
movsx eax, byte [esp + edx + 0x108]
cmp eax, 4
ja case.default.0x436809
jmp dword [eax*4 + 0x47e068]
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x436be0
lea esi, [esi]
add dword [esp + 0x34], 1
cmp dword [esp + 0x34], 4
jne 0x4367f8
cmp dword [esp + 0x44], 1
jbe 0x436863
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc0], 2
sub eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
add eax, 2
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
call fcn.004386a0
mov eax, dword [esp + 0x104]
mov ecx, dword [eax - 0xc]
cmp dword [esp + 0x54], ecx
mov dword [esp + 0x50], ecx
jbe 0x4368d3
cmp dword [esp + 0x80], 0x20
movzx eax, word [esp + 0x6e]
je 0x436ba0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call fcn.00438050
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x104]
mov dword [esp + 0x50], edx
movzx edx, byte [esp + 0x128]
mov ecx, dword [esp + 0x128]
mov ebx, dword [esp + 0x124]
test dl, dl
mov dword [esp + 0x78], ecx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x9d], dl
jne 0x436927
mov edx, dword [ebx]
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov eax, dword [edx + 0x30]
mov dword [esp + 0xc0], 2
call eax
cmp dword [esp + 0x50], eax
jne 0x436df5
movzx eax, byte [esp + 0x9d]
movzx ebx, byte [esp + 0x9d]
mov ecx, dword [0x476010]
mov byte [esp + 0x128], al
mov byte [esp + 0x78], bl
mov edx, dword [esp + 0x78]
test ecx, ecx
mov dl, al
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x68]
mov byte [esp + 0xfc], al
mov eax, dword [esp + 0x104]
mov dword [esp + 0xf8], edx
mov dword [esp + 0x124], edx
jne 0x436c72
mov edx, dword [eax - 4]
lea ecx, [edx - 1]
mov dword [eax - 4], ecx
test edx, edx
jle 0x436d77
mov edx, dword [0x476010]
mov eax, dword [esp + 0x100]
test edx, edx
jne 0x436c63
mov edx, dword [eax - 4]
lea ecx, [edx - 1]
mov dword [eax - 4], ecx
test edx, edx
jg 0x436434
lea edx, [esp + 0x10f]
sub eax, 0xc
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00438200
jmp 0x436434
mov ecx, dword [esp + 0x12c]
test byte [ecx + 0xd], 2
je case.default.0x436809
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xc0], 2
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
call fcn.004386a0
jmp case.default.0x436809
lea eax, [esp + 0x100]
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call fcn.00438780
jmp case.default.0x436809
cmp byte [esp + 0x9c], 0
jne 0x436ad0
mov eax, dword [esp + 0x104]
mov edx, dword [eax - 0xc]
lea ecx, [edx + 1]
cmp ecx, dword [eax - 8]
mov dword [esp + 0x98], ecx
ja 0x436a6e
mov ebx, dword [eax - 4]
test ebx, ebx
jle 0x436a9d
mov ebx, dword [esp + 0x98]
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
mov dword [esp + 4], ebx
call fcn.00439890
mov eax, dword [esp + 0x104]
mov edx, dword [eax - 0xc]
movzx ecx, word [esp + 0x6e]
mov ebx, dword [esp + 0x98]
mov word [eax + edx*2], cx
mov dword [eax - 4], 0
mov dword [eax - 0xc], ebx
mov word [eax + ebx*2], 0
jmp case.default.0x436809
cmp byte [esp + 0x9c], 0
je case.default.0x436809
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0xc0], 2
mov dword [esp + 8], eax
lea eax, [esp + 0x104]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00438900
jmp case.default.0x436809
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x108], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x44], edx
mov edx, ecx
add edx, 2
mov dword [esp + 0x74], eax
mov eax, dword [ecx - 0xc]
test eax, eax
cmove edx, ecx
mov dword [esp + 0x30], edx
jmp 0x4363f8
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x84], edx
jmp 0x43673a
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc0], 1
mov dword [esp + 8], eax
lea eax, [esp + 0x100]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00438a30
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x30]
jmp 0x43663b
mov ecx, dword [eax - 4]
test ecx, ecx
jg 0x436670
jmp 0x43669f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], 2
sub eax, ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
call fcn.00438900
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x104]
mov dword [esp + 0x50], ebx
jmp 0x4368d3
mov eax, dword [esp + 0x74]
movzx eax, word [eax]
mov word [esp + 0xb2], ax
mov eax, dword [esp + 0x104]
mov edx, dword [eax - 0xc]
lea ecx, [edx + 1]
cmp ecx, dword [eax - 8]
mov dword [esp + 0xa0], ecx
jbe 0x436de2
mov ebx, dword [esp + 0xa0]
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
mov dword [esp + 4], ebx
call fcn.00439890
mov eax, dword [esp + 0x104]
mov edx, dword [eax - 0xc]
movzx ecx, word [esp + 0xb2]
mov ebx, dword [esp + 0xa0]
mov word [eax + edx*2], cx
mov dword [eax - 4], 0
mov dword [eax - 0xc], ebx
mov word [eax + ebx*2], 0
jmp case.default.0x436809
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
jmp 0x4369ac
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
jmp 0x436986
mov dword [esp], 0x54
mov dword [esp + 0xc0], 5
call fcn.004727b0
mov dword [eax + 4], 0
mov dword [eax], fcn.00462900
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov word [eax + 0x12], 0
mov word [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov byte [eax + 0x34], 0
mov byte [eax + 0x35], 0
mov byte [eax + 0x36], 0
mov byte [eax + 0x37], 0
mov byte [eax + 0x38], 0
mov byte [eax + 0x39], 0
mov byte [eax + 0x3a], 0
mov byte [eax + 0x3b], 0
mov byte [eax + 0x52], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc0], 4
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00461fd0
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x12c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x6c]
mov dword [esp + 0xc0], 0xffffffff
mov dword [esp], eax
call fcn.00464020
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
jmp 0x4363b7
lea edx, [esp + 0x10e]
sub eax, 0xc
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00438200
jmp 0x43698e
movzx eax, word [edx + 0x3e]
mov dword [esp + 0xc0], 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
neg eax
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
call fcn.00438900
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x100]
mov ebx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
call fcn.004386a0
jmp 0x436702
mov ecx, dword [eax - 4]
test ecx, ecx
jg 0x436c0c
lea esi, [esi]
jmp 0x436c3b
mov eax, 1
jmp 0x43692f
mov dword [esp], 0x47e02c
mov dword [esp + 0xc0], 1
call fcn.0046d350
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xb4], ecx
jmp dword [eax*4 + 0x47e07c]
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
call fcn.00472ca0
mov dword [esp + 0xc0], 3
call fcn.00473810
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xb8], ebx
lea eax, [esp + 0x100]
mov dword [esp], eax
call fcn.0043a290
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc0], 0xffffffff
mov dword [esp], eax
call fcn.00409b70
lea eax, [esp + 0x104]
mov dword [esp], eax
call fcn.0043a290
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xb8], edx
jmp 0x436e5f
mov dword [esp + 0xc0], 0
call fcn.00472f40
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc0], 0xffffffff
mov dword [esp], eax
call fcn.00409b70
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
call fcn.00472ca0
cmp dword [esp + 0x40], 0
je 0x436e41
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [esp], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0xc0], 3
call eax
jmp 0x436e41