Function at 0x4367e0
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 0x436cb8
mov ecx, dword [esi + 0x34]
test ebx, ebx
je 0x436cb1
mov edi, dword [ebx + 0x34]
movsx ebp, byte [esp + 0x80]
test ebp, ebp
je 0x436899
mov esi, ebx
mov ebp, dword [esi + 0x34]
mov eax, esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
call fcn.00408764
mov ecx, dword [esp + 0x48]
movsx edx, byte [esp + 0x80]
test edx, edx
je 0x4368dc
mov edx, dword [esp + 0x3c]
cmp edx, dword [ebp + 0x78]
jne 0x4368d8
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x7c]
jne 0x4368d4
mov ebx, 1
jmp 0x4368de
xor ebx, ebx
jmp 0x4368de
xor ebx, ebx
jmp 0x4368de
xor ebx, ebx
cmp byte [ebp + 0x99], 1
je 0x436c7d
test ebx, ebx
je 0x436bad
mov eax, dword [edi + 0x90]
test eax, eax
je 0x436cbf
movsx edx, byte [esp + 0x84]
cmp edx, 0xa
je 0x436b5b
movsx edx, byte [esp + 0x84]
cmp edx, 0x15
je 0x436aaa
movsx edx, byte [esp + 0x84]
cmp edx, 0x1f
je 0x436a58
movsx edx, byte [esp + 0x84]
cmp edx, 0x29
je 0x436a06
movsx edx, byte [esp + 0x84]
cmp edx, 0x33
je 0x4369b4
test ebx, ebx
jne 0x43698e
mov edx, dword [ebp + 0x90]
test edx, edx
je 0x436971
push edx
mov dword [esp + 0x48], eax
call fcn.0046703f
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.00408764
jmp 0x436993
cmp ebx, 2
je 0x43699d
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.00408764
jmp 0x436993
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.00436cd8
mov eax, dword [esp + 0x44]
jmp 0x436952
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.00437284
mov eax, dword [esp + 0x44]
jmp 0x436952
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.00437920
mov eax, dword [esp + 0x44]
jmp 0x436952
movzx edx, byte [0x5cf4f4]
test edx, edx
je 0x436b12
movzx edx, byte [0x5b204c]
test edx, edx
je 0x436b12
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.004190f4
mov eax, dword [esp + 0x44]
jmp 0x436952
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.0041850c
mov eax, dword [esp + 0x6c]
add esp, 0x28
jmp 0x436952
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.00418160
mov eax, dword [esp + 0x44]
jmp 0x436952
mov edi, dword [esp + 0x3c]
lea edx, [edi + edi]
add edx, edx
cmp edi, 0x2000
jg 0x436c42
mov edi, dword [esp + 0x30]
imul edi, edx
lea edx, [edi + edx + 4]
push edx
mov dword [esp + 0x4c], ecx
call fcn.00466ddc
mov ecx, dword [esp + 0x4c]
add esp, 4
test eax, eax
je 0x436bf4
movzx edx, byte [ecx + 0x86]
mov byte [ebp + 0x86], dl
jmp 0x4368f9
mov edx, dword [esp + 0x30]
push edx
mov edi, dword [esp + 0x40]
push edi
push 0
push 0x80742c
push 0x806270
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
call fcn.00464d5c
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.00463ec8
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 0x20
jmp 0x436be2
mov edx, dword [esp + 0x30]
push edx
push edi
push 0x807404
push 0x806270
mov dword [esp + 0x58], ecx
call fcn.0040c5f0
mov ecx, dword [esp + 0x58]
push 1
push 0x186aa
mov dword [esp + 0x60], ecx
call fcn.00463f24
mov ecx, dword [esp + 0x60]
add esp, 0x18
xor eax, eax
jmp 0x436be2
movsx edx, byte [esp + 0x80]
test edx, edx
je 0x4368eb
mov edx, dword [esp + 0x3c]
cmp edx, dword [ebp + 0x78]
jge 0x4368eb
mov edx, dword [esp + 0x30]
cmp edx, dword [ebp + 0x7c]
jge 0x4368eb
mov ebx, 2
jmp 0x4368eb
xor edi, edi
jmp 0x43688b
xor ecx, ecx
jmp 0x436880
mov eax, 0xffffffff
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret