Function at 0x4365d0
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 0x436aa8
mov ecx, dword [esi + 0x34]
test ebx, ebx
je 0x436aa1
mov edi, dword [ebx + 0x34]
movsx ebp, byte [esp + 0x80]
test ebp, ebp
je 0x436689
mov esi, ebx
mov ebp, dword [esi + 0x34]
mov eax, esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
call fcn.00408720
mov ecx, dword [esp + 0x48]
movsx edx, byte [esp + 0x80]
test edx, edx
je 0x4366cc
mov edx, dword [esp + 0x3c]
cmp edx, dword [ebp + 0x78]
jne 0x4366c8
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x7c]
jne 0x4366c4
mov ebx, 1
jmp 0x4366ce
xor ebx, ebx
jmp 0x4366ce
xor ebx, ebx
jmp 0x4366ce
xor ebx, ebx
cmp byte [ebp + 0x99], 1
je 0x436a6d
test ebx, ebx
je 0x43699d
mov eax, dword [edi + 0x90]
test eax, eax
je 0x436aaf
movsx edx, byte [esp + 0x84]
cmp edx, 0xa
je 0x43694b
movsx edx, byte [esp + 0x84]
cmp edx, 0x15
je 0x43689a
movsx edx, byte [esp + 0x84]
cmp edx, 0x1f
je 0x436848
movsx edx, byte [esp + 0x84]
cmp edx, 0x29
je 0x4367f6
movsx edx, byte [esp + 0x84]
cmp edx, 0x33
je 0x4367a4
test ebx, ebx
jne 0x43677e
mov edx, dword [ebp + 0x90]
test edx, edx
je 0x436761
push edx
mov dword [esp + 0x48], eax
call fcn.004678ff
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.00408720
jmp 0x436783
cmp ebx, 2
je 0x43678d
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.00408720
jmp 0x436783
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.00436ac8
mov eax, dword [esp + 0x44]
jmp 0x436742
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.00437074
mov eax, dword [esp + 0x44]
jmp 0x436742
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.00437710
mov eax, dword [esp + 0x44]
jmp 0x436742
movzx edx, byte [0x5d04f4]
test edx, edx
je 0x436902
movzx edx, byte [0x5b304c]
test edx, edx
je 0x436902
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.004190b4
mov eax, dword [esp + 0x44]
jmp 0x436742
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.004184cc
mov eax, dword [esp + 0x6c]
add esp, 0x28
jmp 0x436742
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.00418120
mov eax, dword [esp + 0x44]
jmp 0x436742
mov edi, dword [esp + 0x3c]
lea edx, [edi + edi]
add edx, edx
cmp edi, 0x2000
jg 0x436a32
mov edi, dword [esp + 0x30]
imul edi, edx
lea edx, [edi + edx + 4]
push edx
mov dword [esp + 0x4c], ecx
call fcn.0046769c
mov ecx, dword [esp + 0x4c]
add esp, 4
test eax, eax
je 0x4369e4
movzx edx, byte [ecx + 0x86]
mov byte [ebp + 0x86], dl
jmp 0x4366e9
mov edx, dword [esp + 0x30]
push edx
mov edi, dword [esp + 0x40]
push edi
push 0
push 0x8083f4
push 0x807270
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
call fcn.004293ac
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.00464784
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 0x20
jmp 0x4369d2
mov edx, dword [esp + 0x30]
push edx
push edi
push 0x8083cc
push 0x807270
mov dword [esp + 0x58], ecx
call fcn.0040c5ac
mov ecx, dword [esp + 0x58]
push 1
push 0x186aa
mov dword [esp + 0x60], ecx
call fcn.004647e0
mov ecx, dword [esp + 0x60]
add esp, 0x18
xor eax, eax
jmp 0x4369d2
movsx edx, byte [esp + 0x80]
test edx, edx
je 0x4366db
mov edx, dword [esp + 0x3c]
cmp edx, dword [ebp + 0x78]
jge 0x4366db
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x7c]
jge 0x4366db
mov ebx, 2
jmp 0x4366db
xor edi, edi
jmp 0x43667b
xor ecx, ecx
jmp 0x436670
mov eax, 0xffffffff
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret