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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x4c
mov dword [esp + 0x40], ecx
mov ebx, edx
mov esi, eax
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x28], edx
mov eax, 0x51eb851f
imul ebp
sar edx, 5
sar ebp, 0x1f
sub edx, ebp
mov dword [esp + 0x38], edx
mov eax, 0x51eb851f
imul edi
sar edx, 5
sar edi, 0x1f
sub edx, edi
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x74]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x78]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x7c]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x30], edx
test esi, esi
je 0x4374bc
mov ecx, dword [esi + 0x34]
test ebx, ebx
je 0x4374b5
mov edi, dword [ebx + 0x34]
movsx ebp, byte [esp + 0x80]
test ebp, ebp
je 0x43709d
mov esi, ebx
mov ebp, dword [esi + 0x34]
mov eax, esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
call fcn.0040870c
mov ecx, dword [esp + 0x48]
movsx edx, byte [esp + 0x80]
test edx, edx
je 0x4370e0
mov edx, dword [esp + 0x3c]
cmp edx, dword [ebp + 0x78]
jne 0x4370dc
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x7c]
jne 0x4370d8
mov ebx, 1
jmp 0x4370e2
xor ebx, ebx
jmp 0x4370e2
xor ebx, ebx
jmp 0x4370e2
xor ebx, ebx
cmp byte [ebp + 0x99], 1
je 0x437481
test ebx, ebx
je 0x4373b1
mov eax, dword [edi + 0x90]
test eax, eax
je 0x4374c3
movsx edx, byte [esp + 0x84]
cmp edx, 0xa
je 0x43735f
movsx edx, byte [esp + 0x84]
cmp edx, 0x15
je 0x4372ae
movsx edx, byte [esp + 0x84]
cmp edx, 0x1f
je 0x43725c
movsx edx, byte [esp + 0x84]
cmp edx, 0x29
je 0x43720a
movsx edx, byte [esp + 0x84]
cmp edx, 0x33
je 0x4371b8
test ebx, ebx
jne 0x437192
mov edx, dword [ebp + 0x90]
test edx, edx
je 0x437175
push edx
mov dword [esp + 0x48], eax
call fcn.0046c03f
mov eax, dword [esp + 0x48]
add esp, 4
mov dword [ebp + 0x90], eax
mov edx, dword [esp + 0x3c]
mov dword [ebp + 0x78], edx
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x7c], ecx
mov eax, esi
call fcn.0040870c
jmp 0x437197
cmp ebx, 2
je 0x4371a1
xor eax, eax
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x3c]
mov dword [ebp + 0x78], edx
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x7c], ecx
mov eax, esi
call fcn.0040870c
jmp 0x437197
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x7c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0x90]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
call fcn.004374dc
mov eax, dword [esp + 0x44]
jmp 0x437156
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x7c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0x90]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], eax
call fcn.00437a88
mov eax, dword [esp + 0x44]
jmp 0x437156
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x7c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0x90]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
call fcn.00438124
mov eax, dword [esp + 0x44]
jmp 0x437156
movzx edx, byte [0x5d49f4]
test edx, edx
je 0x437316
movzx edx, byte [0x5b704c]
test edx, edx
je 0x437316
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x7c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0x90]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], eax
call fcn.00419224
mov eax, dword [esp + 0x44]
jmp 0x437156
mov edx, dword [esp + 0x7c]
push edx
mov edi, dword [esp + 0x7c]
push edi
push dword [ecx + 0x7c]
push dword [ecx + 0x78]
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x5c]
push edx
push dword [ecx + 0x90]
push eax
mov dword [esp + 0x6c], eax
call fcn.0041863c
mov eax, dword [esp + 0x6c]
add esp, 0x28
jmp 0x437156
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x7c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0x90]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
call fcn.00418290
mov eax, dword [esp + 0x44]
jmp 0x437156
mov edi, dword [esp + 0x3c]
lea edx, [edi + edi]
add edx, edx
cmp edi, 0x2000
jg 0x437446
mov edi, dword [esp + 0x30]
imul edi, edx
lea edx, [edi + edx + 4]
push edx
mov dword [esp + 0x4c], ecx
call fcn.0046bddc
mov ecx, dword [esp + 0x4c]
add esp, 4
test eax, eax
je 0x4373f8
movzx edx, byte [ecx + 0x86]
mov byte [ebp + 0x86], dl
jmp 0x4370fd
mov edx, dword [esp + 0x30]
push edx
mov edi, dword [esp + 0x40]
push edi
push 0
push 0x81163c
push 0x810270
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
call fcn.00417454
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push 0
push 1
push 0x1965e
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
call fcn.00468e58
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 0x20
jmp 0x4373e6
mov edx, dword [esp + 0x30]
push edx
push edi
push 0x811614
push 0x810270
mov dword [esp + 0x58], ecx
call fcn.0040c598
mov ecx, dword [esp + 0x58]
push 1
push 0x186aa
mov dword [esp + 0x60], ecx
call fcn.00468eb4
mov ecx, dword [esp + 0x60]
add esp, 0x18
xor eax, eax
jmp 0x4373e6
movsx edx, byte [esp + 0x80]
test edx, edx
je 0x4370ef
mov edx, dword [esp + 0x3c]
cmp edx, dword [ebp + 0x78]
jge 0x4370ef
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x7c]
jge 0x4370ef
mov ebx, 2
jmp 0x4370ef
xor edi, edi
jmp 0x43708f
xor ecx, ecx
jmp 0x437084
mov eax, 0xffffffff
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret