Function at 0x402e78
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
xchg ecx, eax
mov dword [ebp - 8], 0xff970
mov ecx, dword [0x40904c]
xor edx, edx
mov eax, 0x7660
div ecx
mov ecx, dword [0x409048]
xor edx, edx
mov esi, 0x53872
mov edi, 0xac102
div ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x1fc7
mov eax, dword [0x40905c]
mov ecx, dword [0x409058]
xor eax, ecx
mov ecx, dword [0x409054]
imul eax, eax, 0xc44
xor ecx, eax
xor ecx, 0x20c3ce3
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax*4 + 0x409060]
mov cl, byte [0x409050]
imul eax, eax, 0x80d
shr eax, cl
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
ja 0x403a72
mov dword [ebp - 0x44], 0xff971
mov eax, dword [0x409078]
mov ecx, dword [0x409074]
xor edx, edx
or eax, 0x24da
div ecx
xor edx, 0x112b
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], 0x73c2
mov dword [ebp - 0x24], 0x3027
mov eax, dword [0x4090a8]
mov ecx, dword [0x409080]
mov edx, dword [0x40907c]
or ecx, edx
mov edx, dword [0x4090b4]
mov ebx, dword [0x4090b0]
or edx, ebx
shr edx, 1
xor edx, 0x928dfc28
push edx
mov edx, dword [ebp - 0x24]
xor edx, 0x6537
add edx, 0x7c32d23e
push edx
mov edx, dword [0x4090ac]
mov ebx, 0x3c58
sub ebx, edx
and ebx, 0x7a8e
and eax, 0x295c
sub ebx, 0x5a7b625f
push ebx
mov ebx, dword [ebp - 0x1c]
xor edx, edx
div ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x409084]
add ecx, 0x7d23
or eax, ecx
xor eax, 0xddddb721
sub edx, 0x902f512
push edx
push eax
call fcn.00405262
mov dword [ebp - 0x30], eax
mov eax, dword [sym.imp.USER32.dll_DdeCreateStringHandleA]
mov dword [ebp - 0x48], 0xff974
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x88], 0xff978
cmp ax, 0x8cc8
mov dword [ebp - 0x84], 0xff97c
mov eax, dword [0x4090c4]
mov ecx, dword [0x4090c0]
and eax, 0x74c3
lea eax, [ecx + eax + 0x10240282]
mov dword [ebp - 0x10], eax
mov ebx, 0x1024e4d7
jmp 0x403042
mov cl, byte [0x4090d0]
mov eax, 0x9d
sar eax, cl
mov ecx, 0x91
movzx eax, al
cdq
idiv ecx
mov byte [ebp - 0x11], dl
mov eax, dword [0x4090bc]
mov ecx, dword [0x4090b8]
and eax, ecx
shl eax, 0xf
xor eax, 0x2e10
xor edx, edx
mov ecx, 0x800ae10
div ecx
sub dword [ebp - 0x10], eax
mov ecx, dword [0x4090cc]
mov eax, dword [0x4090c8]
sub eax, ecx
or eax, 0x7e05
xor edx, edx
mov ecx, 0x253b2
div ecx
mov ecx, dword [ebp - 0x10]
xor eax, ebx
cmp ecx, eax
jae 0x403006
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
xor eax, esi
mov eax, dword [ebp + eax - 0xac0fa]
mov eax, dword [eax + 0x3c]
xor ecx, esi
add eax, dword [ebp + ecx - 0xac0fa]
test byte [0x409e5c], 1
mov dword [ebp - 0x30], eax
mov eax, dword [sym.imp.GDI32.dll_EnumMetaFile]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x10], eax
jne 0x4030ba
mov eax, dword [sym.imp.USER32.dll_SetMenuItemInfoA]
or dword [0x409e5c], 1
mov dword [0x409570], eax
mov dword [ebp - 0x24], 0xef970
mov dword [ebp - 0x5c], 0x6c6a0d02
mov ebx, 0x7b654921
test byte [0x409e5c], 2
mov dword [ebp - 0x3c], 0xff91c
jne 0x4030ee
mov eax, dword [sym.imp.USER32.dll_GetDCEx]
or dword [0x409e5c], 2
mov dword [0x40956c], eax
mov eax, dword [sym.imp.USER32.dll_AppendMenuW]
mov dword [0x40700c], 0x402485
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, edi
xor eax, esi
cmp eax, 0x710ff970
jb 0x403124
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, edi
xor eax, esi
cmp eax, 0x7ffff970
jbe 0x40327f
mov eax, dword [ebp - 0x48]
xor eax, esi
mov ecx, edi
sub ecx, eax
mov eax, dword [0x4090e4]
add dword [ebp - 0x10], ecx
mov ecx, dword [0x4090e0]
or eax, ecx
mov cl, byte [0x4090dc]
shl eax, cl
mov cl, byte [0x4090d8]
xor edx, edx
shr eax, cl
sub eax, 0x4ff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax*2 + 0x4090e8]
movzx ecx, word [0x4090d4]
and eax, 0x2a9f
add ecx, eax
mov word [ebp - 0x14], cx
mov ecx, dword [0x409104]
mov eax, dword [0x409100]
shr ecx, 0xd
imul eax, ecx
or eax, 0x4e5d
mov ecx, 0xef5f
div ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ax, word [eax*2 + 0x409108]
mov cx, word [0x4090f8]
movzx eax, ax
movzx ecx, cx
and ecx, eax
mov ax, word [0x4090fc]
movzx eax, ax
and eax, ecx
mov cx, word [0x4090f4]
movzx ecx, cx
cdq
idiv ecx
mov ax, word [ebp - 0x14]
cmp ax, dx
ja 0x403241
test byte [edx], 0x79
cmp dword [edi + 0xc], 0xffffff87
salc
out 0xf6, al
rol dword [ebp - 0x2d], cl
cmp ch, byte [edi]
scasd eax, dword es:[edi]
add dword [eax], eax
add byte [esi], dl
add byte [eax], al
xor eax, 0xc2f40ac
jo 0x4031da
or eax, 0x9153b6c7
iretd
mov eax, dword [ebp - 0x10]
test byte [0x409e5c], 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jne 0x403263
mov eax, dword [sym.imp.USER32.dll_WaitForInputIdle]
or dword [0x409e5c], 4
mov dword [0x409568], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
xor eax, esi
lea eax, [ecx + eax - 0xac102]
mov dword [ebp - 0x10], eax
mov eax, dword [sym.imp.USER32.dll_DialogBoxParamA]
jmp 0x4030fd
mov eax, dword [ebp - 0x10]
test byte [0x409e5c], 8
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
jne 0x4032a1
mov eax, dword [sym.imp.USER32.dll_GetDoubleClickTime]
or dword [0x409e5c], 8
mov dword [0x409564], eax
mov eax, dword [ebp - 0x48]
xor eax, esi
mov ecx, edi
sub ecx, eax
add dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov cl, byte [0x409128]
mov eax, dword [0x409124]
shl eax, cl
mov cl, byte [0x409120]
xor edx, edx
shr eax, 0x18
shr eax, cl
add eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*4 + 0x40912c]
mov eax, 0x4f07
div ecx
mov ecx, dword [0x40911c]
xor edx, edx
div ecx
xor edx, edx
mov ecx, 0x28fe
sub eax, 0x5d22
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x30f0
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x51cf
div ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
jb 0x40385d
mov eax, dword [ebp - 0x24]
xor eax, esi
sub eax, 0xac103
not eax
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov ax, word [0x409148]
movzx ecx, word [0x409144]
movzx eax, ax
shr eax, 2
sub eax, ecx
mov word [ebp - 0x14], ax
mov eax, dword [0x409158]
mov ecx, dword [0x409154]
xor eax, 0x142a
shr eax, 1
imul ecx, eax
mov eax, 0x255b85e
sub eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ax, word [eax*2 + 0x40915c]
mov cx, word [0x409150]
xor ax, cx
mov cx, word [0x40914c]
or cx, ax
mov ax, word [ebp - 0x14]
cmp ax, cx
jb 0x403e91
test byte [0x409e5c], 0x10
jne 0x4033ac
mov eax, dword [sym.imp.USER32.dll_MapVirtualKeyA]
or dword [0x409e5c], 0x10
mov dword [0x409560], eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
add eax, edi
xor eax, esi
cmp eax, 0xe233d
je 0x4033cd
mov eax, dword [ebp - 0x24]
xor eax, esi
mov ecx, edi
sub ecx, eax
add dword [ebp - 0x28], ecx
neg edx
jmp 0x403392
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
xor eax, esi
mov eax, dword [ebp + eax - 0xac12a]
mov eax, dword [eax + 0x3c]
xor ecx, esi
add eax, dword [ebp + ecx - 0xac12a]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0x78
test byte [0x409e5c], 0x40
mov dword [ebp - 0xc], eax
jne 0x40340e
mov eax, dword [sym.imp.USER32.dll_VkKeyScanW]
or dword [0x409e5c], 0x40
mov dword [0x40955c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, esi
sub eax, edi
cmp dword [ecx], eax
je 0x4035c6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, esi
sub eax, edi
cmp dword [ecx + 4], eax
je 0x4035c6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
add eax, dword [ecx]
mov ecx, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 8]
mov ebx, dword [eax + 0xc]
xor ecx, esi
mov edx, dword [ebp + ecx - 0xac12a]
mov ecx, dword [edx + ebx]
mov edx, dword [edx + ebx + 4]
add ecx, 0x5dccfd3
adc edx, 0
mov ebx, 0x52cecdc
xor ecx, ebx
xor edx, 0
cmp ecx, 0x776da89d
jne 0x403481
cmp edx, 0x6c642e6c
je 0x4036cd
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0xc]
xor ecx, esi
mov edx, dword [ebp + ecx - 0xac12a]
mov ecx, dword [edx + eax]
mov eax, dword [edx + eax + 4]
add ecx, 0x5dccfd3
adc eax, 0
xor ecx, ebx
xor eax, 0
cmp ecx, 0x5103f9c2
jne 0x4035c6
cmp eax, 0x32334c45
jne 0x4035c6
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 8]
xor eax, esi
sub eax, edi
xor ecx, esi
mov dword [ebp + ecx*4 - 0x2b0460], eax
mov ebx, 0x894a2997
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
xor eax, esi
sub eax, edi
xor ecx, esi
mov dword [ebp + ecx*4 - 0x2b0460], eax
mov dword [ebp - 0x34], 0x65a0e14
mov ax, word [0x40916c]
mov cl, byte [0x409168]
shl ax, 8
movzx eax, ax
shr eax, cl
xor edx, edx
mov ecx, 0x2288
or eax, 0x35e2
mov word [ebp - 0x14], ax
mov eax, dword [0x409170]
or eax, 0x4651
div ecx
shl edx, 0x17
add edx, 0x12800003
mov dword [ebp - 0x18], edx
mov ax, word [0x409178]
movzx ecx, ax
mov ax, word [0x409174]
movzx eax, ax
cdq
idiv ecx
mov ecx, dword [ebp - 0x18]
mov cx, word [ecx*2 + 0x40917c]
movzx ecx, cx
movzx eax, dx
cdq
idiv ecx
mov ax, word [ebp - 0x14]
cmp ax, dx
je 0x403100
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc4], eax
cmp ebx, ecx
mov eax, 0x77f0
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0x14]
movzx eax, ax
cdq
push 0xa
pop ecx
idiv ecx
movzx eax, ax
shr eax, 1
mov word [ebp - 0x14], ax
mov ax, word [0x409194]
mov cx, word [0x409198]
add ax, cx
mov cx, word [0x409190]
movzx eax, ax
cdq
movzx ecx, cx
idiv ecx
mov ax, word [ebp - 0x14]
cmp ax, dx
cmp eax, edx
mov eax, dword [ebp - 8]
jbe 0x4035fc
mov ecx, dword [ebp - 0xc]
xor eax, esi
sub eax, edi
cmp dword [ecx], eax
jne 0x403420
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov al, byte [0x4091a0]
mov cl, byte [0x40919f]
movzx eax, al
shr eax, 1
cdq
movzx ecx, cl
idiv ecx
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x48]
xor eax, esi
lea eax, [ecx + eax - 0xac102]
mov dword [ebp - 0x10], eax
jmp 0x403100
xor eax, esi
sub eax, edi
mov dword [ebp - 0x34], eax
mov byte [ebp - 1], 0xf1
mov al, byte [0x40919c]
mov cl, byte [0x40919b]
add al, cl
mov cl, byte [ebp - 1]
movzx eax, al
movzx edx, cl
mov cl, byte [0x40919a]
or edx, eax
shl edx, cl
mov byte [ebp - 1], dl
mov al, byte [0x40919e]
mov cl, byte [0x40919d]
add al, cl
mov cl, byte [ebp - 1]
shl al, 5
cmp cl, al
ja 0x4036a2
lcall 0xd3d0, 0xb004091
loop 0x4035b0
push ebp
jmp dword [eax + 0x40919e]
pop ebp
popal
int 0xe6
je 0x40361f
dec eax
salc
aad 0xd0
xchg ah, dh
into
invalid
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x44]
xor eax, esi
sub eax, edi
push eax
mov eax, dword [ebp - 0x44]
xor eax, esi
sub eax, edi
push eax
mov eax, dword [ebp - 0x34]
push 0x40969e
push dword [ebp + eax - 0x28]
call fcn.00402485
add esp, 0x14
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0xd1e
mov eax, dword [0x4091b0]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 0xd05]
shl eax, 0xa
xor eax, 0x6778eb2b
mov dword [ebp - 0xc], eax
mov eax, dword [0x4091ac]
mov ecx, 0x511f
xor edx, edx
div ecx
mov ecx, 0x671a5b5a
jmp 0x40374d
mov al, byte [0x4091b5]
mov dl, 0xe8
imul dl
movzx edx, byte [0x4091b4]
movzx eax, al
add edx, eax
mov byte [ebp - 0x11], dl
mov eax, dword [0x4091a8]
xor edx, edx
mov ebx, 0x7f73
div ebx
mov ebx, dword [0x4091a4]
mov eax, edx
xor edx, edx
div ebx
mov edx, 0x47dc
mov ebx, 0x511f
sub edx, eax
add dword [ebp - 0xc], edx
mov eax, dword [0x4091ac]
xor edx, edx
div ebx
mov eax, dword [ebp - 0xc]
sub edx, 0x2291
xor edx, ecx
cmp eax, edx
jbe 0x403703
mov eax, dword [0x4091b8]
xor eax, 0x441d
sub eax, 0x7efe
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4091d0]
and eax, 0x53e2
push 3
xor edx, edx
pop ecx
div ecx
mov cl, byte [0x4091cc]
shl eax, cl
sub eax, 0x3ffc
mov dword [ebp - 0x18], eax
mov cl, byte [0x4091dc]
mov eax, 0x3255
shr eax, cl
sub eax, 0x18f
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x4091d4]
mov cl, byte [0x4091c9]
sub al, 0x79
add al, cl
sub eax, 0xf
mov byte [ebp - 1], al
jmp 0x40380e
mov ax, word [0x4091f0]
movzx ecx, ax
mov ax, word [0x4091ec]
movzx eax, ax
shr eax, cl
mov ecx, 0x6ef
cdq
idiv ecx
movzx eax, dx
shr eax, 5
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x3c]
mov al, byte [eax + 0x4091c0]
movzx ecx, al
mov al, byte [0x4091bc]
or al, 0xf7
xor al, 0xf5
shl al, cl
movzx ecx, byte [ebp - 1]
movzx eax, al
xor eax, 0xa1
sub ecx, eax
mov byte [ebp - 1], cl
mov al, byte [0x4091e1]
mov cl, byte [0x4091e0]
imul cl
mov cl, al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 0x4091e4]
add al, cl
mov cl, 0x14
imul cl
mov cl, byte [ebp - 1]
add al, 0x53
cmp cl, al
jae 0x4037c0
sub ebx, edx
and eax, edx
test byte [0x409e5c], 0x80
mov dword [ebp - 0x5c], 0x47781d3c
jne 0x40385d
mov eax, dword [sym.imp.WININET.dll_InternetReadFile]
or dword [0x409e5c], 0x80
mov dword [0x409558], eax
mov dword [ebp - 0x7c], 0x6c4a0d15
cmp cl, 0x69
mov dword [ebp - 0x74], 0x6e69311c
mov dword [ebp - 0x3c], 0x58cf
mov dword [ebp - 0x18], 7
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
shr eax, cl
xor edx, edx
mov ecx, 0x25b6
div ecx
sub edx, 0xae
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xbc], 0x697
mov dword [ebp - 0xb8], 0x7e1a
mov dword [ebp - 0xb4], 0x615a
mov dword [ebp - 0xb0], 0x15c9
mov dword [ebp - 0xac], 0x3c28
mov dword [ebp - 0xa8], 0x7946
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xbc]
mov ecx, dword [0x4091f8]
or ecx, 0x62de
xor eax, ecx
mov ecx, dword [0x4091f4]
xor edx, edx
div ecx
mov dword [ebp - 0x3c], eax
mov cl, byte [0x409204]
mov eax, dword [0x409200]
shl eax, cl
mov ecx, dword [0x4091fc]
or ecx, eax
add ecx, 0x77ffd3d1
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov cl, byte [eax*4 + 0x40920c]
mov edx, dword [0x409208]
mov eax, 0x4adb
sub eax, edx
shl eax, cl
mov ecx, dword [ebp - 0x3c]
shr eax, 3
cmp ecx, eax
jae 0x403a41
mov dword [ebp - 0xa4], 0x751514
cmp bx, 0xba43
mov dword [ebp - 0x90], 0x36d3ce2
mov dword [ebp - 0x8c], 0x6e0072
mov eax, 0x100
mov dword [ebp - 0xa0], 0x3643ce4
mov dword [ebp - 0x9c], 0x320033
test dword [0x409e5c], eax
jne 0x403990
or dword [0x409e5c], eax
mov eax, dword [sym.imp.USER32.dll_GetScrollPos]
mov dword [0x409554], eax
mov dword [ebp - 0x78], 0xff960
mov byte [ebp - 0x1d], 8
mov eax, dword [0x40923c]
mov ecx, dword [0x409234]
imul eax, eax, 0x5515
and ecx, eax
mov eax, dword [0x409238]
and eax, ecx
xor eax, 0x211
mov dword [ebp - 0x18], eax
mov al, byte [0x409248]
movzx ecx, al
mov al, byte [0x409247]
movzx eax, al
or eax, ecx
push 0x41
cdq
pop ecx
idiv ecx
imul edx, edx, 3
mov byte [ebp - 1], dl
jmp 0x403a1b
mov al, byte [0x40924a]
mov cl, byte [0x409249]
movzx eax, al
xor eax, 0x87
shr eax, cl
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x409240]
mov cl, byte [ebp - 0x1d]
add al, cl
mov cl, byte [0x409230]
shr al, 1
shl al, cl
movzx ecx, byte [ebp - 1]
sub al, 0xf
movzx eax, al
add ecx, eax
mov byte [ebp - 1], cl
mov al, byte [0x409246]
movzx eax, al
shr eax, 2
push 0x57
cdq
pop ecx
idiv ecx
mov al, byte [ebp - 1]
sub dl, 0x67
cmp al, dl
jbe 0x4039dd
mov dword [ebp - 0x80], 0xff966
bts ecx, 0x1e
mov eax, dword [ebp - 8]
xor eax, esi
mov eax, dword [ebp + eax - 0xac12a]
mov dword [ebp - 0x2c], eax
mov eax, dword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
xor eax, esi
mov eax, dword [ebp + eax - 0xac12e]
xor ecx, esi
mov ecx, dword [ebp + ecx - 0xac0f6]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x18], ecx
cmp bh, 0x80
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
xor eax, esi
mov eax, dword [edx + eax*8 - 0x560798]
xor ecx, esi
add eax, dword [ebp + ecx - 0xac12e]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor eax, esi
mov eax, dword [ebp + eax - 0xac12e]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.USER32.dll_IsMenu]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor eax, esi
mov eax, dword [ebp + eax - 0xac12e]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x18], 0x533f
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x16ea284a
add eax, dword [0x409258]
xor eax, 0xeb0c841c
mov dword [ebp - 0xc], eax
mov ecx, dword [0x409254]
mov eax, 0x71c1
sub eax, ecx
mov ecx, 0x65bcdff7
jmp 0x403b5b
mov eax, 0x5cf0
mov word [ebp - 0x14], ax
movzx eax, word [ebp - 0x14]
mov edx, 0xfc45
imul ax, dx
movzx edx, word [0x40925c]
mov ebx, 0x5c78
xor eax, edx
and eax, 0x1e86
mov word [ebp - 0x14], ax
mov eax, dword [0x409250]
xor edx, edx
div ebx
mov ebx, dword [0x40924c]
mov eax, 0x4000
or ebx, edx
sub eax, ebx
add dword [ebp - 0xc], eax
mov edx, dword [0x409254]
mov eax, 0x71c1
sub eax, edx
mov edx, dword [ebp - 0xc]
xor eax, ecx
cmp edx, eax
jbe 0x403b06
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor eax, esi
mov eax, dword [ebp + eax - 0xac12e]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x30], eax
mov ax, word [0x409270]
movzx ecx, ax
mov ax, word [0x40926c]
movzx eax, ax
xor eax, ecx
mov cx, word [0x409268]
movzx ecx, cx
cdq
idiv ecx
mov ebx, 0x417d
xor eax, 0xb919
mov word [ebp - 0x14], ax
jmp 0x403c17
mov eax, dword [0x409284]
mov cl, byte [0x409280]
imul eax, eax, 0x5a7e
shl eax, cl
xor edx, edx
push 7
sub eax, 0x5ffffff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax*4 + 0x409288]
mov ecx, dword [0x40927c]
or eax, ecx
mov ecx, dword [0x409278]
div ecx
pop ecx
xor edx, edx
div ecx
mov dword [ebp - 0x18], eax
mov ax, word [0x409264]
mov cx, word [0x409260]
shl ax, 7
or cx, ax
shr cx, 1
mov eax, 0x778c
sub cx, ax
movzx eax, cx
movzx ecx, word [ebp - 0x14]
sub ecx, eax
mov word [ebp - 0x14], cx
mov ax, word [0x409274]
mov ecx, 0x3cc
sub cx, ax
mov eax, 0x7c7f
and cx, ax
lea eax, [ecx + ebx]
mov cx, word [ebp - 0x14]
cmp cx, ax
jne 0x403baa
mov eax, dword [ebp - 8]
xor eax, esi
sub eax, edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx + 0x18]
je 0x403fef
mov ecx, dword [0x4092b0]
xor edx, edx
mov eax, 0x52f2
sub eax, ecx
mov ecx, 0x3be79f
div ecx
mov ecx, dword [0x4092ac]
xor edx, edx
mov dword [ebp - 0xc], 0xb94b1d5a
mov ebx, 0x19f3
xor ecx, eax
mov eax, 0x1494
sub eax, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4092bc]
mov ecx, dword [0x4092b8]
xor eax, 0x30be
div ecx
mov ecx, dword [0x4092b4]
mov eax, edx
xor edx, edx
div ecx
sub edx, 0x153
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax*4 + 0x4092c0]
xor edx, edx
mov eax, 0x6359
div ecx
mov ecx, dword [0x4092a4]
mov eax, dword [0x4092f0]
or eax, 0x6719
and ecx, 0x6a1f
sub dword [ebp - 0xc], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax*4 + 0x4092d8]
add eax, dword [ebp - 0xc]
or edx, 0x7628
sub edx, 0x295ef0e0
push edx
push eax
mov eax, dword [0x4092a8]
and eax, 0x3810
sub eax, 0x1bc5e33f
push eax
mov eax, dword [0x4092a0]
imul eax, ecx
xor eax, 0x7774
mov ecx, 0x24b2ad8b
sub ecx, eax
push ecx
call fcn.004052c9
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
xor eax, esi
mov eax, dword [ebp + eax - 0xac12e]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x5c]
xor ecx, esi
sub ecx, edi
cmp dword [eax], ecx
jne 0x403dd7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
xor eax, esi
mov eax, dword [ebp + eax - 0xac12e]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x7c]
xor edx, esi
xor ecx, esi
sub edx, edi
cmp dword [ecx + eax - 0xac102], edx
jne 0x403dd7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
xor eax, esi
mov eax, dword [ebp + eax - 0xac12e]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x74]
xor edx, esi
xor ecx, esi
sub edx, edi
cmp dword [ecx + eax - 0xac102], edx
jne 0x403dd7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
xor eax, esi
mov eax, dword [ebp + eax - 0xac12e]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0xa4]
xor edx, esi
xor ecx, esi
sub edx, edi
cmp dword [ecx + eax - 0xac102], edx
je 0x403deb
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
xor eax, esi
lea eax, [eax + ecx - 0xac102]
jmp 0x403c44
mov al, byte [0x4092f5]
mov cl, byte [0x4092f4]
movzx eax, al
shr eax, 1
movzx ecx, cl
cdq
idiv ecx
sub edx, 0x79
mov byte [ebp - 0x11], dl
mov byte [ebp - 1], 0xa5
mov byte [ebp - 0x1d], 7
mov cl, byte [ebp - 0x1d]
mov al, byte [ebp - 1]
shl al, cl
mov cl, byte [0x4092f6]
add al, cl
mov cl, byte [ebp - 0x11]
cmp cl, al
ja 0x403e91
xchg esp, eax
add esi, dword [edx + 0x27a21337]
test bl, dl
movsb byte es:[edi], byte [esi]
push ecx
add byte [ebx - 0x77], dh
outsd dx, dword [esi]
dec edx
add al, byte [eax]
add byte [edi], cl
add byte [eax], al
pop es
jb 0x403ec0
sbb dl, byte [0x25c24f8b]
mov al, byte [0x5b125533]
and cl, byte [edi]
mov ebx, 0xedc10179
movsb byte es:[edi], byte [esi]
shl dword [ebp + 0x5fbbf008], 1
ret 0x233c
mov edx, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x8c]
mov eax, dword [ebp - 8]
xor ebx, 0
xor edx, 0x52cecdc
mov ecx, 0xfa23302d
add edx, ecx
adc ebx, 0xffffffff
xor eax, esi
mov dword [ebp + eax*8 - 0x560880], edx
mov dword [ebp + eax*8 - 0x56087c], ebx
mov edx, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x44]
xor edx, 0x52cecdc
xor ebx, 0
add edx, ecx
adc ebx, 0xffffffff
xor eax, esi
mov dword [ebp + eax*8 - 0x560880], edx
mov dword [ebp + eax*8 - 0x56087c], ebx
cmp cx, 0x1e33
lea eax, [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov eax, 0x200
test dword [0x409e5c], eax
jne 0x403f18
imul dword [ecx + 0x60958bff]
invalid
or dword [0x409e5c], eax
mov eax, dword [sym.imp.USER32.dll_MessageBoxExW]
mov dword [0x409550], eax
mov eax, dword [ebp - 0x78]
xor eax, esi
sub eax, edi
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x80]
xor eax, esi
sub eax, edi
mov word [ebp - 0x4e], ax
cmp ch, 0x50
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc0], eax
mov eax, 0x400
mov dword [ebp - 0x38], 0x65a0e14
test dword [0x409e5c], eax
jne 0x403f5e
or dword [0x409e5c], eax
mov eax, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [0x40954c], eax
mov eax, 0x800
test dword [0x409e5c], eax
jne 0x403f7b
or dword [0x409e5c], eax
mov eax, dword [sym.imp.USER32.dll_DefDlgProcA]
mov dword [0x409548], eax
mov eax, dword [ebp - 8]
xor eax, esi
sub eax, edi
mov dword [ebp - 0x38], eax
mov eax, dword [0x4092f8]
add eax, 0xc54
shl eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [0x4092fc]
mov ecx, dword [ebp - 0x18]
sub eax, 0x4eb8
shr eax, 5
cmp ecx, eax
jbe 0x403a9f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x94]
movzx eax, word [ecx + eax*2]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 8]
xor ecx, esi
sub ecx, edi
push ecx
mov ecx, dword [ebp - 8]
xor ecx, esi
sub ecx, edi
push ecx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + ecx - 0x2c]
add ecx, dword [edx + eax*4]
call ecx
mov eax, dword [ebp - 8]
xor eax, esi
mov eax, dword [ebp + eax - 0xac142]
jmp 0x403ff6
mov eax, dword [ebp - 8]
xor eax, esi
sub eax, edi
pop edi
pop esi
pop ebx
leave
ret 8