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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x4abca0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov edx, dword [0x4af094]
push esi
push edi
mov ecx, dword [edx + 0x1ec]
cmp ecx, dword [edx + 0x1f0]
je 0x429edf
call fcn.00428110
mov ecx, dword [0x4af094]
mov dword [ecx + 0x1d8], eax
test eax, eax
jne 0x429ec7
or esi, 0xffffffff
jmp 0x42aa54
mov ecx, dword [0x4af094]
mov eax, dword [ecx + 0x1ec]
mov dword [ecx + 0x1f0], eax
mov edx, dword [0x4af094]
cmp dword [edx + 0x1a8], 0
je 0x429f0a
mov eax, dword [0x4af098]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x429fbb
push eax
push dword [0x4af074]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x429fb5
mov ecx, dword [0x4af098]
test byte [ecx + 0xc], 1
je 0x429fa1
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x429fa1
cmp word [ecx], 0
je 0x429fa1
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429f30
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 0x429f50
sub edx, esi
lea eax, [ecx + 0xa]
sar edx, 1
add eax, edx
push 2
push eax
call fcn.00473719
mov ecx, dword [0x4af098]
mov esi, eax
push dword [ecx + 0x10]
mov ecx, dword [0x4af094]
push dword [ecx + 0x80]
push str._s____s
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, esi
call fcn.00428520
push esi
call fcn.0047372f
add esp, 0x1c
jmp 0x429fb5
mov ecx, dword [edx + 0x80]
test ecx, ecx
jne 0x429fb0
mov ecx, str.Untitled
call fcn.00428520
mov edx, dword [0x4af094]
mov eax, dword [edx + 0xd8]
mov ecx, dword [edx + 0x1f0]
mov dword [esp + 0x20], ecx
test eax, eax
je 0x42a00d
xor esi, esi
test eax, eax
jle 0x42a00d
xor edi, edi
nop word [eax + eax]
mov eax, dword [edx + 0xdc]
mov eax, dword [eax + edi + 0x3c]
test eax, eax
je 0x42a001
push ecx
push edx
push 0x4af060
call eax
mov edx, dword [0x4af094]
mov ecx, dword [esp + 0x20]
inc esi
add edi, 0x4c
cmp esi, dword [edx + 0xd8]
jl 0x429fe0
mov eax, dword [0x4af098]
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0
mov dword [eax + 0x20], 0
mov eax, dword [0x4af098]
mov dword [eax + 0x1c], 0
mov eax, dword [0x4af098]
mov dword [eax + 0x28], 0
mov eax, dword [0x4af098]
mov dword [eax + 0x24], 0
mov eax, dword [0x4af098]
mov dword [eax + 0x78], 0
mov eax, dword [0x4af098]
mov dword [eax + 0x74], 0
mov ecx, dword [0x4af094]
cmp dword [ecx + 0x1a8], edx
mov edx, dword [0x4af098]
je 0x42a091
test dword [ecx + 0x1b0], 0x200000
je 0x42a091
mov esi, dword [ecx + 0x1bc]
mov edi, dword [ecx + 0x1c0]
jmp 0x42a0be
test dword [edx + 0xc], 0x100
je 0x42a0a8
mov esi, dword [0x4af22c]
mov edi, dword [0x4af228]
jmp 0x42a0be
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 0x42a0be
mov edi, eax
mov dword [edx + 0x958], esi
mov eax, dword [0x4af098]
mov dword [eax + 0x95c], edi
mov ecx, dword [0x4af098]
test dword [ecx + 0xc], 0x800
jne 0x42a221
push 0
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_34]
mov ecx, dword [0x4af094]
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 [0x4af098]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4af094]
push dword [ecx + 0x1cc]
mov ecx, dword [0x4af098]
push edi
push esi
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_372]
mov ecx, dword [0x4af098]
push dword [0x4af094]
push 0x42b760
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_982]
mov eax, dword [0x4af094]
cmp byte [eax + 0x3f8], 0
je 0x42a174
push ecx
mov ecx, dword [0x4af098]
mov dword [esp], 0x3f800000
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_1017]
mov eax, dword [0x4af094]
cmp dword [0x4af164], 0
je 0x42a1a5
cmp dword [eax + 0x1a8], 0
jne 0x42a1a5
movzx eax, byte [eax + 0x7d]
mov ecx, dword [0x4af098]
shl eax, 4
or eax, 5
push eax
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_876]
mov eax, dword [0x4af094]
mov eax, dword [eax + 0x23c]
test eax, eax
je 0x42a1bf
mov ecx, dword [0x4af098]
push eax
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_361]
mov eax, dword [0x4af098]
push dword [eax + 0x18]
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_32]
mov ecx, dword [0x4af098]
test byte [ecx + 0xc], 4
je 0x42a206
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42a206
mov edx, dword [esp + 0x18]
push dword [ecx + 0x18]
test edx, edx
je 0x42a1fc
mov ecx, edx
call dword [sym.imp.MMFS2.dll_Ordinal_342]
jmp 0x42a21b
mov ecx, eax
call dword [sym.imp.MMFS2.dll_Ordinal_342]
jmp 0x42a21b
test byte [0x4af07c], 0x10
jne 0x42a221
push dword [ecx + 8]
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_445]
mov ecx, dword [0x4af098]
movsx eax, word [ecx + 0x8f0]
mov edi, dword [ecx + 0x44]
mov edx, dword [ecx + 0x50]
lea esi, [eax*2 + 0x10]
test edi, edi
jle 0x42a278
add edx, 2
nop dword [eax]
cmp word [edx + 0xe], 0
jbe 0x42a270
mov eax, dword [0x4af094]
movzx ecx, word [edx]
mov eax, dword [eax + 0x198]
movzx eax, word [eax + ecx*2]
imul ecx, eax, 0x2c
mov eax, dword [0x4af094]
mov eax, dword [eax + 0x400]
cmp word [ecx + eax + 2], 2
jae 0x42a270
inc esi
add edx, 0x24
sub edi, 1
jne 0x42a240
push esi
push 0
push 1
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_31]
mov eax, dword [0x4af098]
mov esi, dword [eax + 0x970]
mov dword [esp + 0x14], esi
test esi, esi
je 0x42a3c0
mov edx, dword [eax + 0x30]
xor edi, edi
mov dword [esp + 0xc], edi
cmp dword [eax + 0x2c], edi
jle 0x42a3c0
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 0x42a39f
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
mov ecx, dword [0x4af094]
mov dword [esp + 8], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
call fcn.00436440
mov edi, eax
test edi, edi
je 0x42a395
mov edx, dword [edi]
mov ecx, edi
push dword [esp + 8]
call dword [edx + 0x38]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42a395
mov eax, dword [0x4af098]
mov eax, dword [eax + 0x970]
add eax, dword [esi + 0x10]
xor esi, esi
mov dword [esp + 8], eax
test ecx, ecx
je 0x42a391
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 0x42a371
mov ecx, edi
sub eax, 2
je 0x42a354
mov eax, dword [esp + 8]
push dword [eax]
push esi
call dword [edx + 0x40]
jmp 0x42a385
push dword [0x4af064]
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 0x42a385
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 0x42a330
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [edx], edi
mov edi, dword [esp + 0xc]
mov eax, dword [0x4af098]
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 0x42a2c0
push dword [eax + 0x2c]
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_959]
mov eax, dword [0x4af098]
xor edi, edi
mov esi, dword [eax + 0x30]
cmp dword [eax + 0x2c], edi
jle 0x42a40b
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 [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_945]
mov eax, dword [0x4af098]
lea esi, [esi + 0x60]
inc edi
cmp edi, dword [eax + 0x2c]
jl 0x42a3e1
mov eax, dword [0x4af094]
cmp dword [eax + 0x1fc], 0
jne 0x42a445
mov esi, dword [sym.imp.USER32.dll_GetInputState]
call esi
test eax, eax
je 0x42a445
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 0x42a430
push 0
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_63]
push dword [0x4af070]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
test eax, eax
jne 0x42a496
mov eax, dword [0x4af094]
cmp dword [eax + 0x1a8], 0
jne 0x42a496
call fcn.00443cf0
call fcn.00443bb0
mov eax, dword [0x4af094]
movzx eax, word [eax + 0x14]
test eax, 0x100
je 0x42a496
test al, al
js 0x42a496
call fcn.00453750
push dword [0x4af074]
call esi
test eax, eax
jne 0x42a4a7
call fcn.004437a0
mov esi, dword [0x4af098]
test esi, esi
je 0x42a4d2
mov eax, dword [esi + 0x980]
test eax, eax
je 0x42a4d2
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_174]
mov dword [esi + 0x980], 0
mov esi, dword [0x4af098]
cmp dword [0x4af0a8], 0
jne 0x42a4ed
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_832]
mov esi, dword [0x4af098]
cmp word [0x4af07e], 3
jne 0x42a548
mov ecx, dword [0x4af094]
cmp dword [ecx + 0x1a8], 0
jne 0x42a50b
mov eax, dword [esi + 0x14]
jmp 0x42a52e
mov eax, dword [ecx + 0x1a8]
test eax, eax
je 0x42a521
mov ecx, eax
mov eax, dword [ecx + 0x1a8]
test eax, eax
jne 0x42a515
mov eax, dword [ecx + 0x1d8]
test eax, eax
je 0x42a548
mov eax, dword [eax + 0x14]
test eax, eax
je 0x42a548
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x42a548
push 0
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_742]
mov esi, dword [0x4af098]
mov ecx, esi
call fcn.0042ae40
mov eax, dword [0x4af098]
mov esi, 0x400
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test byte [eax + 0xc], 2
je 0x42a5ad
push dword [0x4af070]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42a59e
mov eax, dword [0x4af094]
cmp dword [eax + 0x1a8], 0
jne 0x42a59e
mov ecx, 0x200
test word [eax + 0x14], cx
je 0x42a59e
test word [eax + 0x16], si
jne 0x42a59e
push 3
push dword [0x4af070]
call edi
call fcn.004437a0
call fcn.00444050
mov eax, dword [0x4af098]
mov dword [eax + 0x90c], 0
mov esi, dword [0x4af098]
mov edx, dword [esi + 0x80]
mov dword [esp + 0xc], edx
cmp word [edx], 0
je 0x42a664
movzx ecx, byte [edx + 3]
lea edi, [edx + 0x10]
movzx eax, byte [edx + 2]
add ecx, eax
mov dword [esp + 0x20], ecx
je 0x42a64b
movsx edx, byte [edi + 0xc]
mov eax, dword [edi + 2]
test edx, edx
jle 0x42a639
sar eax, 0x1f
lea ecx, [edi + 0xe]
and eax, 2
add ecx, eax
nop word [eax + eax]
cmp word [ecx + 2], 0x2b
jne 0x42a62b
movsx eax, word [ecx + 4]
sub eax, 1
je 0x42a61e
sub eax, 1
jne 0x42a62b
or dword [esi + 0x90c], 2
jmp 0x42a625
or dword [esi + 0x90c], 1
mov esi, dword [0x4af098]
movsx eax, word [ecx]
dec edx
add ecx, eax
test edx, edx
jg 0x42a600
mov ecx, dword [esp + 0x20]
movsx eax, word [edi]
dec ecx
add edi, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
jg 0x42a5e4
mov edx, dword [esp + 0xc]
movsx eax, word [edx]
sub edx, eax
mov dword [esp + 0xc], edx
cmp word [edx], 0
jne 0x42a5d1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004379f0
mov dword [esi + 0x960], eax
mov ecx, dword [0x4af098]
test byte [ecx + 0xc], 0x20
push dword [ecx + 0x960]
je 0x42a6a0
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 [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_102]
jmp 0x42a6b0
push 0x10
push 0x40
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_101]
lea ecx, [esp + 0x20]
call fcn.00402810
mov ecx, dword [esp + 0x20]
sub ecx, dword [0x4af358]
mov eax, dword [esp + 0x24]
sbb eax, dword [0x4af35c]
push 0
push 0xf4240
push eax
push ecx
call fcn.0048c060
mov ecx, dword [0x4af094]
mov dword [ecx + 0x1e0], eax
xor ecx, ecx
mov eax, dword [0x4af098]
cmp dword [eax + 0x60], ecx
setne cl
call fcn.00448120
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x42a76c
push 1
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_63]
mov ecx, dword [0x4af094]
mov ecx, dword [ecx + 0x1d8]
call fcn.00427250
mov eax, dword [0x4af094]
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_174]
mov dword [eax + 0x1d8], 0
mov eax, dword [0x4af094]
mov eax, dword [eax + 0x3cc]
test eax, eax
je 0x42a758
push eax
call edi
mov eax, dword [0x4af094]
mov dword [eax + 0x3cc], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42aa54
push eax
call edi
jmp 0x42aa54
mov eax, dword [0x4af098]
cmp dword [eax + 0x60], 0
je 0x42a7bf
cmp dword [eax + 0x74], 0
jne 0x42a796
call fcn.00448310
mov ecx, dword [0x4af098]
mov dword [ecx + 0x74], eax
mov eax, dword [0x4af098]
cmp dword [eax + 0x74], 0
je 0x42a7a7
mov eax, dword [0x4af094]
mov dword [eax + 0x1e4], 5
jmp 0x42a7ce
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [esp + 0x10]
cmovne edx, eax
xor ecx, ecx
call fcn.00429920
test eax, eax
jne 0x42a7ce
mov eax, dword [0x4af094]
mov dword [eax + 0x1e4], 3
push dword [0x4af074]
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [0x4af094]
cmp dword [eax + 0x1a8], 0
jne 0x42a8af
push dword [0x4af070]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
test eax, eax
jne 0x42a851
test byte [0x4af07c], 0x10
je 0x42a80f
cmp dword [0x4af0a8], eax
jne 0x42a820
mov eax, dword [0x4af094]
test dword [eax + 0x1b0], 0x4000000
je 0x42a824
push 0
jmp 0x42a826
push 1
push dword [0x4af074]
call edi
mov eax, dword [0x4af094]
mov ecx, 0x400
test word [eax + 0x16], cx
jne 0x42a895
movzx eax, byte [eax + 0x15]
and eax, 2
or eax, 1
push eax
push dword [0x4af070]
jmp 0x42a893
push dword [0x4af074]
call esi
test eax, eax
je 0x42a864
call fcn.004437a0
jmp 0x42a895
test byte [0x4af07c], 0x10
je 0x42a876
cmp dword [0x4af0a8], 0
jne 0x42a887
mov eax, dword [0x4af094]
test dword [eax + 0x1b0], 0x4000000
je 0x42a88b
push 0
jmp 0x42a88d
push 1
push dword [0x4af074]
call edi
push 0
push 0
push 0x30f
push dword [0x4af070]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42a9ba
mov ecx, dword [eax + 0x1b0]
mov esi, dword [eax + 0x1bc]
mov edi, dword [eax + 0x1c0]
test cl, 0x20
je 0x42a932
test ecx, 0x1000000
jne 0x42a921
push 0xffffffffffffffec
push dword [0x4af074]
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 [0x4af074]
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 0x42a92d
and ecx, 0xfeffffff
mov dword [eax + 0x1b0], ecx
mov eax, dword [0x4af094]
test byte [eax + 0x14], 0x10
je 0x42a958
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
or ax, 2
movzx eax, ax
push eax
push dword [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_17]
push dword [0x4af074]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x42a97b
push 0x16
push edi
push esi
push eax
push eax
push eax
push dword [0x4af074]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x4af094]
cmp dword [eax + 0x1b4], 0
je 0x42a9ba
test byte [0x4af07c], 0x10
je 0x42a99b
cmp dword [0x4af0a8], 0
jne 0x42a9a7
test dword [eax + 0x1b0], 0x4000000
je 0x42a9ab
push 0
jmp 0x42a9ad
push 1
push dword [0x4af074]
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [0x4af094]
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_174]
mov eax, dword [eax + 0x3cc]
test eax, eax
je 0x42a9e9
push eax
call edi
mov eax, dword [0x4af094]
mov dword [eax + 0x3cc], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42a9f4
push eax
call edi
cmp dword [0x4af0a8], 0
je 0x42aa50
cmp word [0x4af07e], 3
jne 0x42aa50
cmp dword [0x4af078], 0
je 0x42aa50
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x20], eax
test eax, eax
je 0x42aa50
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
push 0
push dword [0x4af078]
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 [0x4af06c]
call dword [sym.imp.MMFS2.dll_Ordinal_63]
test esi, esi
je 0x42aa75
mov eax, dword [0x4af094]
mov dword [eax + 0x1e4], 6
mov ecx, dword [esp + 0x44]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0046fc3f
mov esp, ebp
pop ebp
ret