Function at 0x458f30
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x4fb218]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x84], ecx
and ebx, dword [0x4fb21c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x80], ebx
push esi
push edi
test eax, eax
je 0x458f76
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004b3f70
test ebx, ebx
je 0x458f89
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004b3f70
xorps xmm0, xmm0
lea edx, [esp + 0x70]
push 0
lea ecx, [esp + 0x70]
movlpd qword [esp + 0x70], xmm0
call fcn.004b0d00
mov eax, dword [esp + 0x70]
add esp, 4
mov ecx, dword [esp + 0x70]
mov edi, dword [ebp + 0x18]
add dword [ebp + 8], eax
add dword [ebp + 0xc], ecx
add dword [ebp + 0x10], eax
add dword [ebp + 0x14], ecx
push 0x2e
push edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x54], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x459045
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esi, 2
push 0x4ec584
push esi
call ebx
add esp, 8
test eax, eax
je 0x45902b
push 0x4ec58c
push esi
call ebx
add esp, 8
test eax, eax
je 0x45902b
push 0x4ec594
push esi
call ebx
add esp, 8
test eax, eax
jne 0x459045
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
mov ebx, eax
push 0x32
mov dword [esp + 0x34], ebx
call esi
mov dword [esp + 0x14], eax
jmp 0x459047
xor ebx, ebx
mov esi, edi
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x45905d
cmp eax, 9
jne 0x459062
add esi, 2
jmp 0x459050
cmp eax, 0x2a
jne 0x459295
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
movzx eax, word [esi + 2]
add esi, 2
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx eax, ax
add esp, 4
cmp eax, 0x48
je 0x459260
cmp eax, 0x57
je 0x45924f
push 4
push str.Icon
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x4590bb
add esi, 8
mov ecx, esi
call fcn.00419330
mov dword [esp + 0x4c], eax
jmp 0x459182
push 5
push str.Trans
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x459218
push 0x1f
add esi, 0xa
lea eax, [esp + 0xf4]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor eax, eax
lea ebx, [esp + 0xfc]
mov word [esp + 0x13a], ax
add esp, 0xc
mov ax, word [esp + 0xf0]
test ax, ax
je 0x45914c
movzx edi, ax
nop dword [eax + eax]
mov ecx, 0x4e4614
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x459143
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x459120
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x459110
jmp 0x45914c
test ebx, ebx
je 0x45914c
xor eax, eax
mov word [ebx], ax
lea ecx, [esp + 0xf0]
call fcn.004b0b40
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4591f6
push 0x10
lea eax, [esp + 0xf4]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
add esp, 0xc
mov dword [esp + 0x28], eax
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test esi, esi
je 0x4591c5
movzx eax, word [esi]
test ax, ax
je 0x4591c5
mov edi, eax
mov eax, 0x4e4614
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x459271
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x4591a0
movzx eax, word [esi + 2]
add esi, 2
mov edi, eax
test ax, ax
jne 0x459190
mov eax, dword [0x4f70f4]
test byte [eax + 0x100], 1
jne 0x459c39
mov ecx, dword [0x4f99cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4e4674
call fcn.004b3f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
movzx edx, cl
movzx eax, cx
shl edx, 8
shr eax, 8
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [esp + 0x28], edx
jmp 0x45917c
mov ecx, esi
call fcn.00419330
mov ebx, eax
mov dword [esp + 0x24], ebx
test ebx, ebx
jns 0x459236
mov dword [esp + 0x24], 0
jmp 0x45917c
cmp ebx, 0xff
jle 0x45917c
mov dword [esp + 0x24], 0xff
jmp 0x45917c
lea ecx, [esi + 2]
call fcn.00419330
mov dword [esp + 0x30], eax
jmp 0x459182
lea ecx, [esi + 2]
call fcn.00419330
mov dword [esp + 0x14], eax
jmp 0x459182
lea edi, [esi + 2]
mov esi, edi
movzx eax, word [esi]
cmp eax, 0x20
je 0x459283
cmp eax, 9
jne 0x459288
add esi, 2
jmp 0x459276
cmp eax, 0x2a
je 0x459071
mov ebx, dword [esp + 0x30]
push 0
lea eax, [esp + 0x1f]
mov edx, ebx
push eax
push 0
push dword [esp + 0x58]
lea eax, [esp + 0x58]
mov ecx, edi
push eax
push dword [esp + 0x28]
call fcn.004b0e90
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x4591c5
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
call esi
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4592ff
cmp byte [esp + 0x1b], al
jne 0x4591c5
cmp dword [esp + 0x48], 1
push ebx
jne 0x4592f4
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4591c5
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4591c5
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
xor al, al
mov dword [esp + 0x80], 0
cmp dword [esp + 0x48], 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x84], ecx
mov byte [esp + 0xe], al
jne 0x4594db
lea eax, [esp + 0xc8]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x459389
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xf]
mov ecx, dword [esp + 0xd4]
push 1
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00458230
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x10
mov dword [esp + 0x2c], eax
push dword [esp + 0xd8]
call ebx
push dword [esp + 0xd4]
call ebx
xor ebx, ebx
push ebx
call esi
mov esi, eax
push esi
mov dword [esp + 0x68], esi
call edi
mov edi, eax
test edi, edi
je 0x4594b6
lea eax, [esp + 0xdc]
push eax
push dword [esp + 0x48]
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4594af
lea eax, [esp + 0xb0]
push eax
push 0x18
push dword [esp + 0xf4]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x459495
push dword [esp + 0xb8]
push dword [esp + 0xb8]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x459495
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x50], eax
test eax, eax
je 0x459495
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0xb8]
push 0xff000000
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb0], ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [esp + 0xa0]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 3
push 0
push 0
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0x58]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [esp + 0x50]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x64]
push dword [esp + 0xec]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0xe8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x4591c5
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xf]
push 8
push eax
lea eax, [esp + 0x68]
mov ecx, ebx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00458230
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
je 0x459b16
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub ebx, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
inc ebx
push dword [esp + 0x40]
inc esi
call edi
mov edi, eax
mov dword [esp + 0x80], edi
test edi, edi
je 0x459b16
push esi
push ebx
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x459b16
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x84], eax
test eax, eax
je 0x459b16
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x4c]
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x459b16
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x37]
push 8
push eax
lea eax, [esp + 0x70]
mov edx, edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00458230
mov edx, eax
add esp, 0x10
mov dword [esp + 0x10], edx
test edx, edx
je 0x459b16
mov ecx, dword [esp + 0x20]
mov edi, ecx
mov esi, dword [esp + 0x3c]
imul esi, dword [esp + 0x60]
imul edi, dword [esp + 0x68]
cmp byte [esp + 0xf], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], edi
jne 0x4595ea
cmp byte [esp + 0x37], 0
jne 0x4595ea
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x28], ebx
test esi, esi
jle 0x45971f
jmp 0x459705
mov ebx, dword [esp + 0x28]
cmp ebx, 0xffffffff
je 0x4595fd
and ebx, 0xf8f8f8
mov dword [esp + 0x28], ebx
xor ecx, ecx
test edi, edi
jle 0x459681
cmp edi, 0x10
jb 0x459675
mov eax, edi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x45961a
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4f1160]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x10]
add eax, 0x20
nop dword [eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
pand xmm0, xmm2
movups xmmword [eax - 0x60], xmm0
movups xmm0, xmmword [eax - 0x50]
pand xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
pand xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
pand xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
cmp ecx, edx
jl 0x459630
mov edx, dword [esp + 0x10]
cmp ecx, edi
jge 0x459681
and dword [edx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, edi
jl 0x459675
xor ecx, ecx
test esi, esi
jle 0x45971b
cmp esi, 0x10
jb 0x4596f1
mov eax, esi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x45969e
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4f1160]
mov edx, esi
sub edx, eax
mov eax, dword [esp + 0x38]
add eax, 0x20
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
pand xmm0, xmm2
movups xmmword [eax - 0x60], xmm0
movups xmm0, xmmword [eax - 0x50]
pand xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
pand xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
pand xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
cmp ecx, edx
jl 0x4596b0
cmp ecx, esi
jge 0x459701
mov edx, dword [esp + 0x38]
and dword [edx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, esi
jl 0x4596f5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov ecx, esi
add eax, 3
nop
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x459710
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], 1
jge 0x459849
test edi, edi
jle 0x459af7
lea eax, [edx + 3]
mov ecx, edi
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x459737
mov eax, dword [esp + 0x38]
xor esi, esi
xor edi, edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x1c], edi
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp dword [esi + edx], eax
je 0x459772
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x45976a
cmp dword [ecx], 0
jne 0x459772
cmp eax, ebx
jne 0x45982a
mov ebx, dword [esp + 0x20]
mov eax, edi
cdq
idiv ebx
mov ecx, dword [esp + 0x68]
sub ecx, eax
cmp dword [esp + 0x60], ecx
jg 0x459822
mov eax, ebx
sub eax, edx
cmp dword [esp + 0x3c], eax
jg 0x459822
xor edx, edx
xor edi, edi
mov bl, 1
mov dword [esp + 0x58], edi
cmp dword [esp + 0x30], edx
jle 0x459a5c
mov ecx, dword [esp + 0x2c]
mov eax, esi
mov byte [esp + 0xe], bl
mov ebx, esi
mov esi, dword [esp + 0x38]
sub esi, ecx
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0x10]
mov esi, dword [esi + ecx]
cmp dword [eax + edi], esi
mov edi, dword [esp + 0x58]
je 0x4597e5
cmp dword [esp + 0x2c], 0
je 0x4597df
cmp dword [ecx], 0
jne 0x4597e5
cmp esi, dword [esp + 0x28]
jne 0x45981a
inc edx
cmp edx, dword [esp + 0x3c]
jge 0x4597f1
add eax, 4
jmp 0x459802
mov esi, dword [esp + 0x20]
xor edx, edx
lea eax, [esi*4]
add ebx, eax
mov eax, ebx
inc edi
add ecx, 4
mov dword [esp + 0x58], edi
cmp edi, dword [esp + 0x30]
jge 0x459a58
mov esi, dword [esp + 0x50]
jmp 0x4597c3
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc edi
add esi, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], esi
cmp edi, dword [esp + 0x48]
jge 0x4599fa
mov ebx, dword [esp + 0x28]
jmp 0x459758
xor edi, edi
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x48], edi
jle 0x459af7
xor ebx, ebx
mov dword [esp + 0x50], ebx
nop
mov eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x68]
sub ecx, eax
cmp dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
jg 0x4599e4
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x3c], eax
jg 0x4599e4
xor ecx, ecx
mov byte [esp + 0xe], 1
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ecx
test esi, esi
jle 0x459a58
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov byte [esp + 0xe], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x98], ecx
movzx ebx, word [eax]
mov cl, byte [eax + 2]
mov edx, ebx
mov eax, dword [esp + 0x24]
shr edx, 8
movzx esi, cl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x9c], edx
cmp eax, esi
jle 0x4598e8
mov byte [esp + 0xf], 0
jmp 0x4598f0
mov bl, cl
sub bl, al
mov byte [esp + 0xf], bl
mov al, dl
movzx edi, dl
sub al, byte [esp + 0x24]
xor ebx, ebx
cmp dword [esp + 0x24], edi
movzx eax, al
cmovle ebx, eax
xor edx, edx
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x74]
movzx eax, bl
mov dword [esp + 0x7c], eax
mov al, bl
mov ebx, dword [esp + 0x24]
sub al, bl
cmp ebx, dword [esp + 0x7c]
movzx eax, al
cmovle edx, eax
mov eax, 0xff
sub eax, esi
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x9c]
cmp ebx, eax
jle 0x459949
or bh, 0xff
jmp 0x45994d
mov bh, bl
add bh, cl
mov ecx, dword [esp + 0x24]
mov eax, 0xff
sub eax, edi
cmp ecx, eax
jle 0x459961
or bl, 0xff
jmp 0x459965
mov bl, cl
add bl, dl
mov eax, 0xff
sub eax, dword [esp + 0x7c]
cmp ecx, eax
jle 0x459977
or cl, 0xff
jmp 0x45997b
add cl, byte [esp + 0x74]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x58]
mov ch, byte [esi + eax + 2]
movzx edx, word [esi + eax]
mov eax, edx
shr eax, 8
cmp ch, byte [esp + 0xf]
jb 0x4599b4
cmp ch, bh
ja 0x4599b4
cmp al, byte [esp + 0x90]
jb 0x4599b4
cmp al, bl
ja 0x4599b4
cmp dl, byte [esp + 0x94]
jb 0x4599b4
cmp dl, cl
jbe 0x459a03
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x14]
je 0x4599cc
mov ecx, dword [esp + 0x98]
cmp dword [ecx + eax], 0
jne 0x459a07
mov ebx, dword [esp + 0x28]
cmp dword [eax], ebx
je 0x459a07
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc edi
add ebx, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x50], ebx
cmp edi, dword [esp + 0x48]
jl 0x459860
mov edi, dword [esp + 0x1c]
jmp 0x459af9
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
inc edi
mov dword [esp + 0x54], edi
cmp edi, dword [esp + 0x3c]
jge 0x459a1f
add esi, 4
mov dword [esp + 0x58], esi
jmp 0x459a3e
mov ebx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x78]
lea edx, [ebx*4]
add ecx, edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], ecx
mov edi, dword [esp + 0x64]
add eax, 4
inc edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x64], edi
cmp edi, dword [esp + 0x30]
jl 0x4598c0
mov bl, byte [esp + 0xe]
mov edi, dword [esp + 0x1c]
push dword [esp + 0x40]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x1b], 0
jne 0x459a7d
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x80]
test esi, esi
je 0x459aa2
mov eax, dword [esp + 0x84]
test eax, eax
je 0x459a9b
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x459ab1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x459ac5
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x459ad3
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4591c5
push eax
call esi
add esp, 4
test bl, bl
jne 0x459b26
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor edi, edi
mov ecx, dword [0x4f99cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4e413c
call fcn.004b3f70
xor bl, bl
jmp 0x459a60
mov edi, dword [esp + 0x8c]
mov bl, byte [esp + 0xe]
jmp 0x459a60
cmp dword [esp + 0x5c], 0
mov ebx, dword [esp + 0x20]
je 0x459ba5
mov eax, edi
cdq
idiv ebx
mov eax, dword [esp + 0x5c]
mov esi, edx
sub esi, dword [esp + 0x6c]
add esi, dword [ebp + 8]
cmp byte [eax + 0x17], 0
jne 0x459b54
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
mov cl, byte [eax + 0x15]
test cl, 2
je 0x459b71
and cl, 0x3d
mov byte [eax + 0x15], cl
mov ecx, dword [eax]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esp + 0x5c]
mov cl, byte [eax + 0x15]
mov eax, esi
and cl, 0x9b
mov esi, dword [esp + 0x5c]
or cl, 0x18
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov byte [esi + 0x15], cl
jge 0x459b95
mov ecx, esi
call fcn.00401460
and byte [esi + 0x15], 0x8f
jmp 0x459ba5
cmp dword [0x4f99f4], 0
je 0x459ba5
mov ecx, esi
call fcn.00401460
cmp dword [esp + 0x88], 0
je 0x459c1a
mov eax, edi
cdq
idiv ebx
mov ebx, dword [esp + 0x88]
mov esi, eax
sub esi, dword [esp + 0x70]
add esi, dword [ebp + 0xc]
cmp byte [ebx + 0x17], 0
jne 0x459bd1
mov ebx, dword [ebx + 0xc]
mov cl, byte [ebx + 0x15]
test cl, 2
je 0x459bea
and cl, 0x3d
mov byte [ebx + 0x15], cl
mov ecx, dword [ebx]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov cl, byte [ebx + 0x15]
mov eax, esi
and cl, 0x9b
cdq
or cl, 0x18
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov byte [ebx + 0x15], cl
jge 0x459c0a
mov ecx, ebx
call fcn.00401460
and byte [ebx + 0x15], 0x8f
jmp 0x459c1a
cmp dword [0x4f99f4], 0
je 0x459c1a
mov ecx, ebx
call fcn.00401460
mov ecx, dword [0x4f99cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4cdd08
call fcn.004b3f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x8c]
push 0x4cdc40
push 0
push 0x4e4674
call fcn.0044d370
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14