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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464820
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x482738]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x482738]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edi
test esi, esi
je 0x428cb4
mov al, byte [edi]
cmp al, 0x2b
je 0x428cad
cmp al, 0x2d
jne 0x428cb4
mov ebx, 1
jmp 0x428cb6
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.00402521
and eax, 0xe00
cmp eax, 0x800
jne 0x428cec
lea eax, [ebx + 2]
cmp eax, esi
ja 0x428cec
cmp byte [edi + ebx], 0x30
jne 0x428cec
mov cl, byte [edi + ebx + 1]
cmp cl, 0x78
je 0x428ce6
cmp cl, 0x58
jne 0x428cec
mov ebx, eax
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
call fcn.0040254e
mov dword [esp + 0x78], 0
push eax
call fcn.00419e70
add esp, 4
mov edi, eax
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00401910
lea ecx, [esp + 0x14]
call fcn.004026f0
push eax
lea ecx, [esp + 0x3c]
call fcn.0040779d
push 0
push 0
lea ecx, [esp + 0x40]
call fcn.0040773f
push 0
push esi
lea ecx, [esp + 0x40]
call fcn.00422080
mov dword [esp + 0x78], 1
lea ecx, [esp + 0x38]
call fcn.004077b5
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
push eax
lea eax, [esi + ecx]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
call fcn.0040254e
mov byte [esp + 0x78], 2
push eax
call fcn.00429360
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x2c]
call fcn.00401910
lea eax, [esp + 0x50]
mov ecx, edi
push eax
call fcn.00429130
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x50]
push 0
call fcn.0040893a
mov edi, eax
mov al, byte [edi]
cmp al, 0x7f
je 0x428e90
test al, al
jle 0x428e90
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov cl, byte [edi]
mov byte [esp + 0x1f], al
cmp cl, 0x7f
je 0x428e90
test cl, cl
jle 0x428e90
mov eax, esi
movsx ecx, cl
sub eax, ebx
cmp ecx, eax
jae 0x428e90
sub esi, ecx
mov ecx, dword [esp + 0x48]
cmp ecx, esi
jb 0x428ec5
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x428ebc
lea ebx, [ecx + 1]
push 0
push ebx
lea ecx, [esp + 0x40]
call fcn.00408972
test al, al
je 0x428e77
lea ecx, [esp + 0x38]
call fcn.004077b5
lea ecx, [eax + esi]
mov eax, dword [esp + 0x48]
sub eax, esi
push eax
push ecx
lea eax, [ecx + 1]
push eax
call fcn.00401565
mov al, byte [esp + 0x2b]
lea ecx, [esp + 0x44]
add esp, 0xc
mov byte [esp + 0x14], al
lea eax, [esp + 0x14]
push eax
call fcn.004077b5
add eax, esi
push eax
call fcn.00401579
add esp, 8
lea ecx, [esp + 0x38]
push ebx
call fcn.00408949
cmp byte [edi + 1], 0
lea eax, [edi + 1]
mov ebx, dword [esp + 0x18]
cmovg edi, eax
mov cl, byte [edi]
cmp cl, 0x7f
jne 0x428de6
lea ecx, [esp + 0x38]
call fcn.0040773b
mov ecx, dword [esp + 0x20]
mov edi, eax
mov dword [esp + 0x2c], edi
call fcn.0040252c
mov esi, eax
test edx, edx
jl 0x428ece
jg 0x428eb4
test esi, esi
je 0x428ece
cmp esi, edi
jbe 0x428ece
sub esi, edi
jmp 0x428ed0
lea ecx, [esp + 0x38]
call fcn.00408a08
lea ecx, [esp + 0x38]
call fcn.00408a13
xor esi, esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], esi
call fcn.00402521
and eax, 0x1c0
cmp eax, 0x40
je 0x428f81
cmp eax, 0x100
je 0x428f34
mov edi, dword [ebp + 8]
lea eax, [esp + 0x24]
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.004290c0
mov esi, eax
mov dword [esp + 0x30], 0
add esp, 0x18
lea ecx, [esp + 0x38]
mov eax, dword [esi]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp + 0x14], eax
call fcn.004077b5
push ebx
push eax
push dword [esi + 4]
push dword [esi]
jmp 0x428f95
lea ecx, [esp + 0x38]
call fcn.004077b5
mov edi, dword [ebp + 8]
push ebx
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x30]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00429050
mov ecx, eax
push esi
push dword [ebp + 0x1c]
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x44]
push dword [ecx + 4]
push dword [ecx]
push eax
push edi
call fcn.004290c0
add esp, 0x30
mov dword [esp + 0x18], 0
jmp 0x428fa3
lea ecx, [esp + 0x38]
call fcn.004077b5
mov edi, dword [ebp + 8]
push ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00429050
add esp, 0x18
mov esi, dword [eax]
lea ecx, [esp + 0x38]
mov dword [ebp + 0x10], esi
mov edi, dword [eax + 4]
mov dword [ebp + 0x14], edi
call fcn.004077b5
mov ecx, dword [esp + 0x2c]
add eax, ebx
sub ecx, ebx
mov ebx, dword [ebp + 8]
push ecx
push eax
push edi
push esi
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.00429050
mov ecx, dword [esp + 0x38]
add esp, 0x18
mov edi, dword [eax]
push 0
mov dword [ebp + 0x10], edi
mov esi, dword [eax + 4]
push 0
mov dword [ebp + 0x14], esi
call fcn.00402533
push dword [esp + 0x18]
push dword [ebp + 0x1c]
push esi
mov esi, dword [esp + 0x40]
push edi
push esi
push ebx
call fcn.004290c0
add esp, 0x18
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x50]
call fcn.004063e2
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.004063e2
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00448892
mov esp, ebp
pop ebp
ret