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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x4b2ca0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov edx, dword [0x4b60e4]
push esi
push edi
mov ecx, dword [edx + 0x1ec]
cmp ecx, dword [edx + 0x1f0]
je 0x42cadf
call fcn.0042acd0
mov ecx, dword [0x4b60e4]
mov dword [ecx + 0x1d8], eax
test eax, eax
jne 0x42cac7
or esi, 0xffffffff
jmp 0x42d6b4
mov ecx, dword [0x4b60e4]
mov eax, dword [ecx + 0x1ec]
mov dword [ecx + 0x1f0], eax
mov edx, dword [0x4b60e4]
cmp dword [edx + 0x1a8], 0
je 0x42cb0a
mov eax, dword [0x4b60e8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x42cbbb
push eax
push dword [0x4b60c4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x42cbb5
mov ecx, dword [0x4b60e8]
test byte [ecx + 0xc], 1
je 0x42cba1
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x42cba1
cmp word [ecx], 0
je 0x42cba1
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cb30
mov edx, dword [edx + 0x80]
sub ecx, esi
sar ecx, 1
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42cb50
sub edx, esi
lea eax, [ecx + 0xa]
sar edx, 1
add eax, edx
push 2
push eax
call fcn.0047aab9
mov ecx, dword [0x4b60e8]
mov esi, eax
push dword [ecx + 0x10]
mov ecx, dword [0x4b60e4]
push dword [ecx + 0x80]
push str._s____s
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, esi
call fcn.0042b0e0
push esi
call fcn.0047aacf
add esp, 0x1c
jmp 0x42cbb5
mov ecx, dword [edx + 0x80]
test ecx, ecx
jne 0x42cbb0
mov ecx, str.Untitled
call fcn.0042b0e0
mov edx, dword [0x4b60e4]
mov eax, dword [edx + 0xd8]
mov ecx, dword [edx + 0x1f0]
mov dword [esp + 0x20], ecx
test eax, eax
je 0x42cc0d
xor esi, esi
test eax, eax
jle 0x42cc0d
xor edi, edi
nop word [eax + eax]
mov eax, dword [edx + 0xdc]
mov eax, dword [eax + edi + 0x3c]
test eax, eax
je 0x42cc01
push ecx
push edx
push 0x4b60b0
call eax
mov edx, dword [0x4b60e4]
mov ecx, dword [esp + 0x20]
inc esi
add edi, 0x4c
cmp esi, dword [edx + 0xd8]
jl 0x42cbe0
mov eax, dword [0x4b60e8]
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0
mov dword [eax + 0x20], 0
mov eax, dword [0x4b60e8]
mov dword [eax + 0x1c], 0
mov eax, dword [0x4b60e8]
mov dword [eax + 0x28], 0
mov eax, dword [0x4b60e8]
mov dword [eax + 0x24], 0
mov eax, dword [0x4b60e8]
mov dword [eax + 0x78], 0
mov eax, dword [0x4b60e8]
mov dword [eax + 0x74], 0
mov ecx, dword [0x4b60e4]
cmp dword [ecx + 0x1a8], edx
mov edx, dword [0x4b60e8]
je 0x42cc91
test dword [ecx + 0x1b0], 0x200000
je 0x42cc91
mov esi, dword [ecx + 0x1bc]
mov edi, dword [ecx + 0x1c0]
jmp 0x42ccbe
test dword [edx + 0xc], 0x100
je 0x42cca8
mov esi, dword [0x4b627c]
mov edi, dword [0x4b6278]
jmp 0x42ccbe
movsx esi, word [ecx + 0x1c]
cmp esi, dword [edx]
movsx edi, word [ecx + 0x1e]
cmovge esi, dword [edx]
mov eax, dword [edx + 4]
cmp edi, eax
jl 0x42ccbe
mov edi, eax
mov dword [edx + 0x958], esi
mov eax, dword [0x4b60e8]
mov dword [eax + 0x95c], edi
mov ecx, dword [0x4b60e8]
test dword [ecx + 0xc], 0x800
jne 0x42ce7e
push 0
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_34]
mov ecx, dword [0x4b60e4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x3cc]
mov dword [esp + 0x18], eax
call dword [sym.imp.MMFS2.dll_Ordinal_173]
mov ecx, dword [0x4b60e8]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4b60e4]
push dword [ecx + 0x1cc]
mov ecx, dword [0x4b60e8]
push edi
push esi
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_372]
mov ecx, dword [0x4b60e8]
push dword [0x4b60e4]
push 0x42e3d0
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_982]
test byte [0x4b60cc], 0x40
je 0x42cda7
mov eax, dword [0x4b60e4]
test eax, eax
je 0x42cd75
mov ecx, dword [eax + 0x3bc]
test ecx, ecx
je 0x42cd75
test dword [ecx], 0x40000000
je 0x42cd75
mov ecx, 1
jmp 0x42cd77
xor ecx, ecx
test eax, eax
je 0x42cd94
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x42cd94
test dword [eax], 0x40000000
je 0x42cd94
mov eax, 1
jmp 0x42cd96
xor eax, eax
push ecx
mov ecx, dword [0x4b60e8]
push eax
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_1106]
mov eax, dword [0x4b60e4]
cmp byte [eax + 0x3f8], 0
je 0x42cdd1
push ecx
mov ecx, dword [0x4b60e8]
mov dword [esp], 0x3f800000
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_1017]
mov eax, dword [0x4b60e4]
cmp dword [0x4b61b4], 0
je 0x42ce02
cmp dword [eax + 0x1a8], 0
jne 0x42ce02
movzx eax, byte [eax + 0x7d]
mov ecx, dword [0x4b60e8]
shl eax, 4
or eax, 5
push eax
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_876]
mov eax, dword [0x4b60e4]
mov eax, dword [eax + 0x23c]
test eax, eax
je 0x42ce1c
mov ecx, dword [0x4b60e8]
push eax
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_361]
mov eax, dword [0x4b60e8]
push dword [eax + 0x18]
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_32]
mov ecx, dword [0x4b60e8]
test byte [ecx + 0xc], 4
je 0x42ce63
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42ce63
mov edx, dword [esp + 0x18]
push dword [ecx + 0x18]
test edx, edx
je 0x42ce59
mov ecx, edx
call dword [sym.imp.MMFS2.dll_Ordinal_342]
jmp 0x42ce78
mov ecx, eax
call dword [sym.imp.MMFS2.dll_Ordinal_342]
jmp 0x42ce78
test byte [0x4b60cc], 0x10
jne 0x42ce7e
push dword [ecx + 8]
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_445]
mov ecx, dword [0x4b60e8]
movsx eax, word [ecx + 0x8f0]
mov edi, dword [ecx + 0x44]
mov edx, dword [ecx + 0x50]
lea esi, [eax*2 + 0x10]
test edi, edi
jle 0x42ced8
add edx, 2
nop dword [eax]
cmp word [edx + 0xe], 0
jbe 0x42ced0
mov eax, dword [0x4b60e4]
movzx ecx, word [edx]
mov eax, dword [eax + 0x198]
movzx eax, word [eax + ecx*2]
imul ecx, eax, 0x2c
mov eax, dword [0x4b60e4]
mov eax, dword [eax + 0x400]
cmp word [ecx + eax + 2], 2
jae 0x42ced0
inc esi
add edx, 0x24
sub edi, 1
jne 0x42cea0
push esi
push 0
push 1
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_31]
mov eax, dword [0x4b60e8]
mov esi, dword [eax + 0x970]
mov dword [esp + 0x14], esi
test esi, esi
je 0x42d020
mov edx, dword [eax + 0x30]
xor edi, edi
mov dword [esp + 0xc], edi
cmp dword [eax + 0x2c], edi
jle 0x42d020
add edx, 0x44
mov dword [esp + 0x20], edx
nop dword [eax]
mov ecx, dword [esi]
mov dword [edx - 4], ecx
mov eax, dword [esi + 4]
mov dword [edx], eax
cmp cx, 0xd
jne 0x42cfff
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
mov ecx, dword [0x4b60e4]
mov dword [esp + 8], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
call fcn.00439980
mov edi, eax
test edi, edi
je 0x42cff5
mov edx, dword [edi]
mov ecx, edi
push dword [esp + 8]
call dword [edx + 0x38]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42cff5
mov eax, dword [0x4b60e8]
mov eax, dword [eax + 0x970]
add eax, dword [esi + 0x10]
xor esi, esi
mov dword [esp + 8], eax
test ecx, ecx
je 0x42cff1
nop dword [eax]
mov eax, dword [edi]
mov ecx, edi
push esi
mov eax, dword [eax + 0x18]
call eax
mov edx, dword [edi]
sub eax, 1
je 0x42cfd1
mov ecx, edi
sub eax, 2
je 0x42cfb4
mov eax, dword [esp + 8]
push dword [eax]
push esi
call dword [edx + 0x40]
jmp 0x42cfe5
push dword [0x4b60b4]
push 0xfffffffffffffffe
call dword [edx + 0x40]
mov eax, dword [esp + 8]
mov ecx, edi
mov edx, dword [edi]
movzx eax, word [eax]
push eax
push esi
call dword [edx + 0x48]
jmp 0x42cfe5
mov eax, dword [esp + 8]
push ecx
mov ecx, edi
movss xmm0, dword [eax]
movss dword [esp], xmm0
push esi
call dword [edx + 0x44]
add dword [esp + 8], 4
inc esi
cmp esi, dword [esp + 0x1c]
jb 0x42cf90
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [edx], edi
mov edi, dword [esp + 0xc]
mov eax, dword [0x4b60e8]
inc edi
add edx, 0x60
mov dword [esp + 0xc], edi
add esi, 0x14
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], esi
cmp edi, dword [eax + 0x2c]
jl 0x42cf20
push dword [eax + 0x2c]
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_959]
mov eax, dword [0x4b60e8]
xor edi, edi
mov esi, dword [eax + 0x30]
cmp dword [eax + 0x2c], edi
jle 0x42d06b
add esi, 0x44
mov eax, dword [esi - 0x18]
shr eax, 7
and eax, 1
push eax
push dword [esi]
push dword [esi - 4]
push edi
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_945]
mov eax, dword [0x4b60e8]
lea esi, [esi + 0x60]
inc edi
cmp edi, dword [eax + 0x2c]
jl 0x42d041
mov eax, dword [0x4b60e4]
cmp dword [eax + 0x1fc], 0
jne 0x42d0a5
mov esi, dword [sym.imp.USER32.dll_GetInputState]
call esi
test eax, eax
je 0x42d0a5
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
nop dword [eax + eax]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
call edi
call esi
test eax, eax
jne 0x42d090
push 0
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_63]
push dword [0x4b60c0]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
test eax, eax
jne 0x42d0f6
mov eax, dword [0x4b60e4]
cmp dword [eax + 0x1a8], 0
jne 0x42d0f6
call fcn.00447850
call fcn.004476f0
mov eax, dword [0x4b60e4]
movzx eax, word [eax + 0x14]
test eax, 0x100
je 0x42d0f6
test al, al
js 0x42d0f6
call fcn.00458d80
push dword [0x4b60c4]
call esi
test eax, eax
jne 0x42d107
call fcn.004472e0
mov esi, dword [0x4b60e8]
test esi, esi
je 0x42d132
mov eax, dword [esi + 0x980]
test eax, eax
je 0x42d132
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_174]
mov dword [esi + 0x980], 0
mov esi, dword [0x4b60e8]
cmp dword [0x4b60f8], 0
jne 0x42d14d
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_832]
mov esi, dword [0x4b60e8]
cmp word [0x4b60ce], 3
jne 0x42d1a8
mov ecx, dword [0x4b60e4]
cmp dword [ecx + 0x1a8], 0
jne 0x42d16b
mov eax, dword [esi + 0x14]
jmp 0x42d18e
mov eax, dword [ecx + 0x1a8]
test eax, eax
je 0x42d181
mov ecx, eax
mov eax, dword [ecx + 0x1a8]
test eax, eax
jne 0x42d175
mov eax, dword [ecx + 0x1d8]
test eax, eax
je 0x42d1a8
mov eax, dword [eax + 0x14]
test eax, eax
je 0x42d1a8
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x42d1a8
push 0
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_742]
mov esi, dword [0x4b60e8]
mov ecx, esi
call fcn.0042daa0
mov eax, dword [0x4b60e8]
mov esi, 0x400
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test byte [eax + 0xc], 2
je 0x42d20d
push dword [0x4b60c0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42d1fe
mov eax, dword [0x4b60e4]
cmp dword [eax + 0x1a8], 0
jne 0x42d1fe
mov ecx, 0x200
test word [eax + 0x14], cx
je 0x42d1fe
test word [eax + 0x16], si
jne 0x42d1fe
push 3
push dword [0x4b60c0]
call edi
call fcn.004472e0
call fcn.00447bb0
mov eax, dword [0x4b60e8]
mov dword [eax + 0x90c], 0
mov esi, dword [0x4b60e8]
mov edx, dword [esi + 0x80]
mov dword [esp + 0xc], edx
cmp word [edx], 0
je 0x42d2c4
movzx ecx, byte [edx + 3]
lea edi, [edx + 0x10]
movzx eax, byte [edx + 2]
add ecx, eax
mov dword [esp + 0x20], ecx
je 0x42d2ab
movsx edx, byte [edi + 0xc]
mov eax, dword [edi + 2]
test edx, edx
jle 0x42d299
sar eax, 0x1f
lea ecx, [edi + 0xe]
and eax, 2
add ecx, eax
nop word [eax + eax]
cmp word [ecx + 2], 0x2b
jne 0x42d28b
movsx eax, word [ecx + 4]
sub eax, 1
je 0x42d27e
sub eax, 1
jne 0x42d28b
or dword [esi + 0x90c], 2
jmp 0x42d285
or dword [esi + 0x90c], 1
mov esi, dword [0x4b60e8]
movsx eax, word [ecx]
dec edx
add ecx, eax
test edx, edx
jg 0x42d260
mov ecx, dword [esp + 0x20]
movsx eax, word [edi]
dec ecx
add edi, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
jg 0x42d244
mov edx, dword [esp + 0xc]
movsx eax, word [edx]
sub edx, eax
mov dword [esp + 0xc], edx
cmp word [edx], 0
jne 0x42d231
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0043ad30
mov dword [esi + 0x960], eax
mov ecx, dword [0x4b60e8]
test byte [ecx + 0xc], 0x20
push dword [ecx + 0x960]
je 0x42d300
mov eax, dword [ecx + 4]
add eax, 0x10
push eax
mov eax, dword [ecx]
add eax, 0x40
push eax
push 0xfffffffffffffff0
push 0xffffffffffffffc0
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_102]
jmp 0x42d310
push 0x10
push 0x40
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_101]
lea ecx, [esp + 0x20]
call fcn.00402810
mov ecx, dword [esp + 0x20]
sub ecx, dword [0x4b64c8]
mov eax, dword [esp + 0x24]
sbb eax, dword [0x4b64cc]
push 0
push 0xf4240
push eax
push ecx
call fcn.00493400
mov ecx, dword [0x4b60e4]
mov dword [ecx + 0x1e0], eax
xor ecx, ecx
mov eax, dword [0x4b60e8]
cmp dword [eax + 0x60], ecx
setne cl
call fcn.0044d1f0
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x42d3cc
push 1
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_63]
mov ecx, dword [0x4b60e4]
mov ecx, dword [ecx + 0x1d8]
call fcn.00429cf0
mov eax, dword [0x4b60e4]
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_174]
mov dword [eax + 0x1d8], 0
mov eax, dword [0x4b60e4]
mov eax, dword [eax + 0x3cc]
test eax, eax
je 0x42d3b8
push eax
call edi
mov eax, dword [0x4b60e4]
mov dword [eax + 0x3cc], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42d6b4
push eax
call edi
jmp 0x42d6b4
mov eax, dword [0x4b60e8]
cmp dword [eax + 0x60], 0
je 0x42d41f
cmp dword [eax + 0x74], 0
jne 0x42d3f6
call fcn.0044d3e0
mov ecx, dword [0x4b60e8]
mov dword [ecx + 0x74], eax
mov eax, dword [0x4b60e8]
cmp dword [eax + 0x74], 0
je 0x42d407
mov eax, dword [0x4b60e4]
mov dword [eax + 0x1e4], 5
jmp 0x42d42e
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [esp + 0x10]
cmovne edx, eax
xor ecx, ecx
call fcn.0042c530
test eax, eax
jne 0x42d42e
mov eax, dword [0x4b60e4]
mov dword [eax + 0x1e4], 3
push dword [0x4b60c4]
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [0x4b60e4]
cmp dword [eax + 0x1a8], 0
jne 0x42d50f
push dword [0x4b60c0]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
test eax, eax
jne 0x42d4b1
test byte [0x4b60cc], 0x10
je 0x42d46f
cmp dword [0x4b60f8], eax
jne 0x42d480
mov eax, dword [0x4b60e4]
test dword [eax + 0x1b0], 0x4000000
je 0x42d484
push 0
jmp 0x42d486
push 1
push dword [0x4b60c4]
call edi
mov eax, dword [0x4b60e4]
mov ecx, 0x400
test word [eax + 0x16], cx
jne 0x42d4f5
movzx eax, byte [eax + 0x15]
and eax, 2
or eax, 1
push eax
push dword [0x4b60c0]
jmp 0x42d4f3
push dword [0x4b60c4]
call esi
test eax, eax
je 0x42d4c4
call fcn.004472e0
jmp 0x42d4f5
test byte [0x4b60cc], 0x10
je 0x42d4d6
cmp dword [0x4b60f8], 0
jne 0x42d4e7
mov eax, dword [0x4b60e4]
test dword [eax + 0x1b0], 0x4000000
je 0x42d4eb
push 0
jmp 0x42d4ed
push 1
push dword [0x4b60c4]
call edi
push 0
push 0
push 0x30f
push dword [0x4b60c0]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42d61a
mov ecx, dword [eax + 0x1b0]
mov esi, dword [eax + 0x1bc]
mov edi, dword [eax + 0x1c0]
test cl, 0x20
je 0x42d592
test ecx, 0x1000000
jne 0x42d581
push 0xffffffffffffffec
push dword [0x4b60c4]
mov dword [esp + 0x30], esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], edi
call esi
push eax
push 0
push 0xfffffffffffffff0
push dword [0x4b60c4]
call esi
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
sub esi, dword [esp + 0x20]
sub edi, dword [esp + 0x24]
jmp 0x42d58d
and ecx, 0xfeffffff
mov dword [eax + 0x1b0], ecx
mov eax, dword [0x4b60e4]
test byte [eax + 0x14], 0x10
je 0x42d5b8
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
or ax, 2
movzx eax, ax
push eax
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_17]
push dword [0x4b60c4]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x42d5db
push 0x16
push edi
push esi
push eax
push eax
push eax
push dword [0x4b60c4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x4b60e4]
cmp dword [eax + 0x1b4], 0
je 0x42d61a
test byte [0x4b60cc], 0x10
je 0x42d5fb
cmp dword [0x4b60f8], 0
jne 0x42d607
test dword [eax + 0x1b0], 0x4000000
je 0x42d60b
push 0
jmp 0x42d60d
push 1
push dword [0x4b60c4]
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [0x4b60e4]
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_174]
mov eax, dword [eax + 0x3cc]
test eax, eax
je 0x42d649
push eax
call edi
mov eax, dword [0x4b60e4]
mov dword [eax + 0x3cc], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42d654
push eax
call edi
cmp dword [0x4b60f8], 0
je 0x42d6b0
cmp word [0x4b60ce], 3
jne 0x42d6b0
cmp dword [0x4b60c8], 0
je 0x42d6b0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x20], eax
test eax, eax
je 0x42d6b0
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
push 0
push dword [0x4b60c8]
push eax
call edi
push dword [esp + 0x20]
mov esi, eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push 1
push esi
mov esi, dword [esp + 0x28]
push esi
call edi
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [esp + 0xc]
push 1
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_63]
test esi, esi
je 0x42d6d5
mov eax, dword [0x4b60e4]
mov dword [eax + 0x1e4], 6
mov ecx, dword [esp + 0x44]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00476fd3
mov esp, ebp
pop ebp
ret