Function at 0x403e78
Capabilities:
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], 0xdf970
mov ecx, dword [0x40a0e8]
xor edx, edx
mov eax, 0x7660
div ecx
mov ecx, dword [0x40a0e4]
xor edx, edx
mov esi, 0x63872
mov edi, 0xbc102
div ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x1fc7
mov eax, dword [0x40a0f8]
mov ecx, dword [0x40a0f4]
xor eax, ecx
mov ecx, dword [0x40a0f0]
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 + 0x40a0fc]
mov cl, byte [0x40a0ec]
imul eax, eax, 0x80d
shr eax, cl
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
ja 0x404a72
mov dword [ebp - 0x44], 0xdf971
mov eax, dword [0x40a114]
mov ecx, dword [0x40a110]
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 [0x40a144]
mov ecx, dword [0x40a11c]
mov edx, dword [0x40a118]
or ecx, edx
mov edx, dword [0x40a150]
mov ebx, dword [0x40a14c]
or edx, ebx
shr edx, 1
xor edx, 0x928dfc28
push edx
mov edx, dword [ebp - 0x24]
xor edx, reloc.COMCTL32.dll_ImageList_ReplaceIcon
add edx, 0x7c32d23e
push edx
mov edx, dword [0x40a148]
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 + 0x40a120]
add ecx, 0x7d23
or eax, ecx
xor eax, 0xddddb721
sub edx, 0x902f512
push edx
push eax
call fcn.0040625b
mov dword [ebp - 0x30], eax
mov eax, dword [sym.imp.USER32.dll_DdeCreateStringHandleA]
mov dword [ebp - 0x48], 0xdf974
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x88], 0xdf978
cmp ax, 0x8cc8
mov dword [ebp - 0x84], 0xdf97c
mov eax, dword [0x40a160]
mov ecx, dword [0x40a15c]
and eax, 0x74c3
lea eax, [ecx + eax + 0x10240282]
mov dword [ebp - 0x10], eax
mov ebx, 0x1024e4d7
jmp 0x404042
mov cl, byte [0x40a16c]
mov eax, 0x9d
sar eax, cl
mov ecx, 0x91
movzx eax, al
cdq
idiv ecx
mov byte [ebp - 0x11], dl
mov eax, dword [0x40a158]
mov ecx, dword [0x40a154]
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 [0x40a168]
mov eax, dword [0x40a164]
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 0x404006
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
xor eax, esi
mov eax, dword [ebp + eax - 0xbc0fa]
mov eax, dword [eax + 0x3c]
xor ecx, esi
add eax, dword [ebp + ecx - 0xbc0fa]
test byte [0x40aef0], 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 0x4040ba
mov eax, dword [sym.imp.USER32.dll_SetMenuItemInfoA]
or dword [0x40aef0], 1
mov dword [0x40a60c], eax
mov dword [ebp - 0x24], 0xaf970
mov dword [ebp - 0x5c], 0x6c760d02
mov ebx, 0x7b654921
test byte [0x40aef0], 2
mov dword [ebp - 0x3c], 0xdf91c
jne 0x4040ee
mov eax, dword [sym.imp.USER32.dll_GetDCEx]
or dword [0x40aef0], 2
mov dword [0x40a608], eax
mov eax, dword [sym.imp.USER32.dll_AppendMenuW]
mov dword [0x408010], 0x403485
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, edi
xor eax, esi
cmp eax, 0x710df970
jb 0x404124
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, edi
xor eax, esi
cmp eax, 0x7ffdf970
jbe 0x40427f
mov eax, dword [ebp - 0x48]
xor eax, esi
mov ecx, edi
sub ecx, eax
mov eax, dword [0x40a180]
add dword [ebp - 0x10], ecx
mov ecx, dword [0x40a17c]
or eax, ecx
mov cl, byte [0x40a178]
shl eax, cl
mov cl, byte [0x40a174]
xor edx, edx
shr eax, cl
sub eax, 0x4ff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax*2 + 0x40a184]
movzx ecx, word [0x40a170]
and eax, 0x2a9f
add ecx, eax
mov word [ebp - 0x14], cx
mov ecx, dword [0x40a1a0]
mov eax, dword [0x40a19c]
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 + 0x40a1a4]
mov cx, word [0x40a194]
movzx eax, ax
movzx ecx, cx
and ecx, eax
mov ax, word [0x40a198]
movzx eax, ax
and eax, ecx
mov cx, word [0x40a190]
movzx ecx, cx
cdq
idiv ecx
mov ax, word [ebp - 0x14]
cmp ax, dx
ja 0x404241
mov edi, 0x570ce60f
mov esi, 0x8dbee754
dec edx
cmp al, 0x79
sbb eax, 0x1af1aac
add byte [eax], al
push esi
add byte [eax], al
add byte [ecx], cl
out 0xb1, al
sbb al, dh
test dword [eax + eax*2], ecx
sahf
mov al, byte [0x2f254d]
fcmovne st(0), st(3)
das
inc ebp
inc ebp
sbb cl, byte [ecx + 0x45]
invalid
mov eax, dword [ebp - 0x10]
test byte [0x40aef0], 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jne 0x404263
mov eax, dword [sym.imp.USER32.dll_WaitForInputIdle]
or dword [0x40aef0], 4
mov dword [0x40a604], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
xor eax, esi
lea eax, [ecx + eax - 0xbc102]
mov dword [ebp - 0x10], eax
mov eax, dword [sym.imp.USER32.dll_DialogBoxParamA]
jmp 0x4040fd
mov eax, dword [ebp - 0x10]
test byte [0x40aef0], 8
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
jne 0x4042a1
mov eax, dword [sym.imp.USER32.dll_GetDoubleClickTime]
or dword [0x40aef0], 8
mov dword [0x40a600], 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 [0x40a1c4]
mov eax, dword [0x40a1c0]
shl eax, cl
mov cl, byte [0x40a1bc]
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 + 0x40a1c8]
mov eax, 0x4f07
div ecx
mov ecx, dword [0x40a1b8]
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 0x40485d
mov eax, dword [ebp - 0x24]
xor eax, esi
sub eax, 0xbc103
not eax
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov ax, word [0x40a1e4]
movzx ecx, word [0x40a1e0]
movzx eax, ax
shr eax, 2
sub eax, ecx
mov word [ebp - 0x14], ax
mov eax, dword [0x40a1f4]
mov ecx, dword [0x40a1f0]
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 + 0x40a1f8]
mov cx, word [0x40a1ec]
xor ax, cx
mov cx, word [0x40a1e8]
or cx, ax
mov ax, word [ebp - 0x14]
cmp ax, cx
jb 0x404e91
test byte [0x40aef0], 0x10
jne 0x4043ac
mov eax, dword [sym.imp.USER32.dll_MapVirtualKeyA]
or dword [0x40aef0], 0x10
mov dword [0x40a5fc], eax
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
add eax, edi
xor eax, esi
cmp eax, 0xa233d
je 0x4043cd
mov eax, dword [ebp - 0x24]
xor eax, esi
mov ecx, edi
sub ecx, eax
add dword [ebp - 0x28], ecx
neg edx
jmp 0x404392
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
xor eax, esi
mov eax, dword [ebp + eax - 0xbc12a]
mov eax, dword [eax + 0x3c]
xor ecx, esi
add eax, dword [ebp + ecx - 0xbc12a]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0x78
test byte [0x40aef0], 0x40
mov dword [ebp - 0xc], eax
jne 0x40440e
mov eax, dword [sym.imp.USER32.dll_VkKeyScanW]
or dword [0x40aef0], 0x40
mov dword [0x40a5f8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, esi
sub eax, edi
cmp dword [ecx], eax
je 0x4045c6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, esi
sub eax, edi
cmp dword [ecx + 4], eax
je 0x4045c6
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 - 0xbc12a]
mov ecx, dword [edx + ebx]
mov edx, dword [edx + ebx + 4]
add ecx, 0x6dccfd3
adc edx, 0
mov ebx, 0x62cecdc
xor ecx, ebx
xor edx, 0
cmp ecx, 0x756da89d
jne 0x404481
cmp edx, 0x6c642e6c
je 0x4046cd
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0xc]
xor ecx, esi
mov edx, dword [ebp + ecx - 0xbc12a]
mov ecx, dword [edx + eax]
mov eax, dword [edx + eax + 4]
add ecx, 0x6dccfd3
adc eax, 0
xor ecx, ebx
xor eax, 0
cmp ecx, 0x5303f9c2
jne 0x4045c6
cmp eax, 0x32334c45
jne 0x4045c6
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 8]
xor eax, esi
sub eax, edi
xor ecx, esi
mov dword [ebp + ecx*4 - 0x2f0460], 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 - 0x2f0460], eax
mov dword [ebp - 0x34], 0x6660e14
mov ax, word [0x40a208]
mov cl, byte [0x40a204]
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 [0x40a20c]
or eax, 0x4651
div ecx
shl edx, 0x17
add edx, 0x12800003
mov dword [ebp - 0x18], edx
mov ax, word [0x40a214]
movzx ecx, ax
mov ax, word [0x40a210]
movzx eax, ax
cdq
idiv ecx
mov ecx, dword [ebp - 0x18]
mov cx, word [ecx*2 + 0x40a218]
movzx ecx, cx
movzx eax, dx
cdq
idiv ecx
mov ax, word [ebp - 0x14]
cmp ax, dx
je 0x404100
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 [0x40a230]
mov cx, word [0x40a234]
add ax, cx
mov cx, word [0x40a22c]
movzx eax, ax
cdq
movzx ecx, cx
idiv ecx
mov ax, word [ebp - 0x14]
cmp ax, dx
mov eax, dword [ebp - 8]
jbe 0x4045fc
mov ecx, dword [ebp - 0xc]
xor eax, esi
sub eax, edi
cmp dword [ecx], eax
jne 0x404420
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov al, byte [0x40a23c]
mov cl, byte [0x40a23b]
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 - 0xbc102]
mov dword [ebp - 0x10], eax
jmp 0x404100
xor eax, esi
sub eax, edi
mov dword [ebp - 0x34], eax
mov byte [ebp - 1], 0xf1
mov al, byte [0x40a238]
mov cl, byte [0x40a237]
add al, cl
mov cl, byte [ebp - 1]
movzx eax, al
movzx edx, cl
mov cl, byte [0x40a236]
or edx, eax
shl edx, cl
mov byte [ebp - 1], dl
mov al, byte [0x40a23a]
mov cl, byte [0x40a239]
add al, cl
mov cl, byte [ebp - 1]
shl al, 5
cmp cl, al
ja 0x4046a2
xchg byte [ebx], ah
insd dword es:[edi], dx
test dword [edx - 0x36], ebp
leave
pushal
add dl, byte [ebp + 0x1c]
and eax, 0x522a529
add al, byte [eax]
add byte [ebp], al
add byte [eax], al
push ebp
sal byte [esi - 0x3722c0de], cl
push 0xfffffffffffffffa
int1
loope 0x4046be
std
retf 0xa4e3
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 0x40a73a
push dword [ebp + eax - 0x28]
call fcn.00403485
add esp, 0x14
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0xd1e
mov eax, dword [0x40a24c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 0xd05]
shl eax, 0xa
xor eax, 0x6778eb2b
mov dword [ebp - 0xc], eax
mov eax, dword [0x40a248]
mov ecx, 0x511f
xor edx, edx
div ecx
mov ecx, 0x671a5b5a
jmp 0x40474d
mov al, byte [0x40a251]
mov dl, 0xe8
imul dl
movzx edx, byte [0x40a250]
movzx eax, al
add edx, eax
mov byte [ebp - 0x11], dl
mov eax, dword [0x40a244]
xor edx, edx
mov ebx, 0x7f73
div ebx
mov ebx, dword [0x40a240]
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 [0x40a248]
xor edx, edx
div ebx
mov eax, dword [ebp - 0xc]
sub edx, 0x2291
xor edx, ecx
cmp eax, edx
jbe 0x404703
mov eax, dword [0x40a254]
xor eax, 0x441d
sub eax, 0x7efe
mov dword [ebp - 0x3c], eax
mov eax, dword [0x40a26c]
and eax, 0x53e2
push 3
xor edx, edx
pop ecx
div ecx
mov cl, byte [0x40a268]
shl eax, cl
sub eax, 0x3ffc
mov dword [ebp - 0x18], eax
mov cl, byte [0x40a278]
mov eax, 0x3255
shr eax, cl
sub eax, 0x18f
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x40a270]
mov cl, byte [0x40a265]
sub al, 0x79
add al, cl
sub eax, 0xf
mov byte [ebp - 1], al
jmp 0x40480e
mov ax, word [0x40a28c]
movzx ecx, ax
mov ax, word [0x40a288]
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 + 0x40a25c]
movzx ecx, al
mov al, byte [0x40a258]
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 [0x40a27d]
mov cl, byte [0x40a27c]
imul cl
mov cl, al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 0x40a280]
add al, cl
mov cl, 0x14
imul cl
mov cl, byte [ebp - 1]
add al, 0x53
cmp cl, al
jae 0x4047c0
sub ebx, edx
and eax, edx
test byte [0x40aef0], 0x80
mov dword [ebp - 0x5c], 0x47781d3c
jne 0x40485d
mov eax, dword [sym.imp.WININET.dll_InternetReadFile]
or dword [0x40aef0], 0x80
mov dword [0x40a5f4], eax
mov dword [ebp - 0x7c], 0x6c560d15
cmp cl, 0x69
mov dword [ebp - 0x74], 0x6e6b311c
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 [0x40a294]
or ecx, 0x62de
xor eax, ecx
mov ecx, dword [0x40a290]
xor edx, edx
div ecx
mov dword [ebp - 0x3c], eax
mov cl, byte [0x40a2a0]
mov eax, dword [0x40a29c]
shl eax, cl
mov ecx, dword [0x40a298]
or ecx, eax
add ecx, 0x77ffd3d1
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov cl, byte [eax*4 + 0x40a2a8]
mov edx, dword [0x40a2a4]
mov eax, 0x4adb
sub eax, edx
shl eax, cl
mov ecx, dword [ebp - 0x3c]
shr eax, 3
cmp ecx, eax
jae 0x404a41
mov dword [ebp - 0xa4], 0x771514
cmp bx, 0xba43
mov dword [ebp - 0x90], 0x16d3ce2
mov dword [ebp - 0x8c], 0x6e0072
mov eax, 0x100
mov dword [ebp - 0xa0], 0x1643ce4
mov dword [ebp - 0x9c], 0x320033
test dword [0x40aef0], eax
jne 0x404990
or dword [0x40aef0], eax
mov eax, dword [sym.imp.USER32.dll_GetScrollPos]
mov dword [0x40a5f0], eax
mov dword [ebp - 0x78], 0xdf960
mov byte [ebp - 0x1d], 8
mov eax, dword [0x40a2d8]
mov ecx, dword [0x40a2d0]
imul eax, eax, 0x5515
and ecx, eax
mov eax, dword [0x40a2d4]
and eax, ecx
xor eax, 0x211
mov dword [ebp - 0x18], eax
mov al, byte [0x40a2e4]
movzx ecx, al
mov al, byte [0x40a2e3]
movzx eax, al
or eax, ecx
push 0x41
cdq
pop ecx
idiv ecx
imul edx, edx, 3
mov byte [ebp - 1], dl
jmp 0x404a1b
mov al, byte [0x40a2e6]
mov cl, byte [0x40a2e5]
movzx eax, al
xor eax, 0x87
shr eax, cl
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x40a2dc]
mov cl, byte [ebp - 0x1d]
add al, cl
mov cl, byte [0x40a2cc]
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 [0x40a2e2]
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 0x4049dd
mov dword [ebp - 0x80], 0xdf966
bts ecx, 0x1e
mov eax, dword [ebp - 8]
xor eax, esi
mov eax, dword [ebp + eax - 0xbc12a]
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 - 0xbc12e]
xor ecx, esi
mov ecx, dword [ebp + ecx - 0xbc0f6]
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 - 0x5e0798]
xor ecx, esi
add eax, dword [ebp + ecx - 0xbc12e]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor eax, esi
mov eax, dword [ebp + eax - 0xbc12e]
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 - 0xbc12e]
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 [0x40a2f4]
xor eax, 0xeb0c841c
mov dword [ebp - 0xc], eax
mov ecx, dword [0x40a2f0]
mov eax, 0x71c1
sub eax, ecx
mov ecx, 0x65bcdff7
jmp 0x404b5b
mov eax, 0x5cf0
mov word [ebp - 0x14], ax
movzx eax, word [ebp - 0x14]
mov edx, 0xfc45
imul ax, dx
movzx edx, word [0x40a2f8]
mov ebx, 0x5c78
xor eax, edx
and eax, 0x1e86
mov word [ebp - 0x14], ax
mov eax, dword [0x40a2ec]
xor edx, edx
div ebx
mov ebx, dword [0x40a2e8]
mov eax, 0x4000
or ebx, edx
sub eax, ebx
add dword [ebp - 0xc], eax
mov edx, dword [0x40a2f0]
mov eax, 0x71c1
sub eax, edx
mov edx, dword [ebp - 0xc]
xor eax, ecx
cmp edx, eax
jbe 0x404b06
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor eax, esi
mov eax, dword [ebp + eax - 0xbc12e]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x30], eax
mov ax, word [0x40a30c]
movzx ecx, ax
mov ax, word [0x40a308]
movzx eax, ax
xor eax, ecx
mov cx, word [0x40a304]
movzx ecx, cx
cdq
idiv ecx
mov ebx, 0x417d
xor eax, 0xb919
mov word [ebp - 0x14], ax
jmp 0x404c17
mov eax, dword [0x40a320]
mov cl, byte [0x40a31c]
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 + 0x40a324]
mov ecx, dword [0x40a318]
or eax, ecx
mov ecx, dword [0x40a314]
div ecx
pop ecx
xor edx, edx
div ecx
mov dword [ebp - 0x18], eax
mov ax, word [0x40a300]
mov cx, word [0x40a2fc]
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 [0x40a310]
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 0x404baa
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 0x404fef
mov ecx, dword [0x40a34c]
xor edx, edx
mov eax, 0x52f2
sub eax, ecx
mov ecx, 0x3be79f
div ecx
mov ecx, dword [0x40a348]
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 [0x40a358]
mov ecx, dword [0x40a354]
xor eax, 0x30be
div ecx
mov ecx, dword [0x40a350]
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 + 0x40a35c]
xor edx, edx
mov eax, 0x6359
div ecx
mov ecx, dword [0x40a340]
mov eax, dword [0x40a38c]
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 + 0x40a374]
add eax, dword [ebp - 0xc]
or edx, 0x7628
sub edx, 0x295ef0e0
push edx
push eax
mov eax, dword [0x40a344]
and eax, 0x3810
sub eax, 0x1bc5e33f
push eax
mov eax, dword [0x40a33c]
imul eax, ecx
xor eax, 0x7774
mov ecx, 0x24b2ad8b
sub ecx, eax
push ecx
call fcn.004062c2
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 - 0xbc12e]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x5c]
xor ecx, esi
sub ecx, edi
cmp dword [eax], ecx
jne 0x404dd7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
xor eax, esi
mov eax, dword [ebp + eax - 0xbc12e]
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 - 0xbc102], edx
jne 0x404dd7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
xor eax, esi
mov eax, dword [ebp + eax - 0xbc12e]
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 - 0xbc102], edx
jne 0x404dd7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
xor eax, esi
mov eax, dword [ebp + eax - 0xbc12e]
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 - 0xbc102], edx
je 0x404deb
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
xor eax, esi
lea eax, [eax + ecx - 0xbc102]
jmp 0x404c44
mov al, byte [0x40a391]
mov cl, byte [0x40a390]
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 [0x40a392]
add al, cl
mov cl, byte [ebp - 0x11]
cmp cl, al
ja 0x404e91
add esi, dword [esi]
pop ebx
mov ah, 0xee
sub dword [ebx + ebx*8 + 0x7c], 0xffffffe1
fsubr qword [edi - 0x75]
mov ecx, 0x24ae08b
add byte [eax], al
dec edi
add byte [eax], al
add bh, bh
inc edx
xchg ecx, eax
loopne 0x404e51
push 0xb18c8d88
pop eax
fmul st(2), st(0)
sub byte [ebx + 0x260d0f6f], ah
push cs
dec edi
inc ebx
sub bh, byte [ecx - 0x676fb921]
outsb dx, byte [esi]
invalid
mov edx, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x8c]
mov eax, dword [ebp - 8]
xor ebx, 0
xor edx, 0x62cecdc
mov ecx, 0xf923302d
add edx, ecx
adc ebx, 0xffffffff
xor eax, esi
mov dword [ebp + eax*8 - 0x5e0880], edx
mov dword [ebp + eax*8 - 0x5e087c], ebx
mov edx, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x44]
xor edx, 0x62cecdc
xor ebx, 0
add edx, ecx
adc ebx, 0xffffffff
xor eax, esi
mov dword [ebp + eax*8 - 0x5e0880], edx
mov dword [ebp + eax*8 - 0x5e087c], ebx
cmp cx, 0x1e33
lea eax, [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov eax, 0x200
test dword [0x40aef0], eax
jne 0x404f18
or dword [0x40aef0], eax
mov eax, dword [sym.imp.USER32.dll_MessageBoxExW]
mov dword [0x40a5ec], 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], 0x6660e14
test dword [0x40aef0], eax
jne 0x404f5e
or dword [0x40aef0], eax
mov eax, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [0x40a5e8], eax
mov eax, 0x800
test dword [0x40aef0], eax
jne 0x404f7b
or dword [0x40aef0], eax
mov eax, dword [sym.imp.USER32.dll_DefDlgProcA]
mov dword [0x40a5e4], eax
mov eax, dword [ebp - 8]
xor eax, esi
sub eax, edi
mov dword [ebp - 0x38], eax
mov eax, dword [0x40a394]
add eax, 0xc54
shl eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [0x40a398]
mov ecx, dword [ebp - 0x18]
sub eax, 0x4eb8
shr eax, 5
cmp ecx, eax
jbe 0x404a9f
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 - 0xbc142]
jmp 0x404ff6
mov eax, dword [ebp - 8]
xor eax, esi
sub eax, edi
pop edi
pop esi
pop ebx
leave
ret 8