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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x2c]
push edi
push esi
push ebp
call fcn.00434480
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
mov byte [eax], bl
push dword [ebp + 0x10]
push esi
call fcn.00434690
add esp, 0x10
test al, al
je 0x465087
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0x78]
test eax, eax
je 0x46503d
nop dword [eax]
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x20]
push esi
call fcn.00435790
mov ebx, eax
add esp, 0x14
cmp ebx, 0x51
je 0x465087
push esi
call fcn.00445cd0
add esp, 4
test eax, eax
jne 0x46507a
test ebx, ebx
jne 0x465062
cmp dword [esp + 0x18], ebx
jle 0x464fef
cmp dword [edi + 0x78], 2
jne 0x464e25
mov ecx, dword [edi + 0x80]
mov eax, ecx
mov edx, dword [edi + 0x84]
or eax, edx
je 0x464de7
sub ecx, 1
mov dword [edi + 0x80], ecx
sbb edx, ebx
mov dword [edi + 0x84], edx
js 0x464dd4
jg 0x464f95
test ecx, ecx
jne 0x464f95
mov eax, dword [esp + 0x38]
mov dword [edi + 0x78], 0
mov byte [eax], 1
jmp 0x464faf
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x20]
push eax
push 1
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00468830
add esp, 0x14
cmp eax, 0xffffffff
jne 0x464f95
push 0x5d1800
push esi
call fcn.00435090
add esp, 8
jmp 0x464f8e
push 1
lea eax, [esp + 0x34]
push eax
lea ebp, [edi + 0x50]
push ebp
call fcn.0042a620
add esp, 0xc
test eax, eax
jne 0x464fd4
cmp byte [esp + 0x30], 0xa
jne 0x464f95
add byte [eax], al
inc dword [edi + 0x74]
push ebp
call fcn.0042a690
lea ecx, [edi + 0x50]
mov ebp, eax
push ecx
call fcn.0042a680
mov ebx, eax
push ebx
push ebp
push 1
push esi
call fcn.00434f20
xor ecx, ecx
cmp dword [edi + 0x74], 1
push ebx
sete cl
push ebp
lea ecx, [ecx*8 + 0x14]
push ecx
push esi
call fcn.00435570
add esp, 0x28
test eax, eax
jne 0x465089
push 1
push ebx
push esi
call fcn.00440540
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x464fca
mov al, byte [ebp]
cmp al, 0xd
je 0x464eda
cmp al, 0xa
je 0x464eda
push ebp
push edi
push esi
push dword [esp + 0x38]
call fcn.00464ab0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x464fca
lea eax, [edi + 0x50]
push eax
call fcn.0042a6a0
add esp, 4
jmp 0x464f95
cmp dword [esi + 0xd8], 0x197
jne 0x464f8e
cmp byte [esi + 0xd59], 0
jne 0x464f8e
mov edx, dword [edi + 0x80]
mov eax, edx
mov ecx, dword [edi + 0x84]
or eax, ecx
mov dword [edi + 0x78], 2
je 0x464f22
push ecx
push edx
push 0x5d1830
push esi
call fcn.00435090
add esp, 0x10
jmp 0x464f95
cmp byte [edi + 0x8c], 0
je 0x464f7c
push 0x5d1854
push esi
mov dword [esp + 0x24], 0
call fcn.00435090
lea eax, [ebp + 1]
mov byte [esi + 0x141], 1
cmp byte [eax], 0xa
cmove ebp, eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
push 1
lea eax, [ebp + 1]
push eax
push esi
call fcn.00468830
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x464f95
push 0x5d1800
push esi
call fcn.00435090
add esp, 8
jmp 0x464f8e
push 0x5d1874
push dword [esp + 0x30]
push esi
call fcn.00435120
add esp, 0xc
mov dword [edi + 0x78], 0
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x464d50
mov ecx, dword [esp + 0x38]
mov byte [ecx], 1
test ebx, ebx
jne 0x464fca
test eax, eax
jne 0x464fca
mov eax, dword [esi + 0xd7c]
sub eax, 0xc8
cmp eax, 0x64
jb 0x464fca
push esi
call fcn.00440a80
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x18
ret
push 0x5d1814
push esi
call fcn.00434fc0
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp dword [esi + 0x170], 0
je 0x46501e
cmp dword [esi + 0x988], 0
je 0x46501e
cmp dword [esi + 0xd18], 0
je 0x46501e
push 0x5d17c8
push esi
mov byte [edi + 0x8d], 1
call fcn.00435090
jmp 0x465031
push 0x5d17e8
push esi
mov dword [esp + 0x18], 1
call fcn.00434fc0
add esp, 8
mov dword [edi + 0x78], 0
xor eax, eax
cmp dword [esp + 0x10], 0
je 0x464fa0
mov ecx, dword [esp + 0x38]
test eax, eax
pop edi
sete al
mov ebx, 0x38
pop esi
mov byte [ecx], al
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x38]
mov dword [edi + 0x78], 0
pop edi
pop esi
mov byte [eax], 1
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x18
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret