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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x4b1ca0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov edx, dword [0x4b4b94]
push esi
push edi
mov ecx, dword [edx + 0x1ec]
cmp ecx, dword [edx + 0x1f0]
je 0x42bfcf
call fcn.0042a1c0
mov ecx, dword [0x4b4b94]
mov dword [ecx + 0x1d8], eax
test eax, eax
jne 0x42bfb7
or esi, 0xffffffff
jmp 0x42cba4
mov ecx, dword [0x4b4b94]
mov eax, dword [ecx + 0x1ec]
mov dword [ecx + 0x1f0], eax
mov edx, dword [0x4b4b94]
cmp dword [edx + 0x1a8], 0
je 0x42bffa
mov eax, dword [0x4b4b98]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x42c0ab
push eax
push dword [0x4b4b74]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x42c0a5
mov ecx, dword [0x4b4b98]
test byte [ecx + 0xc], 1
je 0x42c091
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x42c091
cmp word [ecx], 0
je 0x42c091
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c020
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 0x42c040
sub edx, esi
lea eax, [ecx + 0xa]
sar edx, 1
add eax, edx
push 2
push eax
call fcn.00478e79
mov ecx, dword [0x4b4b98]
mov esi, eax
push dword [ecx + 0x10]
mov ecx, dword [0x4b4b94]
push dword [ecx + 0x80]
push str._s____s
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, esi
call fcn.0042a5d0
push esi
call fcn.00478e8f
add esp, 0x1c
jmp 0x42c0a5
mov ecx, dword [edx + 0x80]
test ecx, ecx
jne 0x42c0a0
mov ecx, str.Untitled
call fcn.0042a5d0
mov edx, dword [0x4b4b94]
mov eax, dword [edx + 0xd8]
mov ecx, dword [edx + 0x1f0]
mov dword [esp + 0x20], ecx
test eax, eax
je 0x42c0fd
xor esi, esi
test eax, eax
jle 0x42c0fd
xor edi, edi
nop word [eax + eax]
mov eax, dword [edx + 0xdc]
mov eax, dword [eax + edi + 0x3c]
test eax, eax
je 0x42c0f1
push ecx
push edx
push 0x4b4b60
call eax
mov edx, dword [0x4b4b94]
mov ecx, dword [esp + 0x20]
inc esi
add edi, 0x4c
cmp esi, dword [edx + 0xd8]
jl 0x42c0d0
mov eax, dword [0x4b4b98]
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0
mov dword [eax + 0x20], 0
mov eax, dword [0x4b4b98]
mov dword [eax + 0x1c], 0
mov eax, dword [0x4b4b98]
mov dword [eax + 0x28], 0
mov eax, dword [0x4b4b98]
mov dword [eax + 0x24], 0
mov eax, dword [0x4b4b98]
mov dword [eax + 0x78], 0
mov eax, dword [0x4b4b98]
mov dword [eax + 0x74], 0
mov ecx, dword [0x4b4b94]
cmp dword [ecx + 0x1a8], edx
mov edx, dword [0x4b4b98]
je 0x42c181
test dword [ecx + 0x1b0], 0x200000
je 0x42c181
mov esi, dword [ecx + 0x1bc]
mov edi, dword [ecx + 0x1c0]
jmp 0x42c1ae
test dword [edx + 0xc], 0x100
je 0x42c198
mov esi, dword [0x4b4d2c]
mov edi, dword [0x4b4d28]
jmp 0x42c1ae
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 0x42c1ae
mov edi, eax
mov dword [edx + 0x958], esi
mov eax, dword [0x4b4b98]
mov dword [eax + 0x95c], edi
mov ecx, dword [0x4b4b98]
test dword [ecx + 0xc], 0x800
jne 0x42c36e
push 0
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_34]
mov ecx, dword [0x4b4b94]
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 [0x4b4b98]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4b4b94]
push dword [ecx + 0x1cc]
mov ecx, dword [0x4b4b98]
push edi
push esi
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_372]
mov ecx, dword [0x4b4b98]
push dword [0x4b4b94]
push 0x42d8d0
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_982]
test byte [0x4b4b7c], 0x40
je 0x42c297
mov eax, dword [0x4b4b94]
test eax, eax
je 0x42c265
mov ecx, dword [eax + 0x3bc]
test ecx, ecx
je 0x42c265
test dword [ecx], 0x40000000
je 0x42c265
mov ecx, 1
jmp 0x42c267
xor ecx, ecx
test eax, eax
je 0x42c284
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x42c284
test dword [eax], 0x40000000
je 0x42c284
mov eax, 1
jmp 0x42c286
xor eax, eax
push ecx
mov ecx, dword [0x4b4b98]
push eax
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_1106]
mov eax, dword [0x4b4b94]
cmp byte [eax + 0x3f8], 0
je 0x42c2c1
push ecx
mov ecx, dword [0x4b4b98]
mov dword [esp], 0x3f800000
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_1017]
mov eax, dword [0x4b4b94]
cmp dword [0x4b4c64], 0
je 0x42c2f2
cmp dword [eax + 0x1a8], 0
jne 0x42c2f2
movzx eax, byte [eax + 0x7d]
mov ecx, dword [0x4b4b98]
shl eax, 4
or eax, 5
push eax
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_876]
mov eax, dword [0x4b4b94]
mov eax, dword [eax + 0x23c]
test eax, eax
je 0x42c30c
mov ecx, dword [0x4b4b98]
push eax
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_361]
mov eax, dword [0x4b4b98]
push dword [eax + 0x18]
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_32]
mov ecx, dword [0x4b4b98]
test byte [ecx + 0xc], 4
je 0x42c353
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42c353
mov edx, dword [esp + 0x18]
push dword [ecx + 0x18]
test edx, edx
je 0x42c349
mov ecx, edx
call dword [sym.imp.MMFS2.dll_Ordinal_342]
jmp 0x42c368
mov ecx, eax
call dword [sym.imp.MMFS2.dll_Ordinal_342]
jmp 0x42c368
test byte [0x4b4b7c], 0x10
jne 0x42c36e
push dword [ecx + 8]
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_445]
mov ecx, dword [0x4b4b98]
movsx eax, word [ecx + 0x8f0]
mov edi, dword [ecx + 0x44]
mov edx, dword [ecx + 0x50]
lea esi, [eax*2 + 0x10]
test edi, edi
jle 0x42c3c8
add edx, 2
nop dword [eax]
cmp word [edx + 0xe], 0
jbe 0x42c3c0
mov eax, dword [0x4b4b94]
movzx ecx, word [edx]
mov eax, dword [eax + 0x198]
movzx eax, word [eax + ecx*2]
imul ecx, eax, 0x2c
mov eax, dword [0x4b4b94]
mov eax, dword [eax + 0x400]
cmp word [ecx + eax + 2], 2
jae 0x42c3c0
inc esi
add edx, 0x24
sub edi, 1
jne 0x42c390
push esi
push 0
push 1
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_31]
mov eax, dword [0x4b4b98]
mov esi, dword [eax + 0x970]
mov dword [esp + 0x14], esi
test esi, esi
je 0x42c510
mov edx, dword [eax + 0x30]
xor edi, edi
mov dword [esp + 0xc], edi
cmp dword [eax + 0x2c], edi
jle 0x42c510
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 0x42c4ef
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
mov ecx, dword [0x4b4b94]
mov dword [esp + 8], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
call fcn.00438e60
mov edi, eax
test edi, edi
je 0x42c4e5
mov edx, dword [edi]
mov ecx, edi
push dword [esp + 8]
call dword [edx + 0x38]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42c4e5
mov eax, dword [0x4b4b98]
mov eax, dword [eax + 0x970]
add eax, dword [esi + 0x10]
xor esi, esi
mov dword [esp + 8], eax
test ecx, ecx
je 0x42c4e1
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 0x42c4c1
mov ecx, edi
sub eax, 2
je 0x42c4a4
mov eax, dword [esp + 8]
push dword [eax]
push esi
call dword [edx + 0x40]
jmp 0x42c4d5
push dword [0x4b4b64]
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 0x42c4d5
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 0x42c480
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [edx], edi
mov edi, dword [esp + 0xc]
mov eax, dword [0x4b4b98]
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 0x42c410
push dword [eax + 0x2c]
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_959]
mov eax, dword [0x4b4b98]
xor edi, edi
mov esi, dword [eax + 0x30]
cmp dword [eax + 0x2c], edi
jle 0x42c55b
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 [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_945]
mov eax, dword [0x4b4b98]
lea esi, [esi + 0x60]
inc edi
cmp edi, dword [eax + 0x2c]
jl 0x42c531
mov eax, dword [0x4b4b94]
cmp dword [eax + 0x1fc], 0
jne 0x42c595
mov esi, dword [sym.imp.USER32.dll_GetInputState]
call esi
test eax, eax
je 0x42c595
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 0x42c580
push 0
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_63]
push dword [0x4b4b70]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
test eax, eax
jne 0x42c5e6
mov eax, dword [0x4b4b94]
cmp dword [eax + 0x1a8], 0
jne 0x42c5e6
call fcn.00446f30
call fcn.00446dd0
mov eax, dword [0x4b4b94]
movzx eax, word [eax + 0x14]
test eax, 0x100
je 0x42c5e6
test al, al
js 0x42c5e6
call fcn.00458470
push dword [0x4b4b74]
call esi
test eax, eax
jne 0x42c5f7
call fcn.004469c0
mov esi, dword [0x4b4b98]
test esi, esi
je 0x42c622
mov eax, dword [esi + 0x980]
test eax, eax
je 0x42c622
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_174]
mov dword [esi + 0x980], 0
mov esi, dword [0x4b4b98]
cmp dword [0x4b4ba8], 0
jne 0x42c63d
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_832]
mov esi, dword [0x4b4b98]
cmp word [0x4b4b7e], 3
jne 0x42c698
mov ecx, dword [0x4b4b94]
cmp dword [ecx + 0x1a8], 0
jne 0x42c65b
mov eax, dword [esi + 0x14]
jmp 0x42c67e
mov eax, dword [ecx + 0x1a8]
test eax, eax
je 0x42c671
mov ecx, eax
mov eax, dword [ecx + 0x1a8]
test eax, eax
jne 0x42c665
mov eax, dword [ecx + 0x1d8]
test eax, eax
je 0x42c698
mov eax, dword [eax + 0x14]
test eax, eax
je 0x42c698
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x42c698
push 0
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_742]
mov esi, dword [0x4b4b98]
mov ecx, esi
call fcn.0042cfa0
mov eax, dword [0x4b4b98]
mov esi, 0x400
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test byte [eax + 0xc], 2
je 0x42c6fd
push dword [0x4b4b70]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42c6ee
mov eax, dword [0x4b4b94]
cmp dword [eax + 0x1a8], 0
jne 0x42c6ee
mov ecx, 0x200
test word [eax + 0x14], cx
je 0x42c6ee
test word [eax + 0x16], si
jne 0x42c6ee
push 3
push dword [0x4b4b70]
call edi
call fcn.004469c0
call fcn.00447290
mov eax, dword [0x4b4b98]
mov dword [eax + 0x90c], 0
mov esi, dword [0x4b4b98]
mov edx, dword [esi + 0x80]
mov dword [esp + 0xc], edx
cmp word [edx], 0
je 0x42c7b4
movzx ecx, byte [edx + 3]
lea edi, [edx + 0x10]
movzx eax, byte [edx + 2]
add ecx, eax
mov dword [esp + 0x20], ecx
je 0x42c79b
movsx edx, byte [edi + 0xc]
mov eax, dword [edi + 2]
test edx, edx
jle 0x42c789
sar eax, 0x1f
lea ecx, [edi + 0xe]
and eax, 2
add ecx, eax
nop word [eax + eax]
cmp word [ecx + 2], 0x2b
jne 0x42c77b
movsx eax, word [ecx + 4]
sub eax, 1
je 0x42c76e
sub eax, 1
jne 0x42c77b
or dword [esi + 0x90c], 2
jmp 0x42c775
or dword [esi + 0x90c], 1
mov esi, dword [0x4b4b98]
movsx eax, word [ecx]
dec edx
add ecx, eax
test edx, edx
jg 0x42c750
mov ecx, dword [esp + 0x20]
movsx eax, word [edi]
dec ecx
add edi, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
jg 0x42c734
mov edx, dword [esp + 0xc]
movsx eax, word [edx]
sub edx, eax
mov dword [esp + 0xc], edx
cmp word [edx], 0
jne 0x42c721
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0043a210
mov dword [esi + 0x960], eax
mov ecx, dword [0x4b4b98]
test byte [ecx + 0xc], 0x20
push dword [ecx + 0x960]
je 0x42c7f0
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 [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_102]
jmp 0x42c800
push 0x10
push 0x40
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_101]
lea ecx, [esp + 0x20]
call fcn.00402810
mov ecx, dword [esp + 0x20]
sub ecx, dword [0x4b4f78]
mov eax, dword [esp + 0x24]
sbb eax, dword [0x4b4f7c]
push 0
push 0xf4240
push eax
push ecx
call fcn.00491750
mov ecx, dword [0x4b4b94]
mov dword [ecx + 0x1e0], eax
xor ecx, ecx
mov eax, dword [0x4b4b98]
cmp dword [eax + 0x60], ecx
setne cl
call fcn.0044c8d0
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x42c8bc
push 1
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_63]
mov ecx, dword [0x4b4b94]
mov ecx, dword [ecx + 0x1d8]
call fcn.004291e0
mov eax, dword [0x4b4b94]
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_174]
mov dword [eax + 0x1d8], 0
mov eax, dword [0x4b4b94]
mov eax, dword [eax + 0x3cc]
test eax, eax
je 0x42c8a8
push eax
call edi
mov eax, dword [0x4b4b94]
mov dword [eax + 0x3cc], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42cba4
push eax
call edi
jmp 0x42cba4
mov eax, dword [0x4b4b98]
cmp dword [eax + 0x60], 0
je 0x42c90f
cmp dword [eax + 0x74], 0
jne 0x42c8e6
call fcn.0044cac0
mov ecx, dword [0x4b4b98]
mov dword [ecx + 0x74], eax
mov eax, dword [0x4b4b98]
cmp dword [eax + 0x74], 0
je 0x42c8f7
mov eax, dword [0x4b4b94]
mov dword [eax + 0x1e4], 5
jmp 0x42c91e
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [esp + 0x10]
cmovne edx, eax
xor ecx, ecx
call fcn.0042ba20
test eax, eax
jne 0x42c91e
mov eax, dword [0x4b4b94]
mov dword [eax + 0x1e4], 3
push dword [0x4b4b74]
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [0x4b4b94]
cmp dword [eax + 0x1a8], 0
jne 0x42c9ff
push dword [0x4b4b70]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
test eax, eax
jne 0x42c9a1
test byte [0x4b4b7c], 0x10
je 0x42c95f
cmp dword [0x4b4ba8], eax
jne 0x42c970
mov eax, dword [0x4b4b94]
test dword [eax + 0x1b0], 0x4000000
je 0x42c974
push 0
jmp 0x42c976
push 1
push dword [0x4b4b74]
call edi
mov eax, dword [0x4b4b94]
mov ecx, 0x400
test word [eax + 0x16], cx
jne 0x42c9e5
movzx eax, byte [eax + 0x15]
and eax, 2
or eax, 1
push eax
push dword [0x4b4b70]
jmp 0x42c9e3
push dword [0x4b4b74]
call esi
test eax, eax
je 0x42c9b4
call fcn.004469c0
jmp 0x42c9e5
test byte [0x4b4b7c], 0x10
je 0x42c9c6
cmp dword [0x4b4ba8], 0
jne 0x42c9d7
mov eax, dword [0x4b4b94]
test dword [eax + 0x1b0], 0x4000000
je 0x42c9db
push 0
jmp 0x42c9dd
push 1
push dword [0x4b4b74]
call edi
push 0
push 0
push 0x30f
push dword [0x4b4b70]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42cb0a
mov ecx, dword [eax + 0x1b0]
mov esi, dword [eax + 0x1bc]
mov edi, dword [eax + 0x1c0]
test cl, 0x20
je 0x42ca82
test ecx, 0x1000000
jne 0x42ca71
push 0xffffffffffffffec
push dword [0x4b4b74]
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 [0x4b4b74]
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 0x42ca7d
and ecx, 0xfeffffff
mov dword [eax + 0x1b0], ecx
mov eax, dword [0x4b4b94]
test byte [eax + 0x14], 0x10
je 0x42caa8
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
or ax, 2
movzx eax, ax
push eax
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_17]
push dword [0x4b4b74]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x42cacb
push 0x16
push edi
push esi
push eax
push eax
push eax
push dword [0x4b4b74]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x4b4b94]
cmp dword [eax + 0x1b4], 0
je 0x42cb0a
test byte [0x4b4b7c], 0x10
je 0x42caeb
cmp dword [0x4b4ba8], 0
jne 0x42caf7
test dword [eax + 0x1b0], 0x4000000
je 0x42cafb
push 0
jmp 0x42cafd
push 1
push dword [0x4b4b74]
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [0x4b4b94]
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_174]
mov eax, dword [eax + 0x3cc]
test eax, eax
je 0x42cb39
push eax
call edi
mov eax, dword [0x4b4b94]
mov dword [eax + 0x3cc], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42cb44
push eax
call edi
cmp dword [0x4b4ba8], 0
je 0x42cba0
cmp word [0x4b4b7e], 3
jne 0x42cba0
cmp dword [0x4b4b78], 0
je 0x42cba0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x20], eax
test eax, eax
je 0x42cba0
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
push 0
push dword [0x4b4b78]
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 [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_63]
test esi, esi
je 0x42cbc5
mov eax, dword [0x4b4b94]
mov dword [eax + 0x1e4], 6
mov ecx, dword [esp + 0x44]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0047539e
mov esp, ebp
pop ebp
ret