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

Disassembly:
sub esp, 0x148
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp byte [esp + 0x174], 0
mov dword [esp + 0x1c], esi
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
je 0x42fc3b
cmp byte [esi], 0
mov dword [esp + 0x20], ebx
je 0x42fbff
push 0x3a
push esi
call fcn.004bb121
mov edx, eax
add esp, 8
mov dword [esp + 0x28], edx
mov ecx, esi
jmp 0x42fb40
mov al, byte [ecx]
cmp al, 0x20
je 0x42fb4a
cmp al, 9
jne 0x42fb4d
inc ecx
jmp 0x42fb40
mov ebx, ecx
test edx, edx
je 0x42fbdf
mov ebp, edx
sub ebp, esi
cmp ebp, 0x20
jae 0x42fbdf
push ebp
lea eax, [esp + 0x84]
push esi
push eax
call fcn.004bd1c0
add esp, 0xc
push 0
push 1
push 0
push 0
lea eax, [esp + 0x90]
mov byte [esp + ebp + 0x90], 0
call fcn.004a2da0
add esp, 0x10
test eax, eax
je 0x42fbdf
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x1c], eax
mov cl, byte [eax]
cmp cl, 0x20
je 0x42fbae
cmp cl, 9
jne 0x42fbb1
inc eax
jmp 0x42fba2
cmp byte [eax], 0
mov ebx, eax
jne 0x42fbbc
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x80]
call fcn.0040dda0
mov edi, eax
dec edi
js 0x42fbd2
cmp edi, 0xa
jl 0x42fbdf
mov ecx, dword [esp + 0x160]
push ecx
jmp 0x430c6d
push 0x4d92ac
call fcn.0049be50
add esp, 4
push eax
push ebx
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x42fc0d
mov byte [esp + 0x10], 1
imul edi, edi, 0x4c
add edi, 0x4f1078
jmp 0x42fcc6
push 0x4dce70
call fcn.0049be50
add esp, 4
push eax
push ebx
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x42fbff
imul edi, edi, 0x4c
mov byte [esp + 0x11], 1
add edi, 0x4f1078
jmp 0x42fcc6
push 0x3a
push ebx
call fcn.004bb121
mov esi, eax
add esp, 8
test esi, esi
jne 0x42fc53
mov esi, ebx
lea ebx, [eax + 1]
jmp 0x42fc90
mov eax, ebx
call fcn.0040dd50
test al, al
je 0x42fc6d
push 0x10
push 0
push ebx
call fcn.004bbb06
add esp, 0xc
jmp 0x42fc76
push ebx
call fcn.004bb6b6
add esp, 4
lea edi, [eax - 1]
cmp edi, 9
ja 0x430c6c
mov ebx, 1
add esi, ebx
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x20
je 0x42fc87
cmp al, 9
je 0x42fc87
push 0x4d92ac
mov dword [esp + 0x24], esi
call fcn.0049be50
add esp, 4
push eax
push esi
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x42fd15
mov byte [esp + 0x10], bl
imul edi, edi, 0x4c
add edi, 0x4f0d80
mov ebp, edi
mov eax, dword [ebp + 0x20]
xor ebx, ebx
cmp eax, ebx
je 0x42fcdf
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42fcdf
mov dword [ebp + 0x20], ebx
cmp byte [esp + 0x11], bl
je 0x42fd64
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x42fd03
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42fd03
mov edx, dword [ebp + 0x20]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 0x1c
push 0x4dce70
call fcn.0049be50
add esp, 4
push eax
push esi
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x42fd36
mov byte [esp + 0x11], bl
jmp 0x42fcbd
push 0
push ebx
push 0
push ebx
mov eax, esi
call fcn.004a2da0
add esp, 0x10
test eax, eax
je 0x42fcbd
call fcn.0040dda0
mov dword [esp + 0x28], eax
mov byte [esp + 0x13], bl
mov byte [esp + 0x12], bl
jmp 0x42fcbd
cmp byte [esp + 0x10], bl
jne 0x42fe1d
cmp dword [ebp + 0x20], ebx
je 0x42fe1d
mov eax, dword [esp + 0x1c]
cmp byte [eax], bl
jne 0x42fe1d
cmp byte [esp + 0x12], bl
jne 0x42fd95
mov ecx, dword [esp + 0x20]
cmp byte [ecx], bl
jne 0x42fe1d
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [esp + 0x174], bl
jne 0x42fdc7
cmp byte [esp + 0x13], bl
je 0x42fdc7
mov ecx, dword [esp + 0x28]
cmp dword [ebp + 8], ecx
je 0x42fdc7
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 8], ecx
cmp eax, ebx
je 0x42fdc7
push ebx
push ecx
push 0x402
push eax
call esi
mov ecx, dword [esp + 0x168]
cmp byte [ecx], bl
je 0x42fde0
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x42fde0
push ecx
push ebx
push 0xc
push eax
call esi
mov eax, dword [esp + 0x164]
cmp byte [eax], bl
je 0x42fdf5
mov edx, dword [ebp + 0x34]
push eax
push ebx
push 0xc
push edx
call esi
mov eax, dword [esp + 0x16c]
cmp byte [eax], bl
je 0x42fe0b
push eax
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 0x1c
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x42fe2b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp + 0x38]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x42fe3b
push eax
call esi
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
je 0x42fe45
push eax
call esi
mov eax, dword [ebp + 0x40]
cmp eax, ebx
je 0x42fe4f
push eax
call esi
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x42fe66
push eax
cmp dword [ebp + 0x24], ebx
jne 0x42fe60
call esi
jmp 0x42fe66
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x4c
push ebx
push ebp
call fcn.004c16a0
add esp, 0xc
cmp byte [esp + 0x10], bl
jne 0x42fd03
mov ecx, dword [esp + 0x16c]
cmp byte [ecx], bl
jne 0x42fea6
mov eax, dword [0x4f22dc]
cmp eax, ebx
je 0x42fe9b
mov dword [esp + 0x16c], eax
cmp byte [eax], bl
jne 0x42fea6
mov dword [esp + 0x16c], 0x4d6959
mov esi, SysReAllocString
mov eax, 0xff000000
mov byte [esp + 0x10], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x11], 1
mov byte [esp + 0x1b], bl
mov dword [esp + 0x14], 0x88c00000
mov dword [esp + 0x58], 8
mov dword [esp + 0x5c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x6c], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
mov dword [ebp + 4], esi
cmp byte [esp + 0x174], bl
je 0x42ff11
mov dword [ebp], esi
mov dword [ebp + 0x1c], esi
jmp 0x42ff2f
mov edx, dword [0x4f1c84]
push 0x60
push edx
push 0x12c
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp], eax
mov dword [ebp + 0x1c], 0x14
mov eax, dword [esp + 0x168]
mov dword [ebp + 0x18], esi
cmp byte [eax], bl
jne 0x42ff59
mov ecx, dword [esp + 0x164]
cmp byte [ecx], bl
jne 0x42ff59
cmp byte [esp + 0x174], bl
je 0x42ff59
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], ebx
jmp 0x42ff67
mov dword [ebp + 0xc], 0xa
mov dword [ebp + 0x10], 5
mov ebx, dword [esp + 0x20]
cmp byte [ebx], 0
je 0x43036e
xor edi, edi
jmp 0x42ff80
movzx esi, byte [ebx]
test esi, 0xffffff80
jne 0x42ff9d
push 2
push esi
call fcn.004bb66e
add esp, 8
cmp eax, edi
je 0x42ff9d
and esi, 0xffffffdf
mov eax, esi
movsx eax, al
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x42ffb5.68
movzx edx, byte [eax + 0x430cd0]
jmp dword [edx*4 + 0x430c98]
and dword [esp + 0x58], 0xfffffff7
jmp case.0x42ffb5.68
mov al, byte [ebx + 1]
and dword [esp + 0x14], 0xff3fffff
cmp al, 0x31
jne 0x42ffe2
or dword [esp + 0x14], 0x800000
jmp case.0x42ffb5.68
cmp al, 0x32
jne case.0x42ffb5.68
or dword [esp + 0x14], 0x400000
jmp case.0x42ffb5.68
cmp byte [ebx + 1], 0
je case.0x42ffb5.68
mov al, byte [ebx + 1]
inc ebx
call fcn.004099b0
cmp al, 0x42
je 0x43002c
cmp al, 0x54
je 0x43002c
cmp al, 0x57
je 0x43002c
cmp byte [ebx], 0x30
setne byte [esp + 0x11]
cmp byte [ebx + 1], 0x30
setne byte [esp + 0x12]
jmp case.0x42ffb5.70
push 0x1f
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.004bd1c0
add esp, 0xc
mov edi, 0x4d9558
lea eax, [esp + 0x80]
mov byte [esp + 0x9f], 0
call fcn.004099e0
test eax, eax
je 0x430062
mov byte [eax], 0
lea esi, [esp + 0x80]
call fcn.004a3fb0
mov esi, eax
cmp esi, 0xffffffff
jne 0x4300b2
lea eax, [esp + 0x80]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430080
sub eax, edx
cmp eax, 6
jbe 0x430095
mov byte [esp + 0x86], cl
push 0x10
lea edx, [esp + 0x84]
push 0
push edx
call fcn.004bbb06
add esp, 0xc
mov ecx, eax
call fcn.0042ecd0
mov esi, eax
mov al, byte [ebx]
call fcn.004099b0
cmp al, 0x42
je 0x4300d9
cmp al, 0x54
je 0x4300d4
cmp al, 0x57
jne 0x4300dd
push esi
mov dword [ebp + 0x44], esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp + 0x40], eax
jmp 0x4300dd
mov dword [ebp + 0x48], esi
jmp 0x4300dd
mov dword [esp + 0x6c], esi
lea eax, [esp + 0x80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4300e7
sub eax, edx
add ebx, eax
xor edi, edi
cmp byte [ebx + 1], 0
je case.0x42ffb5.68
mov al, byte [ebx + 1]
inc ebx
call fcn.004099b0
cmp al, 0x4d
je 0x430134
cmp al, 0x53
jne case.0x42ffb5.68
lea eax, [ebx + 1]
push eax
call fcn.004bb6b6
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
jge case.0x42ffb5.68
mov dword [esp + 0x24], edi
jmp case.0x42ffb5.68
lea ecx, [ebx + 1]
push ecx
call fcn.004bb6b6
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
jge case.0x42ffb5.68
mov dword [esp + 0x2c], edi
jmp case.0x42ffb5.68
mov al, byte [ebx + 1]
and dword [esp + 0x14], 0xf7ffffff
cmp al, 0x31
jne 0x43016c
or dword [esp + 0x14], 0x40000
cmp al, 0x32
jne case.0x42ffb5.68
or dword [esp + 0x14], 0xf0000
jmp case.0x42ffb5.68
lea edx, [ebx + 1]
push edx
call fcn.004bb6b6
mov dword [esp + 0x2c], eax
mov byte [esp + 0x17], 1
jmp 0x430361
cmp byte [ebx + 1], 0
je case.0x42ffb5.68
inc ebx
mov esi, ebx
call fcn.0040dda0
mov dword [esp + 0x64], eax
lea eax, [ebx + 1]
push 0x2d
push eax
call fcn.004bb121
add esp, 8
cmp eax, edi
je case.0x42ffb5.68
cmp byte [eax + 1], 0
mov ebx, eax
je case.0x42ffb5.68
lea ebx, [eax + 1]
mov esi, ebx
call fcn.0040dda0
mov dword [esp + 0x40], eax
jmp case.0x42ffb5.68
mov byte [esp + 0x10], 0
jmp case.0x42ffb5.68
cmp byte [ebx + 1], 0
je case.0x42ffb5.68
mov al, byte [ebx + 1]
inc ebx
call fcn.004099b0
cmp al, 0x4d
je 0x43025b
cmp al, 0x53
je 0x43023a
push ebx
call fcn.004bb6b6
add esp, 4
cmp byte [esp + 0x174], 0
mov dword [ebp], eax
jne case.0x42ffb5.68
mov ecx, dword [0x4f1c84]
push 0x60
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp], eax
jmp case.0x42ffb5.68
lea edx, [ebx + 1]
push edx
call fcn.004bb6b6
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, edi
jge case.0x42ffb5.68
mov dword [esp + 0x44], edi
jmp case.0x42ffb5.68
lea eax, [ebx + 1]
push eax
call fcn.004bb6b6
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, edi
jge case.0x42ffb5.68
mov dword [esp + 0x50], edi
jmp case.0x42ffb5.68
push 0x4dce80
call fcn.0049be50
add esp, 4
push 4
push eax
push ebx
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4302a6
mov byte [esp + 0x1b], 1
add ebx, 3
jmp case.0x42ffb5.68
lea ecx, [ebx + 1]
push ecx
call fcn.004bb6b6
add esp, 4
cmp byte [esp + 0x174], 0
mov dword [ebp + 4], eax
jne case.0x42ffb5.68
mov edx, dword [0x4f1c84]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp + 4], eax
jmp case.0x42ffb5.68
lea eax, [ebx + 1]
push eax
call fcn.004bb6b6
mov dword [esp + 0x60], eax
jmp 0x430361
lea ecx, [ebx + 1]
push ecx
call fcn.004bb6b6
mov dword [esp + 0x4c], eax
jmp 0x430361
cmp byte [ebx + 1], 0
je case.0x42ffb5.68
mov al, byte [ebx + 1]
inc ebx
call fcn.004099b0
movsx eax, al
add eax, 0xffffffbe
cmp eax, 0x17
ja case.0x42ffb5.68
movzx edx, byte [eax + 0x430d00]
jmp dword [edx*4 + 0x430cec]
lea eax, [ebx + 1]
push eax
call fcn.004bb6b6
mov dword [ebp + 0x1c], eax
jmp 0x430361
cmp byte [esp + 0x174], 0
je case.0x42ffb5.68
lea ecx, [ebx + 1]
push ecx
call fcn.004bb6b6
mov dword [ebp + 0x18], eax
jmp 0x430361
lea edx, [ebx + 1]
push edx
call fcn.004bb6b6
mov dword [ebp + 0xc], eax
jmp 0x430361
lea eax, [ebx + 1]
push eax
call fcn.004bb6b6
mov dword [ebp + 0x10], eax
add esp, 4
inc ebx
cmp byte [ebx], 0
jne 0x42ff80
xor esi, esi
push esi
push esi
push esi
push 0x4dce90
call fcn.0049be50
add esp, 4
push eax
call dword [sym.imp.GDI32.dll_CreateDCA]
mov edi, eax
push 0x5a
push edi
mov dword [esp + 0x5c], edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x11
mov dword [esp + 0x50], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0xd8]
push ecx
push 0x40
push edi
mov dword [esp + 0xbc], eax
call dword [sym.imp.GDI32.dll_GetTextFaceA]
lea edx, [esp + 0x120]
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esp + 0x120]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x1c]
cmp eax, 1
jge 0x4303ff
cmp eax, 0x80000000
je 0x4303ff
mov ecx, dword [ebp + 0x18]
cmp ecx, 1
jge 0x4303ff
cmp ecx, 0x80000000
jne 0x430408
cmp eax, esi
je 0x430408
cmp dword [ebp + 0x18], esi
jne 0x43040e
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x1c], esi
cmp byte [esp + 0x174], 0
je 0x4305b4
mov ebx, dword [esp + 0x1c]
cmp byte [ebx], 0
je 0x4305b4
cmp dword [ebp + 0x1c], esi
je 0x4305b4
mov byte [esp + 0x1c], 0
lea esi, [ebp + 0x24]
lea ebx, [ebx]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, ecx
sub eax, 0x80000000
neg eax
sbb eax, eax
and eax, ecx
mov ecx, edx
sub ecx, 0x80000000
neg ecx
push 0
sbb ecx, ecx
and ecx, edx
mov edx, dword [esp + 0x20]
push edx
push 0
push esi
push eax
push ecx
push ebx
call fcn.004a43b0
add esp, 0x1c
mov dword [ebp + 0x28], eax
test eax, eax
jne 0x43048e
cmp byte [esp + 0x1c], al
jne 0x4305b4
mov byte [esp + 0x1c], 1
jmp 0x430440
cmp dword [ebp + 0x1c], 0
jl 0x43049e
cmp dword [ebp + 0x18], 0
jge 0x4305b4
cmp dword [esi], 0
je 0x4304c1
lea ecx, [esp + 0xc4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4305b4
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x4305b4
lea edx, [esp + 0x80]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x430595
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x60], eax
cmp eax, 0xffffffff
jne 0x430525
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jle 0x430525
cmp dword [esp + 0x84], 0
je 0x430580
fild dword [esp + 0x88]
fidiv dword [esp + 0x84]
fimul dword [esp + 0x1c]
fadd qword [0x4e58b0]
call fcn.004c9200
mov dword [ebp + 0x1c], eax
jmp 0x430580
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xffffffff
jne 0x43055d
test eax, eax
jle 0x43055d
cmp dword [esp + 0x88], 0
je 0x430580
fild dword [esp + 0x84]
fidiv dword [esp + 0x88]
fimul dword [esp + 0x60]
fadd qword [0x4e58b0]
call fcn.004c9200
mov dword [ebp + 0x18], eax
jmp 0x430580
cmp eax, 0x80000000
jne 0x43056e
mov eax, dword [esp + 0x88]
mov dword [ebp + 0x1c], eax
cmp ecx, 0x80000000
jne 0x430580
mov ecx, dword [esp + 0x84]
mov dword [ebp + 0x18], ecx
cmp dword [ebp], 0x80000000
jne 0x430595
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
lea ecx, [eax + edx*2]
mov dword [ebp], ecx
cmp dword [esi], 1
jne 0x4305b4
mov edx, dword [esp + 0xd4]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0xd0]
push eax
call esi
cmp dword [ebp], 0x80000000
jne 0x4305d4
mov ecx, dword [0x4f1c84]
push 0x60
push ecx
push 0x12c
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp], eax
cmp dword [ebp + 0x1c], 0x80000000
jne 0x4305e4
mov dword [ebp + 0x1c], 0
mov eax, dword [ebp + 4]
cmp eax, 0x80000000
jne 0x4305f3
mov eax, 0x1f4
mov edx, dword [ebp]
push eax
push edx
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x168]
cmp byte [ecx], 0
mov ebx, dword [sym.imp.GDI32.dll_CreateFontA]
je 0x43074d
mov edx, dword [esp + 0x170]
cmp byte [edx], 0
mov edi, edx
jne 0x430632
lea edi, [esp + 0xd8]
mov esi, dword [esp + 0x50]
test esi, esi
jne 0x43063f
mov esi, 0x258
cmp dword [esp + 0x2c], 0
je 0x43065c
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
push 0x48
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
jmp 0x43066b
fild dword [esp + 0x68]
fmul qword [0x4e5900]
call fcn.004c9200
push edi
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push esi
push 0
push 0
push 0
push eax
call ebx
mov dword [ebp + 0x38], eax
test eax, eax
jne 0x4306e8
mov esi, dword [esp + 0x50]
test esi, esi
jne 0x43069a
mov esi, 0x258
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4306b4
mov edx, dword [esp + 0x4c]
push 0x48
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
jmp 0x4306c3
fild dword [esp + 0x68]
fmul qword [0x4e5900]
call fcn.004c9200
lea ecx, [esp + 0xd8]
push ecx
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push esi
push 0
push 0
push 0
push eax
call ebx
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x38]
test eax, eax
jne 0x4306f3
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x54]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x38]
add ecx, eax
push 0x450
mov dword [esp + 0x74], ecx
sub edx, eax
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x170]
push 0xffffffffffffffff
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov dword [ebp + 0x14], eax
mov edi, esi
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x170]
mov esi, dword [esp + 0x44]
jne 0x43076b
test esi, esi
jne 0x43076b
test eax, eax
je 0x4307f0
cmp byte [eax], 0
jne 0x430777
lea eax, [esp + 0xd8]
push eax
push 0
push 2
mov eax, dword [esp + 0x58]
push 0
mov ecx, dword [esp + 0x34]
push 4
push 1
push 0
push 0
push 0
push esi
push 0
push 0
push 0
push 0x48
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call ebx
mov dword [ebp + 0x3c], eax
test eax, eax
jne 0x4307f0
cmp dword [esp + 0x24], eax
jne 0x4307b7
test esi, esi
je 0x4307f0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xd8]
push edx
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push esi
push 0
push 0
push 0
push 0x48
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call ebx
mov dword [ebp + 0x3c], eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4307fe
mov eax, dword [ebp + 0x10]
add eax, ecx
jmp 0x430800
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
lea esi, [eax + ecx]
mov eax, edx
neg eax
sbb eax, eax
and eax, ecx
mov dword [esp + 0x60], esi
add esi, eax
add esi, edx
cmp dword [ebp + 4], 0x80000000
mov dword [esp + 0x54], esi
jne 0x430897
mov ebx, dword [esp + 0x164]
cmp byte [ebx], 0
je 0x430889
mov eax, dword [ebp + 0x3c]
test eax, eax
jne 0x43083d
mov eax, dword [esp + 0x20]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0xc]
add ecx, eax
push 0x410
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
sub edx, eax
push edi
mov dword [esp + 0x8c], edx
call dword [sym.imp.USER32.dll_DrawTextA]
jmp 0x43088b
xor eax, eax
add eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp + 4], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb0]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
jne 0x4308c0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 0x1c
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x58]
push edx
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [esp + 0xb4], ecx
push eax
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
sub esi, dword [esp + 0xa0]
sub edi, dword [esp + 0xa4]
push 0
lea edx, [esp + 0xb8]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xc0]
sub ecx, dword [esp + 0xb8]
sub eax, ebx
cmp esi, eax
jle 0x43095a
mov esi, eax
cmp edi, ecx
jle 0x430960
mov edi, ecx
cmp dword [esp + 0x5c], 0x80000000
jne 0x430977
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, ebx
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x48], 0x80000000
jne 0x430995
mov eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0xb8]
mov dword [esp + 0x48], eax
mov ebx, dword [0x4ec48c]
add ebx, 0x4c
call fcn.00459850
test eax, eax
je 0x4309b4
mov eax, dword [0x4ec48c]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ecx + 4]
jmp 0x4309b6
xor eax, eax
cmp byte [esp + 0x10], 0
je 0x4309c8
test eax, eax
jne 0x4309ca
mov eax, dword [0x4f0bd8]
jmp 0x4309ca
xor eax, eax
mov edx, dword [0x4f0bcc]
mov ecx, dword [esp + 0x5c]
push 0
push edx
mov edx, dword [esp + 0x174]
push 0
push eax
mov eax, dword [esp + 0x58]
push edi
push esi
mov esi, dword [esp + 0x2c]
push eax
mov eax, dword [0x4f3d14]
push ecx
mov ecx, dword [esp + 0x78]
push esi
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp + 0x20], eax
test eax, eax
je 0x4308b1
and esi, 0x80000
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x430a20
cmp byte [esp + 0x10], 0
jne 0x430a62
mov edi, dword [0x4f232c]
test edi, edi
je 0x430a32
mov ecx, dword [0x4f2330]
jmp 0x430a3e
mov edi, dword [0x4ef958]
mov ecx, dword [0x4ef95c]
test esi, esi
je 0x430a4d
push ecx
push 0
push 0x80
push eax
call ebx
cmp byte [esp + 0x10], 0
jne 0x430a62
mov edx, dword [ebp + 0x20]
push edi
push 1
push 0x80
push edx
call ebx
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x3c]
mov dword [ebp], ecx
lea esi, [edx + edx]
sub ecx, esi
mov edi, ecx
mov ecx, dword [esp + 0x168]
mov dword [ebp + 4], eax
cmp byte [ecx], 0
je 0x430aee
mov eax, dword [0x4f0bcc]
push 0
push eax
mov eax, dword [ebp + 0x20]
push 0
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push edi
push eax
push edx
xor edx, edx
cmp byte [esp + 0x32], dl
setne dl
or edx, 0x50000080
push edx
push ecx
push str._03_6
call fcn.0049be50
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x30], eax
test ecx, ecx
jne 0x430ae2
mov ecx, dword [esp + 0x20]
push 1
push ecx
push 0x30
push eax
call ebx
mov eax, dword [esp + 0x3c]
cmp byte [esp + 0x174], 0
jne 0x430bfb
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
jle 0x430bfb
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
push 0
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x74]
push edi
push ecx
push edx
push 0x50000001
push 0
push str.msctls_progress32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp + 0x2c], eax
test eax, eax
je 0x430bf7
mov edx, dword [esp + 0x64]
test edx, edx
jne 0x430b50
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x430b8c
jmp 0x430b61
cmp edx, 0xffffffff
jle 0x430b7e
cmp edx, 0x10000
jge 0x430b7e
mov ecx, dword [esp + 0x40]
cmp ecx, 0xffff
ja 0x430b82
movzx ecx, cx
movzx edx, dx
shl ecx, 0x10
or ecx, edx
push ecx
push 0
push 0x401
jmp 0x430b89
mov ecx, dword [esp + 0x40]
push ecx
push edx
push 0x406
push eax
call ebx
mov esi, dword [esp + 0x6c]
cmp esi, 0xff000000
je 0x430bb2
mov eax, dword [ebp + 0x2c]
push eax
call fcn.004a50a0
mov ecx, dword [ebp + 0x2c]
add esp, 4
push esi
push 0
push 0x409
push ecx
call ebx
mov eax, dword [ebp + 0x44]
cmp eax, 0xff000000
je 0x430bca
mov edx, dword [ebp + 0x2c]
push eax
push 0
push 0x2001
push edx
call ebx
cmp byte [esp + 0x13], 0
push 0
je 0x430be5
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x2c]
push esi
push 0x402
push eax
call ebx
jmp 0x430bf4
mov ecx, dword [ebp + 0x2c]
push 0
push 0x408
push ecx
call ebx
mov esi, eax
mov dword [ebp + 8], esi
mov eax, dword [esp + 0x3c]
mov edx, dword [0x4f0bcc]
sub eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x20]
push 0
push edx
mov edx, dword [ebp + 0xc]
push 0
push ecx
mov ecx, dword [esp + 0x64]
sub eax, ecx
push eax
xor eax, eax
cmp byte [esp + 0x25], al
push edi
setne al
push ecx
mov ecx, dword [esp + 0x180]
push edx
or eax, 0x50000080
push eax
push ecx
push str._03_6
call fcn.0049be50
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp + 0x34], eax
test eax, eax
je 0x430c62
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
jne 0x430c5a
mov ecx, dword [esp + 0x20]
push 1
push ecx
push 0x30
push eax
call ebx
cmp byte [esp + 0x1b], 0
jmp 0x42fcf5
push ebx
push 0
push 0x4dce4c
call fcn.0049be50
mov ecx, dword [esp + 0x168]
add esp, 4
push eax
call fcn.0042d2f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 0x1c