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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429eb4
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x43ed50]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
call sub.MFC80.DLL_Ordinal_4580
xor esi, esi
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call sub.MFC80.DLL_Ordinal_2371
mov edi, eax
cmp edi, esi
je 0x402ee7
lea ecx, [esp + 0x18]
call fcn.0040f9eb
push 0xf
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa4], esi
call fcn.0040f9f8
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], esi
je 0x402ed5
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
push 0x800
push dword [edi + 4]
call esi
push dword [esp + 0x18]
push 0x10
push 0
push dword [edi + 4]
call esi
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [ebx + 0x51c]
lea eax, [ebx + 0xa9c]
call fcn.00406309
cmp byte [ebx + 0x4ec], 0
je 0x402f06
call fcn.0040353d
push 0
push ebx
call fcn.0040daf2
pop ecx
pop ecx
push dword [ebx + 0x74]
push 1
push 0x80
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, 0xff00ff
push edi
push 0x18
pop esi
push esi
push esi
push 0x88
lea ecx, [ebx + 0x78]
call fcn.0040f4a9
push edi
push esi
push esi
push 0x99
lea ecx, [ebx + 0x104]
call fcn.0040f4a9
push edi
push esi
push esi
push 0x98
lea ecx, [ebx + 0x190]
call fcn.0040f4a9
push edi
push esi
push esi
lea ecx, [ebx + 0x21c]
push 0x94
mov dword [esp + 0x78], ecx
call fcn.0040f4a9
push edi
push esi
push esi
push 0x96
lea ecx, [ebx + 0x2a8]
call fcn.0040f4a9
push edi
push esi
push esi
push 0x95
lea ecx, [ebx + 0x334]
call fcn.0040f4a9
call fcn.00403632
lea eax, [esp + 0x38]
push eax
lea eax, [ebx + 0x51c]
call fcn.00405330
push eax
lea edi, [ebx + 0x568]
mov dword [esp + 0xa4], 1
call fcn.00405a43
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0xa
push 0x1e
push 8
push 0x10
lea esi, [ebx + 0xc34]
push 0x10
mov ecx, esi
call sub.MFC80.DLL_Ordinal_1564
push 0xffffff
push dword [ebx + 0xc38]
call fcn.004028c9
call sub.MFC80.DLL_Ordinal_1084
push 0x93
call fcn.00402929
push eax
push 0xffffffffffffffff
push dword [ebx + 0xc38]
call fcn.004028a8
test esi, esi
je 0x403027
mov esi, dword [esi + 4]
push esi
push 0
push 0x1109
push dword [ebx + 0x488]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC80.DLL_Ordinal_2370
lea ecx, [esp + 0x1c]
call fcn.0040f9eb
push 2
pop esi
push 0x4a
lea ecx, [esp + 0x20]
mov dword [esp + 0xa4], esi
call fcn.0040f9f8
push 0xffff0000
push dword [esp + 0x20]
lea edi, [ebx + 0x468]
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.0040295d
mov dword [esp + 0x18], eax
call sub.MFC80.DLL_Ordinal_1084
push 0x80
call fcn.00402929
push eax
push 0xffffffffffffffff
push dword [ebx + 0xc38]
call fcn.004028a8
mov ebx, dword [esp + 0x18]
push eax
push eax
push ebx
mov ecx, edi
call fcn.0040297b
and dword [esp + 0x2c], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x54], ebx
lea esi, [esp + 0x28]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x54]
lea ebx, [esi + 0x4bc]
push eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x28], ebx
call fcn.004041a8
push 0x32
lea ecx, [esp + 0x20]
call fcn.0040f9f8
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.0040295d
mov edi, eax
mov dword [esp + 0x6c], edi
call sub.MFC80.DLL_Ordinal_1084
push 0x90
call fcn.00402929
push eax
push 0xffffffffffffffff
push dword [esi + 0xc38]
call fcn.004028a8
mov ecx, dword [esp + 0x14]
push eax
push eax
push edi
call fcn.0040297b
and dword [esp + 0x2c], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x28], 7
lea esi, [esp + 0x28]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x54]
movsd dword es:[edi], dword [esi]
push eax
lea edi, [esp + 0x4c]
call fcn.004041a8
push 0x31
lea ecx, [esp + 0x20]
call fcn.0040f9f8
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.0040295d
mov ecx, dword [esp + 0x14]
xor edi, edi
push edi
push 0x10
push 0x10
push edi
push edi
push edi
mov esi, eax
push 8
push esi
mov dword [esp + 0x60], esi
call sub.MFC80.DLL_Ordinal_5868
call sub.MFC80.DLL_Ordinal_1084
push 0x8e
call fcn.00402929
push eax
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push dword [eax + 0xc38]
call fcn.004028a8
mov ecx, dword [esp + 0x14]
push eax
push eax
push esi
call fcn.0040297b
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], 3
lea esi, [esp + 0x28]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x54]
movsd dword es:[edi], dword [esi]
push eax
lea edi, [esp + 0x4c]
call fcn.004041a8
push 0x33
lea ecx, [esp + 0x20]
call fcn.0040f9f8
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.0040295d
mov ecx, dword [esp + 0x14]
mov esi, eax
xor eax, eax
push eax
push 0x10
push 0x10
push eax
push eax
push eax
push 8
push esi
mov dword [esp + 0x58], esi
call sub.MFC80.DLL_Ordinal_5868
call sub.MFC80.DLL_Ordinal_1084
push 0x8f
call fcn.00402929
push eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push dword [eax + 0xc38]
call fcn.004028a8
push eax
mov ecx, dword [esp + 0x18]
push eax
push esi
call fcn.0040297b
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], 1
lea esi, [esp + 0x28]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x54]
movsd dword es:[edi], dword [esi]
push eax
lea edi, [esp + 0x4c]
call fcn.004041a8
mov esi, dword [esp + 0x20]
lea edi, [esi + 0x504]
lea eax, [esp + 0x48]
mov ecx, edi
mov dword [esp + 0x70], edi
call fcn.00401cab
lea ecx, [esp + 0x3c]
mov byte [esp + 0x13], 0
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x1b]
push eax
lea ebx, [esp + 0x38]
lea ecx, [esp + 0x54]
mov eax, edi
mov byte [esp + 0xac], 3
call fcn.00401cb9
jmp 0x40338c
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x38]
jne 0x4032db
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x40]
call fcn.0040295d
push dword [esp + 0x44]
mov edi, eax
push 0xffffffffffffffff
push dword [esi + 0xc38]
mov dword [esp + 0x80], edi
call fcn.004028a8
test eax, eax
jl 0x403313
mov ecx, dword [esp + 0x14]
push eax
push eax
push edi
call fcn.0040297b
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x78], edi
mov dword [esp + 0x28], 5
lea esi, [esp + 0x28]
lea edi, [esp + 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x78]
movsd dword es:[edi], dword [esi]
push eax
lea edi, [esp + 0x58]
call fcn.004041a8
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x8c]
call fcn.004064de
push dword [esp + 0x90]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x90]
push dword [esp + 0x7c]
call fcn.004037f1
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x1b]
push eax
mov eax, dword [esp + 0x7c]
lea ebx, [esp + 0x38]
lea ecx, [esp + 0x54]
call fcn.00401cb9
mov esi, dword [esp + 0x20]
test al, al
jne 0x4032cc
push dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
push str.Decoder
call fcn.0040295d
mov edi, eax
mov ecx, 0xc351
lea eax, [esp + 0x48]
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], ecx
call fcn.004064de
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 4]
push ecx
push dword [eax]
mov dword [esp + 0x3c], ecx
push edi
mov ecx, esi
call fcn.004037f1
call sub.MFC80.DLL_Ordinal_1084
push 0x93
call fcn.00402929
push eax
push 0xffffffffffffffff
push dword [esi + 0xc38]
call fcn.004028a8
mov ecx, dword [esp + 0x14]
push eax
push eax
push edi
call fcn.0040297b
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x78], edi
lea esi, [esp + 0x28]
lea edi, [esp + 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x78]
movsd dword es:[edi], dword [esi]
push eax
lea edi, [esp + 0x58]
call fcn.004041a8
push dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
push str.Encoder
call fcn.0040295d
mov esi, eax
mov ecx, 0xc352
lea eax, [esp + 0x48]
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], ecx
call fcn.004064de
mov ecx, dword [eax]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 4]
push ecx
push dword [eax]
mov dword [esp + 0x3c], ecx
push esi
mov ecx, edi
call fcn.004037f1
call sub.MFC80.DLL_Ordinal_1084
push 0x93
call fcn.00402929
push eax
push 0xffffffffffffffff
push dword [edi + 0xc38]
call fcn.004028a8
mov ecx, dword [esp + 0x14]
push eax
push eax
push esi
call fcn.0040297b
mov dword [esp + 0x78], esi
lea esi, [esp + 0x28]
lea edi, [esp + 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x78]
movsd dword es:[edi], dword [esi]
push eax
lea edi, [esp + 0x58]
call fcn.004041a8
push dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 2
mov edi, 0x1102
push edi
push dword [ebx + 0x488]
call esi
push dword [esp + 0x40]
push 2
push edi
push dword [ebx + 0x488]
call esi
push dword [esp + 0x38]
push 2
push edi
push dword [ebx + 0x488]
call esi
push dword [esp + 0x6c]
push 9
push 0x110b
push dword [ebx + 0x488]
call esi
mov ecx, dword [esp + 0x68]
push 1
call fcn.0040f020
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret