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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x30], ecx
lea ebx, [eax + 0x6c]
mov dword [esp], ebx
call fcn.004a5340
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 0x34], eax
call fcn.004a5400
mov esi, eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0xa0]
mov ebp, eax
mov eax, dword [esp + 0xa4]
cmp eax, 0xffffffff
sete dl
test ecx, ecx
setne al
and al, dl
mov edi, eax
jne 0x458250
mov ecx, dword [esp + 0xa8]
cmp dword [esp + 0xac], 0xffffffff
sete al
test ecx, ecx
je 0x4580da
test al, al
jne 0x458170
xor edx, eax
mov eax, dword [esp + 0x48]
cmp ebx, ebp
jae 0x458220
test dl, dl
je 0x458220
test eax, eax
jne 0x458228
mov edi, dword [esp + 0xbc]
add edi, ebx
movzx edx, byte [edi]
movzx eax, byte [esi + edx + 0x11d]
mov ecx, edx
test al, al
jne 0x45812f
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
cmp eax, 0x429990
jne 0x4582b8
test cl, cl
je 0x458133
mov byte [esi + edx + 0x11d], cl
mov eax, ecx
cmp al, 0x25
je 0x4581b0
mov eax, dword [esp + 0xa4]
movzx edx, byte [edi]
mov ecx, dword [esp + 0xa0]
cmp eax, 0xffffffff
jne 0x458151
test ecx, ecx
jne 0x458328
cmp dl, al
je 0x458290
or dword [esp + 0x48], 4
mov eax, dword [esp + 0xa4]
add ebx, 1
jmp 0x4580a7
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 8], eax
jb 0x4580dc
mov eax, dword [ecx]
mov byte [esp + 0x38], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
jne 0x4580dc
mov dword [esp + 0xa8], 0
xor edx, 1
jmp 0x4580dc
mov eax, dword [esp + 0xbc]
lea edx, [ebx + 1]
movzx edi, byte [eax + ebx + 1]
movzx eax, byte [esi + edi + 0x11d]
mov ecx, edi
test al, al
jne 0x4581ee
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
cmp eax, 0x429990
jne 0x458e30
test cl, cl
je 0x458340
mov byte [esi + edi + 0x11d], cl
mov eax, ecx
mov dword [esp + 0x4c], 0
cmp al, 0x45
je 0x4582e0
cmp al, 0x4f
je 0x4582e0
mov ebx, edx
sub eax, 0x41
cmp al, 0x38
ja case.0x458216.4
movzx eax, al
jmp dword [eax*4 + 0x4b4e98]
cmp ebx, ebp
jne 0x458228
test eax, eax
je 0x458232
mov eax, dword [esp + 0xb4]
or dword [eax], 4
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
mov eax, dword [ecx + 0xc]
xor edx, edx
cmp dword [ecx + 8], eax
jb 0x4580bc
mov eax, dword [ecx]
mov byte [esp + 0x38], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
jne 0x4580bc
mov dword [esp + 0xa0], 0
mov edx, edi
jmp 0x4580bc
call fcn.004892f0
mov ecx, dword [esp + 0xa0]
mov eax, 0xffffffff
mov dword [esp + 0xa4], 0xffffffff
jmp 0x458165
movsx ecx, dl
mov dword [esp + 0x38], edx
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 4], 0
call eax
sub esp, 8
mov ecx, eax
mov edx, dword [esp + 0x38]
jmp 0x458122
mov eax, dword [esp + 0xbc]
add ebx, 2
movzx edi, byte [eax + ebx]
movzx eax, byte [esi + edi + 0x11d]
mov edx, edi
test al, al
jne 0x458208
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
cmp eax, 0x429990
jne 0x458e58
test dl, dl
je case.0x458216.4
mov byte [esi + edi + 0x11d], dl
mov eax, edx
jmp 0x458208
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x458ed4
movzx eax, byte [eax]
jmp 0x458151
mov ebx, edx
or dword [esp + 0x48], 4
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
jmp 0x458165
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x270f
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00457550
sub esp, 0x28
mov edi, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test edi, edi
jne 0x4585a8
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
lea ecx, [edx + 0x64]
lea eax, [edx - 0x76c]
test edx, edx
cmovs eax, ecx
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0xa4]
jmp 0x45834e
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x94]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x9c]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xa0]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0xa8]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0xac]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0xb4]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0xb8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0xc0]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004579d0
sub esp, 0x24
mov edi, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test edi, edi
jne 0x4585a8
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0xa4]
jmp 0x45834e
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00457550
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
je 0x458ebb
lea esi, [esi]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
jmp 0x458165
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00457550
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x4585a8
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
sub eax, 1
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0xa4]
jmp 0x45834e
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00458050
sub esp, 0x20
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xa4], edx
mov eax, dword [esp + 0xa4]
jmp 0x458165
lea ecx, [esp + 0xa0]
call fcn.004282b0
mov edx, dword [esi + 0x18]
movzx eax, al
test byte [edx + eax*2], 1
je case.0x458216.4
lea eax, [esp + 0x48]
lea edi, [esp + 0x50]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x14], 0x4b3560
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004579d0
sub esp, 0x24
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 0xa4], edx
call fcn.00428210
sub esp, 4
test al, al
jne 0x4585a8
mov eax, dword [esp + 0x48]
or eax, dword [esp + 0x50]
jne 0x4585a8
lea ecx, [esp + 0xa0]
call fcn.004282b0
cmp byte [esi + 0x1c], 0
mov dword [esp + 0x38], eax
je 0x458f0a
movzx eax, byte [esi + 0x4a]
cmp byte [esp + 0x38], al
je 0x4587e7
lea ecx, [esp + 0xa0]
call fcn.004282b0
cmp byte [esi + 0x1c], 0
mov dword [esp + 0x38], eax
je 0x458f1e
movzx eax, byte [esi + 0x48]
cmp byte [esp + 0x38], al
jne 0x4585a8
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x17
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00457550
sub esp, 0x28
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x3c], edx
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3b
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00457550
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
jmp 0x4585a8
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0x60]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 7
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004579d0
sub esp, 0x24
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x4585a8
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0xa4]
jmp 0x45834e
lea ecx, [esp + 0xa0]
call fcn.004282b0
mov dword [esp + 4], 0
mov ecx, esi
movsx eax, al
mov dword [esp], eax
call fcn.00429890
sub esp, 8
cmp al, 0xa
jne case.0x458216.4
mov ecx, dword [esp + 0xa0]
call fcn.004892f0
mov eax, 0xffffffff
mov dword [esp + 0xa4], 0xffffffff
jmp 0x45834e
lea ecx, [esp + 0xa0]
call fcn.004282b0
mov dword [esp + 4], 0
mov ecx, esi
movsx eax, al
mov dword [esp], eax
call fcn.00429890
sub esp, 8
cmp al, 9
jne case.0x458216.4
jmp 0x4589da
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
jmp 0x458666
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0x44]
jmp 0x458914
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x64]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x68]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x6c]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x74]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x80]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x88]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x8c]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x90]
jmp 0x458487
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00457550
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x4585a8
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xa4]
jmp 0x45834e
lea edi, [esp + 0x50]
mov dword [esp + 4], 0x4b4e8d
mov ecx, esi
mov dword [esp + 8], edi
mov dword [esp], 0x4b4e87
call fcn.004297b0
sub esp, 0xc
mov dword [esp + 0x1c], edi
jmp 0x45866a
lea edi, [esp + 0x50]
mov dword [esp + 4], 0x4b4e96
mov ecx, esi
mov dword [esp + 8], edi
mov dword [esp], 0x4b4e8d
call fcn.004297b0
sub esp, 0xc
mov dword [esp + 0x1c], edi
jmp 0x45866a
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00457550
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x4585a8
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0xa4]
jmp 0x45834e
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 1
jmp 0x458bf9
lea edi, [esp + 0x50]
mov dword [esp + 4], 0x4b4e87
mov ecx, esi
mov dword [esp + 8], edi
mov dword [esp], 0x4b4e7e
call fcn.004297b0
sub esp, 0xc
mov dword [esp + 0x1c], edi
jmp 0x45866a
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
jmp 0x458666
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00457550
sub esp, 0x28
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test ecx, ecx
jne 0x4585a8
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0xa4]
jmp 0x45834e
lea ecx, [esp + 0xa0]
call fcn.004282b0
mov edx, dword [esi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
jne 0x458e74
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0xa
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00457550
sub esp, 0x28
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
test edx, edx
jne 0x45834e
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 0xc], edx
jmp 0x45834e
movsx ecx, cl
mov dword [esp + 0x38], edx
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 4], 0
call eax
sub esp, 8
mov ecx, eax
mov edx, dword [esp + 0x38]
jmp 0x4581dd
movsx edx, dl
mov dword [esp + 4], 0
mov ecx, esi
mov dword [esp], edx
call eax
sub esp, 8
mov edx, eax
jmp 0x458310
mov ecx, dword [esp + 0xa0]
call fcn.004892f0
lea eax, [esp + 0x48]
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 9
mov dword [esp + 0x14], 1
jmp 0x458dba
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi], eax
mov eax, dword [esp + 0xa4]
jmp 0x45834e
mov eax, dword [ecx]
mov byte [esp + 0x38], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
je 0x458ef3
mov ecx, dword [esp + 0xa0]
jmp 0x458151
mov dword [esp + 0xa0], 0
xor ecx, ecx
mov eax, 0xffffffff
jmp 0x458151
mov dword [esp], 0x2d
mov ecx, esi
call fcn.00429840
push ecx
jmp 0x4587b9
mov dword [esp], 0x2b
mov ecx, esi
call fcn.00429840
push edx
jmp 0x4587dd