Function at 0x40e920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413146
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8d0
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1c], eax
call sub.MFC80U.DLL_Ordinal_1085
mov dword [ebp - 0x3c], eax
test eax, eax
lea edx, [ebp - 0x50]
mov dword [ebp - 0x274], edx
mov dword [ebp - 0x270], eax
je 0x410c60
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4107c2
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov dword [ebp - 0x34], ecx
call dword [eax + 0xc]
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x50]
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x268], eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x4c], 1
mov dword [ebp - 4], 1
push dword [ebp + 8]
push 0x414ec4
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0xc
mov dword [ebp - 0x40], str.SoftwareOptical_Research_AssociatesCODE_VLocalization
lea ecx, [ebp - 0x48]
call fcn.00411070
mov dword [ebp - 0x44], 1
mov dword [ebp - 4], 2
push 0x20019
push str.SoftwareOptical_Research_AssociatesCODE_VLocalization
push 0x80000002
lea ecx, [ebp - 0x48]
call fcn.00411014
movzx eax, al
test eax, eax
je 0x410bc4
mov byte [ebp - 0x3c8], 0x20
lea eax, [ebp - 0x218]
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x3c4], 0x10
call sub.MFC80U.DLL_Ordinal_1085
mov dword [ebp - 0xbc], eax
test eax, eax
lea edx, [ebp - 0x218]
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x280], eax
je 0x410bb5
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x4107c2
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx]
mov dword [ebp - 0xb4], ecx
call dword [eax + 0xc]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0x218]
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x278], eax
add eax, 0x10
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 4], 3
lea edx, [ebp - 0x218]
mov dword [ebp - 0x530], edx
mov dword [ebp - 0x528], edx
mov ecx, 0x10
mov dword [ebp - 0x52c], ecx
mov dword [ebp - 0x524], ecx
mov esi, dword [eax - 4]
lea ebx, [eax - 0x10]
mov eax, dword [eax - 8]
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x474], ebx
neg esi
add esi, 1
mov dword [ebp - 0x470], esi
add eax, 0xfffffff0
or esi, eax
mov dword [ebp - 0x46c], eax
jl 0x410ba3
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x50c], 0x10
mov eax, 0x20
mov ebx, 0x10
mov dword [ebp - 0x510], edx
mov word [ebp - 0x67c], ax
mov dword [ebp - 0x678], ebx
mov dword [ebp - 0x674], edx
lea ecx, [ebp - 0x218]
mov word [edx], ax
mov word [edx + 2], ax
mov word [edx + 4], ax
mov word [edx + 6], ax
mov word [edx + 8], ax
mov word [edx + 0xa], ax
mov word [edx + 0xc], ax
mov word [edx + 0xe], ax
mov word [edx + 0x10], ax
mov word [edx + 0x12], ax
mov word [edx + 0x14], ax
mov word [edx + 0x16], ax
mov word [edx + 0x18], ax
mov word [edx + 0x1a], ax
mov word [edx + 0x1c], ax
mov word [edx + 0x1e], ax
mov esi, dword [ebp - 0x218]
mov dword [ebp - 0x5d0], ecx
add esi, 0xfffffff0
mov dword [ebp - 0x5cc], ebx
mov dword [ebp - 0x5c8], ecx
mov dword [ebp - 0x5c4], ebx
mov edi, dword [esi + 8]
mov dword [ebp - 0x508], esi
cmp edi, 0x10
jl 0x40ee5b
mov eax, dword [ebp - 0x218]
add eax, 0xfffffff0
mov dword [eax + 4], 0x10
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0xa8], eax
xor edx, edx
mov word [ecx + 0x20], dx
mov dword [ebp - 4], 2
mov dword [ebp - 0x214], 1
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xc0], edx
lea eax, [ebp - 0x218]
push 0x200
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00410e4c
movzx eax, al
test eax, eax
je 0x4108cd
lea ecx, [ebp - 0x48]
call fcn.00410fec
lea eax, [ebp - 0x210]
mov dword [ebp - 0x54], eax
call sub.MFC80U.DLL_Ordinal_1085
mov dword [ebp - 0xd4], eax
test eax, eax
lea edx, [ebp - 0x210]
mov dword [ebp - 0x294], edx
mov dword [ebp - 0x290], eax
je 0x4108be
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x4107c2
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ecx]
mov dword [ebp - 0xcc], ecx
call dword [eax + 0xc]
mov dword [ebp - 0xc8], eax
lea edx, [ebp - 0x210]
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x288], eax
add eax, 0x10
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 4], 5
mov dword [ebp - 4], 4
mov dword [ebp - 0x20c], 1
mov dword [ebp - 4], 6
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x2ac], eax
test edx, edx
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], edx
mov dword [ebp - 0x58], edx
je 0x4108b7
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov edx, eax
mov dword [ebp - 0x228], edx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3d4], ebx
test edx, edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x3d8], ecx
mov dword [ebp - 0x3d0], edx
je 0x40eeae
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40ee5b
mov eax, dword [ebp - 0x210]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
lea esi, [ebp - 0x210]
lea edi, [eax - 0x10]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x22c], edi
sub ebx, eax
sar ebx, 1
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x3ac], esi
mov dword [ebp - 0x3a8], edx
mov dword [ebp - 0x3a4], esi
mov dword [ebp - 0x3a0], edx
mov ebx, dword [eax - 4]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x238], edi
sub ecx, edx
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x23c], ecx
neg ebx
add ebx, 1
mov dword [ebp - 0x240], ebx
or ebx, ecx
jl 0x410488
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 0x250]
cmp edx, dword [ebp - 0x24c]
mov dword [ebp - 0x248], eax
ja 0x40ee00
mov esi, dword [ebp - 0x3d0]
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x550], eax
mov dword [ebp - 0x54c], esi
mov dword [ebp - 0x544], esi
lea ebx, [eax + edx*2]
lea ecx, [esi + esi]
add esi, esi
mov dword [ebp - 0x548], ebx
push ecx
push ebx
push esi
push eax
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x10
jmp 0x40ee33
mov ebx, dword [ebp - 0x3d0]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], ebx
mov dword [ebp - 0x538], ecx
mov dword [ebp - 0x534], ebx
lea edx, [ebx + ebx]
push edx
push ecx
add ebx, ebx
push ebx
push eax
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
mov edx, dword [ebp - 0x3d0]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x3bc], eax
test edx, edx
mov dword [ebp - 0x3b8], edx
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b0], edx
jge 0x40ee65
push 0x80070057
call fcn.00410c6c
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x3d0]
add edx, 0xfffffff0
cmp eax, dword [edx + 8]
mov dword [ebp - 0x398], edx
jg 0x40ee5b
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x3d0]
add edx, 0xfffffff0
mov dword [ebp - 0x39c], edx
mov dword [edx + 4], eax
mov esi, dword [ebp - 0x3d0]
mov ebx, dword [ebp - 0x210]
xor ecx, ecx
mov word [ebx + esi*2], cx
jmp 0x40efa1
mov ebx, dword [ebp - 0x210]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x450], eax
mov ecx, dword [ebx - 0x10]
mov esi, dword [ebx - 0xc]
mov dword [ebp - 0x45c], ecx
lea edx, [ebx - 0x10]
mov dword [ebp - 0x454], edx
test esi, esi
mov dword [ebp - 0x458], edx
je 0x40efa1
mov esi, dword [ebp - 0x454]
mov eax, dword [esi + 0xc]
shr eax, 0x1f
mov byte [ebp - 0x3c0], al
test eax, eax
je 0x40ef48
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x7dc], 0
add edx, 0xfffffff0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x7e0], eax
mov ecx, dword [edx + 8]
mov dword [ebp - 0x6f0], edx
test ecx, ecx
jl 0x40ee5b
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov dword [ebp - 0x6f4], eax
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x210]
mov word [ecx], dx
jmp 0x40efa1
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x64c], edx
add edx, 0xc
or eax, 0xffffffff
lock xadd dword [edx], eax
add eax, 0xffffffff
test eax, eax
jle 0x41089e
mov ecx, dword [ebp - 0x45c]
mov eax, dword [ecx]
mov dword [ebp - 0x654], ecx
call dword [eax + 0xc]
mov dword [ebp - 0x658], eax
lea edx, [ebp - 0x210]
mov dword [ebp - 0x73c], edx
mov dword [ebp - 0x738], eax
add eax, 0x10
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x300], 0x414f6c
add edx, 0xfffffff0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov ecx, dword [edx]
mov dword [ebp - 0x12c], edx
test ecx, ecx
mov dword [ebp - 0x134], ecx
je 0x40efe5
mov eax, dword [ecx]
mov dword [ebp - 0x254], ecx
call dword [eax + 0x10]
jmp 0x40efe7
xor eax, eax
mov dword [ebp - 0x130], eax
test eax, eax
mov dword [ebp - 0x138], eax
je 0x410875
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x3e8], eax
test eax, eax
mov dword [ebp - 0x3ec], 0x414f6c
lea edx, [ebp - 0x140]
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x2f4], edx
mov dword [ebp - 0x2f0], eax
je 0x410866
mov dword [ebp - 0x128], 1
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x4107c2
mov ecx, dword [ebp - 0x3e8]
mov eax, dword [ecx]
mov dword [ebp - 0x124], ecx
call dword [eax + 0xc]
mov dword [ebp - 0x120], eax
lea edx, [ebp - 0x140]
mov dword [ebp - 0x2ec], edx
mov dword [ebp - 0x2e8], eax
add eax, 0x10
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 4], 7
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x140]
mov edx, 0x414f6c
test edx, edx
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2f8], edx
je 0x40f0b7
mov eax, 0x414f6c
test eax, 0xffff0000
je 0x410052
movzx eax, byte [ebp - 0x14]
test eax, eax
jne 0x40f347
lea eax, [ebp - 0x140]
mov dword [ebp - 0x518], eax
mov edx, 0x414f6c
test edx, edx
mov dword [ebp - 0x514], edx
je 0x40f112
mov dword [ebp - 0x4d8], 0x414f6c
call dword [0x43ea30]
mov dword [ebp - 0x4e0], eax
xor edx, edx
push edx
push edx
push 0xffffffffffffffff
push 0x414f6c
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add eax, 0xffffffff
mov dword [ebp - 0x4e4], eax
jmp 0x40f114
xor eax, eax
mov dword [ebp - 0x460], eax
test eax, eax
jg 0x40f220
mov ebx, dword [ebp - 0x140]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x498], eax
mov ecx, dword [ebx - 0x10]
mov esi, dword [ebx - 0xc]
mov dword [ebp - 0x4a8], ecx
lea edx, [ebx - 0x10]
mov dword [ebp - 0x4a0], edx
test esi, esi
mov dword [ebp - 0x4a4], edx
je 0x40f347
mov esi, dword [ebp - 0x4a0]
mov eax, dword [esi + 0xc]
shr eax, 0x1f
mov byte [ebp - 0x418], al
test eax, eax
je 0x40f1c2
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x810], 0
add edx, 0xfffffff0
lea eax, [ebp - 0x140]
mov dword [ebp - 0x814], eax
mov ecx, dword [edx + 8]
mov dword [ebp - 0x744], edx
test ecx, ecx
jl 0x40ee5b
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
mov dword [ebp - 0x740], eax
mov edx, 0
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x140]
mov word [ecx], dx
jmp 0x40f347
mov edx, dword [ebp - 0x4a0]
mov dword [ebp - 0x6c0], edx
add edx, 0xc
or eax, 0xffffffff
lock xadd dword [edx], eax
add eax, 0xffffffff
test eax, eax
jle 0x41049e
mov ecx, dword [ebp - 0x4a8]
mov eax, dword [ecx]
mov dword [ebp - 0x6cc], ecx
call dword [eax + 0xc]
mov dword [ebp - 0x6d0], eax
lea edx, [ebp - 0x140]
mov dword [ebp - 0x7cc], edx
mov dword [ebp - 0x7c8], eax
add eax, 0x10
mov dword [ebp - 0x6c8], eax
mov dword [ebp - 0x140], eax
jmp 0x40f347
mov ebx, dword [ebp - 0x460]
mov ecx, dword [ebp - 0x140]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x714], eax
lea edx, [ecx - 0x10]
mov dword [ebp - 0x710], ebx
mov dword [ebp - 0x70c], eax
mov dword [ebp - 0x708], ebx
mov edi, dword [ecx - 4]
mov esi, dword [ecx - 8]
mov dword [ebp - 0x620], edx
sub esi, ebx
neg edi
mov dword [ebp - 0x62c], edx
mov dword [ebp - 0x624], esi
add edi, 1
mov dword [ebp - 0x628], edi
or edi, esi
jl 0x410849
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x7f0], 0x414f6c
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x7ec], 0xffffffff
mov dword [ebp - 0x7f8], eax
mov dword [ebp - 0x7f4], edx
call dword [0x43ea30]
push dword [ebp - 0x460]
push dword [ebp - 0x630]
mov dword [ebp - 0x61c], eax
push 0xffffffffffffffff
push 0x414f6c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp - 0x460]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x704], eax
test edx, edx
mov dword [ebp - 0x700], edx
mov dword [ebp - 0x6fc], eax
mov dword [ebp - 0x6f8], edx
jge 0x40f306
push 0x80070057
call fcn.00410c6c
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x460]
add edx, 0xfffffff0
cmp eax, dword [edx + 8]
mov dword [ebp - 0x6e4], edx
jg 0x40f2fc
mov eax, dword [ebp - 0x140]
mov ebx, dword [ebp - 0x460]
add eax, 0xfffffff0
mov dword [ebp - 0x6e0], eax
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x140]
mov edx, 0
mov word [ecx + ebx*2], dx
mov dword [ebp - 4], 6
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x210]
lea ebx, [ebp - 0x210]
mov dword [ebp - 0x2e4], ebx
lea edi, [eax - 0x10]
lea esi, [ebp - 0x140]
mov dword [ebp - 0x2e0], esi
mov dword [ebp - 0x2dc], ebx
mov dword [ebp - 0x2d8], esi
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2d0], esi
mov edx, dword [edi + 4]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0x3e4], ebx
lea edi, [ecx - 0x10]
mov dword [ebp - 0x3e0], eax
sub eax, ecx
mov dword [ebp - 0x3dc], edx
mov dword [ebp - 0x108], ecx
sar eax, 1
xor esi, esi
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x100], edi
test eax, eax
mov dword [ebp - 0x104], eax
jae 0x40f3e5
mov eax, esi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0xf0], edi
add eax, edx
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c0], eax
mov ebx, dword [ecx - 4]
mov edx, dword [ecx - 8]
mov dword [ebp - 0xfc], edi
neg ebx
add ebx, 1
mov dword [ebp - 0xf8], ebx
sub edx, eax
mov dword [ebp - 0xf4], edx
or ebx, edx
jl 0x410833
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], edx
ja 0x40f461
mov eax, dword [ebp - 0x114]
lea edx, [edx + eax*2]
mov dword [ebp - 0x3e0], edx
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xe8]
mov ebx, dword [ebp - 0x3e0]
lea edi, [eax + edx*2]
lea esi, [ecx + ecx]
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], ecx
add ecx, ecx
push ecx
push ebx
push esi
push edi
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x2bc], eax
test edx, edx
mov dword [ebp - 0x2b8], edx
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], edx
jge 0x40f4d8
push 0x80070057
call fcn.00410c6c
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x10c]
add edx, 0xfffffff0
cmp eax, dword [edx + 8]
mov dword [ebp - 0x25c], edx
jg 0x40f4ce
mov eax, dword [ebp - 0x210]
mov ebx, dword [ebp - 0x10c]
lea esi, [ebp - 0x210]
mov dword [ebp - 0x13c], esi
add eax, 0xfffffff0
mov dword [ebp - 0xec], eax
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x210]
mov edx, 0
mov word [ecx + ebx*2], dx
mov dword [ebp - 4], 6
lea eax, [ebp - 0x140]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 9
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x60], eax
lea ecx, [edx - 0x10]
add edx, 0xfffffffc
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0x5c], ecx
or eax, 0xffffffff
lock xadd dword [edx], eax
add eax, 0xffffffff
test eax, eax
jle 0x41081a
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
lea ebx, [ebp - 0x210]
mov dword [ebp - 0x33c], ebx
lea edi, [eax - 0x10]
lea esi, [ebp - 0x218]
mov dword [ebp - 0x338], esi
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], esi
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], esi
mov edx, dword [edi + 4]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x3fc], ebx
lea edi, [ecx - 0x10]
mov dword [ebp - 0x3f8], eax
sub eax, ecx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x144], ecx
sar eax, 1
xor esi, esi
mov dword [ebp - 0x16c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x148], edi
test eax, eax
mov dword [ebp - 0x14c], eax
jae 0x40f609
mov eax, esi
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x30c], ebx
mov dword [ebp - 0x150], edi
add eax, edx
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x308], eax
mov ebx, dword [ecx - 4]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x15c], edi
neg ebx
add ebx, 1
mov dword [ebp - 0x158], ebx
sub edx, eax
mov dword [ebp - 0x154], edx
or ebx, edx
jl 0x410804
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x16c]
cmp eax, dword [ebp - 0x168]
mov dword [ebp - 0x170], edx
ja 0x40f685
mov eax, dword [ebp - 0x16c]
lea edx, [edx + eax*2]
mov dword [ebp - 0x3f8], edx
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x178]
mov ebx, dword [ebp - 0x3f8]
lea edi, [eax + edx*2]
lea esi, [ecx + ecx]
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ecx
add ecx, ecx
push ecx
push ebx
push esi
push edi
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
mov edx, dword [ebp - 0x164]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x324], eax
test edx, edx
mov dword [ebp - 0x320], edx
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x318], edx
jge 0x40f6fc
push 0x80070057
call fcn.00410c6c
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x164]
add edx, 0xfffffff0
cmp eax, dword [edx + 8]
mov dword [ebp - 0x260], edx
jg 0x40f6f2
mov eax, dword [ebp - 0x210]
mov ebx, dword [ebp - 0x164]
lea esi, [ebp - 0x210]
add eax, 0xfffffff0
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x160], eax
xor edx, edx
mov word [ecx + ebx*2], dx
mov edi, dword [ebp - 0x210]
mov dword [ebp - 0x390], str..dll
add edi, 0xfffffff0
mov dword [ebp - 0x394], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov ecx, dword [edi]
mov dword [ebp - 0x1d4], edi
test ecx, ecx
mov dword [ebp - 0x1dc], ecx
je 0x40f77e
mov eax, dword [ecx]
mov dword [ebp - 0x258], ecx
call dword [eax + 0x10]
jmp 0x40f780
xor eax, eax
mov dword [ebp - 0x1d8], eax
test eax, eax
mov dword [ebp - 0x1e0], eax
je 0x4107db
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x40c], eax
test eax, eax
mov dword [ebp - 0x410], str..dll
lea edx, [ebp - 0x1e8]
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x384], edx
mov dword [ebp - 0x380], eax
je 0x4107cc
mov dword [ebp - 0x1d0], 1
mov eax, dword [ebp - 0x1d0]
test eax, eax
je 0x4107c2
mov ecx, dword [ebp - 0x40c]
mov eax, dword [ecx]
mov dword [ebp - 0x1cc], ecx
call dword [eax + 0xc]
mov dword [ebp - 0x1c8], eax
lea edx, [ebp - 0x1e8]
mov dword [ebp - 0x37c], edx
mov dword [ebp - 0x378], eax
add eax, 0x10
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x1e8]
mov edx, str..dll
test edx, edx
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x388], edx
je 0x40f850
mov eax, str..dll
test eax, 0xffff0000
je 0x40fe70
movzx eax, byte [ebp - 0x18]
test eax, eax
jne 0x40fae0
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x520], eax
mov edx, str..dll
test edx, edx
mov dword [ebp - 0x51c], edx
je 0x40f8ab
mov dword [ebp - 0x4dc], str..dll
call dword [0x43ea30]
mov dword [ebp - 0x4e8], eax
xor edx, edx
push edx
push edx
push 0xffffffffffffffff
push str..dll
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add eax, 0xffffffff
mov dword [ebp - 0x4ec], eax
jmp 0x40f8ad
xor eax, eax
mov dword [ebp - 0x464], eax
test eax, eax
jg 0x40f9b9
mov ebx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebx - 0x10]
mov esi, dword [ebx - 0xc]
mov dword [ebp - 0x4b4], ecx
lea edx, [ebx - 0x10]
mov dword [ebp - 0x4ac], edx
test esi, esi
mov dword [ebp - 0x4b0], edx
je 0x40fae0
mov esi, dword [ebp - 0x4ac]
mov eax, dword [esi + 0xc]
shr eax, 0x1f
mov byte [ebp - 0x41c], al
test eax, eax
je 0x40f95b
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x818], 0
add edx, 0xfffffff0
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x81c], eax
mov ecx, dword [edx + 8]
mov dword [ebp - 0x74c], edx
test ecx, ecx
jl 0x40ee5b
mov eax, dword [ebp - 0x1e8]
add eax, 0xfffffff0
mov dword [ebp - 0x748], eax
mov edx, 0
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1e8]
mov word [ecx], dx
jmp 0x40fae0
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x6c4], edx
add edx, 0xc
or eax, 0xffffffff
lock xadd dword [edx], eax
add eax, 0xffffffff
test eax, eax
jle 0x4104b7
mov ecx, dword [ebp - 0x4b4]
mov eax, dword [ecx]
mov dword [ebp - 0x6d8], ecx
call dword [eax + 0xc]
mov dword [ebp - 0x6dc], eax
lea edx, [ebp - 0x1e8]
mov dword [ebp - 0x7d4], edx
mov dword [ebp - 0x7d0], eax
add eax, 0x10
mov dword [ebp - 0x6d4], eax
mov dword [ebp - 0x1e8], eax
jmp 0x40fae0
mov ebx, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x734], eax
lea edx, [ecx - 0x10]
mov dword [ebp - 0x730], ebx
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x728], ebx
mov edi, dword [ecx - 4]
mov esi, dword [ecx - 8]
mov dword [ebp - 0x638], edx
sub esi, ebx
neg edi
mov dword [ebp - 0x644], edx
mov dword [ebp - 0x63c], esi
add edi, 1
mov dword [ebp - 0x640], edi
or edi, esi
jl 0x41054a
mov eax, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x464]
mov dword [ebp - 0x800], str..dll
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x7fc], 0xffffffff
mov dword [ebp - 0x808], eax
mov dword [ebp - 0x804], edx
call dword [0x43ea30]
push dword [ebp - 0x464]
push dword [ebp - 0x648]
mov dword [ebp - 0x634], eax
push 0xffffffffffffffff
push str..dll
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp - 0x464]
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x724], eax
test edx, edx
mov dword [ebp - 0x720], edx
mov dword [ebp - 0x71c], eax
mov dword [ebp - 0x718], edx
jge 0x40fa9f
push 0x80070057
call fcn.00410c6c
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x464]
add edx, 0xfffffff0
cmp eax, dword [edx + 8]
mov dword [ebp - 0x6ec], edx
jg 0x40fa95
mov eax, dword [ebp - 0x1e8]
mov ebx, dword [ebp - 0x464]
add eax, 0xfffffff0
mov dword [ebp - 0x6e8], eax
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x1e8]
mov edx, 0
mov word [ecx + ebx*2], dx
mov dword [ebp - 4], 6
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 0x210]
lea ebx, [ebp - 0x210]
mov dword [ebp - 0x374], ebx
lea edi, [eax - 0x10]
lea esi, [ebp - 0x1e8]
mov dword [ebp - 0x370], esi
mov dword [ebp - 0x36c], ebx
mov dword [ebp - 0x368], esi
mov dword [ebp - 0x364], ebx
mov dword [ebp - 0x360], esi
mov edx, dword [edi + 4]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x408], ebx
lea edi, [ecx - 0x10]
mov dword [ebp - 0x404], eax
sub eax, ecx
mov dword [ebp - 0x400], edx
mov dword [ebp - 0x1b0], ecx
sar eax, 1
xor esi, esi
mov dword [ebp - 0x1bc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x1a8], edi
test eax, eax
mov dword [ebp - 0x1ac], eax
jae 0x40fb7e
mov eax, esi
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x35c], ebx
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x198], edi
add eax, edx
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x350], eax
mov ebx, dword [ecx - 4]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x1a4], edi
neg ebx
add ebx, 1
mov dword [ebp - 0x1a0], ebx
sub edx, eax
mov dword [ebp - 0x19c], edx
or ebx, edx
jl 0x410534
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x1bc]
cmp eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1c0], edx
ja 0x40fbfa
mov eax, dword [ebp - 0x1bc]
lea edx, [edx + eax*2]
mov dword [ebp - 0x404], edx
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x190]
mov ebx, dword [ebp - 0x404]
lea edi, [eax + edx*2]
lea esi, [ecx + ecx]
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ecx
add ecx, ecx
push ecx
push ebx
push esi
push edi
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
mov edx, dword [ebp - 0x1b4]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x34c], eax
test edx, edx
mov dword [ebp - 0x348], edx
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x340], edx
jge 0x40fc71
push 0x80070057
call fcn.00410c6c
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x1b4]
add edx, 0xfffffff0
cmp eax, dword [edx + 8]
mov dword [ebp - 0x264], edx
jg 0x40fc67
mov eax, dword [ebp - 0x210]
mov ebx, dword [ebp - 0x1b4]
lea esi, [ebp - 0x210]
mov dword [ebp - 0x1e4], esi
add eax, 0xfffffff0
mov dword [ebp - 0x194], eax
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x210]
mov edx, 0
mov word [ecx + ebx*2], dx
mov dword [ebp - 4], 6
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0xc
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x74], eax
lea ecx, [edx - 0x10]
add edx, 0xfffffffc
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x70], ecx
or eax, 0xffffffff
lock xadd dword [edx], eax
add eax, 0xffffffff
test eax, eax
jle 0x41051b
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x1ec], eax
push eax
call sub.MFC80U.DLL_Ordinal_1110
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xd
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x88], eax
lea ecx, [edx - 0x10]
add edx, 0xfffffffc
mov dword [ebp - 0x1f0], ecx
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x84], ecx
or eax, 0xffffffff
lock xadd dword [edx], eax
add eax, 0xffffffff
test eax, eax
jle 0x410502
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 0xe
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x218]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x94], eax
lea ecx, [edx - 0x10]
add edx, 0xfffffffc
mov dword [ebp - 0x1f8], ecx
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x90], ecx
or eax, 0xffffffff
lock xadd dword [edx], eax
add eax, 0xffffffff
test eax, eax
jle 0x4104e9
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x48]
call fcn.00411064
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 0xf
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x50]
mov dword [ebp - 0xa0], eax
lea ecx, [edx - 0x10]
add edx, 0xfffffffc
mov dword [ebp - 0x200], ecx
mov dword [ebp - 0x204], ecx
mov dword [ebp - 0x9c], ecx
or eax, 0xffffffff
lock xadd dword [edx], eax
add eax, 0xffffffff
test eax, eax
jle 0x4104d0
mov eax, dword [ebp - 0x208]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1e8]
mov dword [ebp - 0x568], edx
mov eax, str..dll
movzx ecx, ax
mov dword [ebp - 0x494], ecx
push ecx
mov dword [ebp - 0x564], ecx
mov dword [ebp - 0x47c], ecx
call sub.MFC80U.DLL_Ordinal_1059
mov dword [ebp - 0x48c], eax
test eax, eax
mov dword [ebp - 0x490], eax
je 0x410774
lea edx, [ebp - 0x1e8]
mov dword [ebp - 0x5e8], edx
mov dword [ebp - 0x5e4], eax
mov ecx, str..dll
mov dword [ebp - 0x578], eax
push 6
movzx ebx, cx
mov dword [ebp - 0x5e0], ebx
mov dword [ebp - 0x574], ebx
shr ebx, 4
add ebx, 1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x4d0], eax
test eax, eax
je 0x4107bb
mov ebx, dword [ebp - 0x48c]
mov dword [ebp - 0x670], ebx
push eax
mov dword [ebp - 0x66c], eax
push ebx
mov edx, str..dll
movzx ecx, dx
mov dword [ebp - 0x668], ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x500], eax
test eax, eax
je 0x4105a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4c4], eax
test eax, eax
je 0x4105a0
push dword [ebp - 0x4d0]
push dword [ebp - 0x48c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp - 0x4c4]
mov dword [ebp - 0x558], eax
add edx, eax
mov dword [ebp - 0x4c0], edx
mov eax, str..dll
and eax, 0xf
mov dword [ebp - 0x4f4], eax
je 0x410592
cmp eax, 6
jb 0x410560
mov eax, dword [ebp - 0x4c4]
cmp eax, dword [ebp - 0x4c0]
jae 0x410592
mov eax, dword [ebp - 0x4c4]
movzx edx, word [eax]
lea edx, [eax + edx*2 + 2]
mov eax, dword [ebp - 0x4f4]
add eax, 0xffffffff
cmp edx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4c4], edx
mov dword [ebp - 0x4f4], eax
jae 0x410592
movzx ecx, word [edx]
lea edx, [edx + ecx*2 + 2]
mov dword [ebp - 0x4c4], edx
add eax, 0xffffffff
cmp edx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4f4], eax
jae 0x410592
movzx ecx, word [edx]
lea edx, [edx + ecx*2 + 2]
mov dword [ebp - 0x4c4], edx
add eax, 0xffffffff
cmp edx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4f4], eax
jae 0x410592
movzx ecx, word [edx]
lea edx, [edx + ecx*2 + 2]
mov dword [ebp - 0x4c4], edx
add eax, 0xffffffff
cmp edx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4f4], eax
jae 0x410592
movzx ecx, word [edx]
lea edx, [edx + ecx*2 + 2]
mov dword [ebp - 0x4c4], edx
add eax, 0xffffffff
cmp eax, 6
mov dword [ebp - 0x4f4], eax
jae 0x40ff88
jmp 0x410560
lea edx, [ebp - 0x140]
mov dword [ebp - 0x560], edx
mov eax, 0x414f6c
movzx ecx, ax
mov dword [ebp - 0x488], ecx
push ecx
mov dword [ebp - 0x55c], ecx
mov dword [ebp - 0x478], ecx
call sub.MFC80U.DLL_Ordinal_1059
mov dword [ebp - 0x480], eax
test eax, eax
mov dword [ebp - 0x484], eax
je 0x410437
lea edx, [ebp - 0x140]
mov dword [ebp - 0x5dc], edx
mov dword [ebp - 0x5d8], eax
mov ecx, 0x414f6c
mov dword [ebp - 0x570], eax
push 6
movzx ebx, cx
mov dword [ebp - 0x5d4], ebx
mov dword [ebp - 0x56c], ebx
shr ebx, 4
add ebx, 1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x4c8], eax
test eax, eax
je 0x41085f
mov ebx, dword [ebp - 0x480]
mov dword [ebp - 0x664], ebx
push eax
mov dword [ebp - 0x660], eax
push ebx
mov edx, 0x414f6c
movzx ecx, dx
mov dword [ebp - 0x65c], ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x4f8], eax
test eax, eax
je 0x410267
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4bc], eax
test eax, eax
je 0x410267
push dword [ebp - 0x4c8]
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x554], eax
add edx, eax
mov dword [ebp - 0x4b8], edx
mov eax, 0x414f6c
and eax, 0xf
mov dword [ebp - 0x4f0], eax
je 0x410259
cmp eax, 6
jb 0x410227
mov eax, dword [ebp - 0x4bc]
cmp eax, dword [ebp - 0x4b8]
jae 0x410259
mov eax, dword [ebp - 0x4bc]
movzx edx, word [eax]
lea edx, [eax + edx*2 + 2]
mov eax, dword [ebp - 0x4f0]
add eax, 0xffffffff
cmp edx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4bc], edx
mov dword [ebp - 0x4f0], eax
jae 0x410259
movzx ecx, word [edx]
lea edx, [edx + ecx*2 + 2]
mov dword [ebp - 0x4bc], edx
add eax, 0xffffffff
cmp edx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4f0], eax
jae 0x410259
movzx ecx, word [edx]
lea edx, [edx + ecx*2 + 2]
mov dword [ebp - 0x4bc], edx
add eax, 0xffffffff
cmp edx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4f0], eax
jae 0x410259
movzx ecx, word [edx]
lea edx, [edx + ecx*2 + 2]
mov dword [ebp - 0x4bc], edx
add eax, 0xffffffff
cmp edx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4f0], eax
jae 0x410259
movzx ecx, word [edx]
lea edx, [edx + ecx*2 + 2]
mov dword [ebp - 0x4bc], edx
add eax, 0xffffffff
cmp eax, 6
mov dword [ebp - 0x4f0], eax
jae 0x41016a
mov eax, dword [ebp - 0x4bc]
cmp eax, dword [ebp - 0x4b8]
jae 0x410259
mov eax, dword [ebp - 0x4bc]
mov ebx, dword [ebp - 0x4f0]
movzx edx, word [eax]
lea ecx, [eax + edx*2 + 2]
add ebx, 0xffffffff
mov dword [ebp - 0x4bc], ecx
mov dword [ebp - 0x4f0], ebx
jne 0x410227
mov eax, dword [ebp - 0x4bc]
cmp eax, dword [ebp - 0x4b8]
jb 0x41026b
xor eax, eax
jmp 0x410288
mov eax, dword [ebp - 0x4bc]
movzx edx, word [eax]
test edx, edx
jne 0x41027c
xor eax, eax
jmp 0x410288
mov eax, dword [ebp - 0x4bc]
mov dword [ebp - 0x7e4], eax
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0x4cc], eax
test eax, eax
je 0x410437
mov eax, dword [ebp - 0x4cc]
mov ebx, dword [ebp - 0x140]
lea edx, [ebp - 0x140]
movzx esi, word [eax]
lea ecx, [ebx - 0x10]
mov dword [ebp - 0x598], esi
mov dword [ebp - 0x5a0], esi
mov dword [ebp - 0x69c], edx
mov dword [ebp - 0x698], esi
mov dword [ebp - 0x694], edx
mov dword [ebp - 0x690], esi
mov eax, dword [ebx - 4]
mov edi, dword [ebx - 8]
mov dword [ebp - 0x588], ecx
sub edi, esi
mov dword [ebp - 0x594], ecx
mov dword [ebp - 0x58c], edi
neg eax
add eax, 1
mov dword [ebp - 0x590], eax
or eax, edi
jl 0x410472
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x598]
mov ebx, dword [ebp - 0x4cc]
mov dword [ebp - 0x59c], eax
lea ecx, [ebx + 2]
mov dword [ebp - 0x77c], eax
mov dword [ebp - 0x778], edx
mov dword [ebp - 0x774], ecx
movzx esi, word [ebx]
mov dword [ebp - 0x770], esi
cmp esi, 0xffffffff
je 0x41044a
mov ebx, dword [ebp - 0x59c]
mov ecx, dword [ebp - 0x598]
mov edx, dword [ebp - 0x774]
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x76c], ebx
mov dword [ebp - 0x768], ecx
mov dword [ebp - 0x764], edx
mov dword [ebp - 0x760], eax
mov dword [ebp - 0x75c], ebx
mov dword [ebp - 0x758], ecx
add ecx, ecx
mov dword [ebp - 0x754], edx
mov dword [ebp - 0x750], eax
add eax, eax
push eax
push edx
push ecx
push ebx
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
mov dword [ebp - 0x57c], eax
cmp eax, 0xc
je 0x410445
cmp eax, 0x16
je 0x410440
cmp eax, 0x22
je 0x410440
test eax, eax
je 0x4103c7
cmp eax, 0x50
jne 0x410440
mov edx, dword [ebp - 0x598]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x68c], eax
test edx, edx
mov dword [ebp - 0x688], edx
mov dword [ebp - 0x684], eax
mov dword [ebp - 0x680], edx
jge 0x4103f9
push 0x80070057
call fcn.00410c6c
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x598]
add edx, 0xfffffff0
cmp eax, dword [edx + 8]
mov dword [ebp - 0x614], edx
jg 0x4103ef
mov eax, dword [ebp - 0x140]
mov ebx, dword [ebp - 0x598]
add eax, 0xfffffff0
mov dword [ebp - 0x584], eax
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x140]
xor edx, edx
mov word [ecx + ebx*2], dx
mov byte [ebp - 0x14], 1
jmp 0x40f0b7
call sub.MFC80U.DLL_Ordinal_1176
call sub.MFC80U.DLL_Ordinal_1178
mov eax, dword [ebp - 0x774]
mov dword [ebp - 0x844], eax
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov dword [ebp - 0x84c], eax
add eax, 1
mov dword [ebp - 0x770], eax
jmp 0x410344
push dword [ebp - 0x598]
lea ecx, [ebp - 0x140]
call fcn.00410dfc
jmp 0x410305
push dword [ebp - 0x3d0]
lea ecx, [ebp - 0x210]
call fcn.00410dfc
jmp 0x40edab
mov eax, dword [ebp - 0x4a0]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x874], ecx
call dword [edx + 4]
jmp 0x40f1e3
mov eax, dword [ebp - 0x4ac]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x878], ecx
call dword [edx + 4]
jmp 0x40f97c
mov eax, dword [ebp - 0x200]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x610], ecx
call dword [edx + 4]
jmp 0x40fe53
mov eax, dword [ebp - 0x1f8]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x60c], ecx
call dword [edx + 4]
jmp 0x40fdf0
mov eax, dword [ebp - 0x1f0]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x608], ecx
call dword [edx + 4]
jmp 0x40fd90
mov eax, dword [ebp - 0x180]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x604], ecx
call dword [edx + 4]
jmp 0x40fd12
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x210]
call fcn.00410dfc
jmp 0x40fbd1
push dword [ebp - 0x464]
lea ecx, [ebp - 0x1e8]
call fcn.00410dfc
jmp 0x40fa13
mov eax, dword [ebp - 0x4c4]
cmp eax, dword [ebp - 0x4c0]
jae 0x410592
mov eax, dword [ebp - 0x4c4]
mov ebx, dword [ebp - 0x4f4]
movzx edx, word [eax]
lea ecx, [eax + edx*2 + 2]
add ebx, 0xffffffff
mov dword [ebp - 0x4c4], ecx
mov dword [ebp - 0x4f4], ebx
jne 0x410560
mov eax, dword [ebp - 0x4c4]
cmp eax, dword [ebp - 0x4c0]
jb 0x4105a4
xor eax, eax
jmp 0x4105c1
mov eax, dword [ebp - 0x4c4]
movzx edx, word [eax]
test edx, edx
jne 0x4105b5
xor eax, eax
jmp 0x4105c1
mov eax, dword [ebp - 0x4c4]
mov dword [ebp - 0x7e8], eax
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x4d4], eax
test eax, eax
je 0x410774
mov eax, dword [ebp - 0x4d4]
mov ebx, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1e8]
movzx esi, word [eax]
lea ecx, [ebx - 0x10]
mov dword [ebp - 0x5b8], esi
mov dword [ebp - 0x5c0], esi
mov dword [ebp - 0x6bc], edx
mov dword [ebp - 0x6b8], esi
mov dword [ebp - 0x6b4], edx
mov dword [ebp - 0x6b0], esi
mov eax, dword [ebx - 4]
mov edi, dword [ebx - 8]
mov dword [ebp - 0x5a8], ecx
sub edi, esi
mov dword [ebp - 0x5b4], ecx
mov dword [ebp - 0x5ac], edi
neg eax
add eax, 1
mov dword [ebp - 0x5b0], eax
or eax, edi
jl 0x4107a5
mov eax, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x5b8]
mov ebx, dword [ebp - 0x4d4]
mov dword [ebp - 0x5bc], eax
lea ecx, [ebx + 2]
mov dword [ebp - 0x7ac], eax
mov dword [ebp - 0x7a8], edx
mov dword [ebp - 0x7a4], ecx
movzx esi, word [ebx]
mov dword [ebp - 0x7a0], esi
cmp esi, 0xffffffff
je 0x41077d
mov ebx, dword [ebp - 0x5bc]
mov ecx, dword [ebp - 0x5b8]
mov edx, dword [ebp - 0x7a4]
mov eax, dword [ebp - 0x7a0]
mov dword [ebp - 0x79c], ebx
mov dword [ebp - 0x798], ecx
mov dword [ebp - 0x794], edx
mov dword [ebp - 0x790], eax
mov dword [ebp - 0x78c], ebx
mov dword [ebp - 0x788], ecx
add ecx, ecx
mov dword [ebp - 0x784], edx
mov dword [ebp - 0x780], eax
add eax, eax
push eax
push edx
push ecx
push ebx
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
mov dword [ebp - 0x580], eax
cmp eax, 0xc
je 0x410445
cmp eax, 0x16
je 0x410440
cmp eax, 0x22
je 0x410440
test eax, eax
je 0x410704
cmp eax, 0x50
jne 0x410440
mov edx, dword [ebp - 0x5b8]
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x6ac], eax
test edx, edx
mov dword [ebp - 0x6a8], edx
mov dword [ebp - 0x6a4], eax
mov dword [ebp - 0x6a0], edx
jge 0x410736
push 0x80070057
call fcn.00410c6c
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x5b8]
add edx, 0xfffffff0
cmp eax, dword [edx + 8]
mov dword [ebp - 0x618], edx
jg 0x41072c
mov eax, dword [ebp - 0x1e8]
mov ebx, dword [ebp - 0x5b8]
add eax, 0xfffffff0
mov dword [ebp - 0x5a4], eax
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x1e8]
xor edx, edx
mov word [ecx + ebx*2], dx
mov byte [ebp - 0x18], 1
jmp 0x40f850
mov eax, dword [ebp - 0x7a4]
mov dword [ebp - 0x848], eax
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov dword [ebp - 0x850], eax
add eax, 1
mov dword [ebp - 0x7a0], eax
jmp 0x41067d
push dword [ebp - 0x5b8]
lea ecx, [ebp - 0x1e8]
call fcn.00410dfc
jmp 0x41063e
xor eax, eax
jmp 0x4105c7
push 0x80004005
call fcn.00410c6c
mov dword [ebp - 0x1d0], 0
jmp 0x40f7d4
call sub.MFC80U.DLL_Ordinal_1085
mov edx, dword [eax]
mov dword [ebp - 0x7bc], eax
mov ecx, eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x7c4], eax
call dword [edx + 0x10]
mov dword [ebp - 0x7c0], eax
jmp 0x40f79a
push dword [ebp - 0x164]
lea ecx, [ebp - 0x210]
call fcn.00410dfc
jmp 0x40f65c
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x600], ecx
call dword [edx + 4]
jmp 0x40f579
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x210]
call fcn.00410dfc
jmp 0x40f438
push dword [ebp - 0x460]
lea ecx, [ebp - 0x140]
call fcn.00410dfc
jmp 0x40f27a
xor eax, eax
jmp 0x41028e
mov dword [ebp - 0x128], 0
jmp 0x40f03b
call sub.MFC80U.DLL_Ordinal_1085
mov edx, dword [eax]
mov dword [ebp - 0x7b0], eax
mov ecx, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x7b8], eax
call dword [edx + 0x10]
mov dword [ebp - 0x7b4], eax
jmp 0x40f001
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x870], ecx
call dword [edx + 4]
jmp 0x40ef69
xor edx, edx
jmp 0x40ed01
mov dword [ebp - 0xd0], 0
jmp 0x40ec52
lea eax, [ebp - 0x218]
push 0x200
push eax
push 0x414f68
lea ecx, [ebp - 0x48]
call fcn.00410e4c
movzx eax, al
test eax, eax
jne 0x40ec12
lea eax, [ebp - 0x218]
mov dword [ebp - 0x840], eax
mov edx, str.en_US
test edx, edx
mov dword [ebp - 0x83c], edx
je 0x410940
mov dword [ebp - 0x830], str.en_US
call dword [0x43ea30]
mov dword [ebp - 0x834], eax
xor edx, edx
push edx
push edx
push 0xffffffffffffffff
push str.en_US
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add eax, 0xffffffff
mov dword [ebp - 0x838], eax
jmp 0x410942
xor eax, eax
mov dword [ebp - 0x80c], eax
test eax, eax
jg 0x410a4b
mov ebx, dword [ebp - 0x218]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x820], eax
mov ecx, dword [ebx - 0x10]
mov esi, dword [ebx - 0xc]
mov dword [ebp - 0x82c], ecx
lea edx, [ebx - 0x10]
mov dword [ebp - 0x824], edx
test esi, esi
mov dword [ebp - 0x828], edx
je 0x40ec12
mov esi, dword [ebp - 0x824]
mov eax, dword [esi + 0xc]
shr eax, 0x1f
mov byte [ebp - 0x7d8], al
test eax, eax
je 0x4109ed
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x8d4], 0
add edx, 0xfffffff0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x8d8], eax
mov ecx, dword [edx + 8]
mov dword [ebp - 0x8b8], edx
test ecx, ecx
jl 0x40ee5b
mov eax, dword [ebp - 0x218]
add eax, 0xfffffff0
mov dword [ebp - 0x8b4], eax
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x218]
mov word [ecx], dx
jmp 0x40ec12
mov edx, dword [ebp - 0x824]
mov dword [ebp - 0x87c], edx
add edx, 0xc
or eax, 0xffffffff
lock xadd dword [edx], eax
add eax, 0xffffffff
test eax, eax
jle 0x410b74
mov ecx, dword [ebp - 0x82c]
mov eax, dword [ecx]
mov dword [ebp - 0x884], ecx
call dword [eax + 0xc]
mov dword [ebp - 0x888], eax
lea edx, [ebp - 0x218]
mov dword [ebp - 0x8c0], edx
mov dword [ebp - 0x8bc], eax
add eax, 0x10
mov dword [ebp - 0x880], eax
mov dword [ebp - 0x218], eax
jmp 0x40ec12
mov ebx, dword [ebp - 0x80c]
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x8b0], eax
lea edx, [ecx - 0x10]
mov dword [ebp - 0x8ac], ebx
mov dword [ebp - 0x8a8], eax
mov dword [ebp - 0x8a4], ebx
mov edi, dword [ecx - 4]
mov esi, dword [ecx - 8]
mov dword [ebp - 0x85c], edx
sub esi, ebx
neg edi
mov dword [ebp - 0x868], edx
mov dword [ebp - 0x860], esi
add edi, 1
mov dword [ebp - 0x864], edi
or edi, esi
jl 0x410b8d
mov eax, dword [ebp - 0x218]
mov edx, dword [ebp - 0x80c]
mov dword [ebp - 0x8c8], str.en_US
mov dword [ebp - 0x86c], eax
mov dword [ebp - 0x8c4], 0xffffffff
mov dword [ebp - 0x8d0], eax
mov dword [ebp - 0x8cc], edx
call dword [0x43ea30]
push dword [ebp - 0x80c]
push dword [ebp - 0x86c]
mov dword [ebp - 0x858], eax
push 0xffffffffffffffff
push str.en_US
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp - 0x80c]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x8a0], eax
test edx, edx
mov dword [ebp - 0x89c], edx
mov dword [ebp - 0x898], eax
mov dword [ebp - 0x894], edx
jge 0x410b31
push 0x80070057
call fcn.00410c6c
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x80c]
add edx, 0xfffffff0
cmp eax, dword [edx + 8]
mov dword [ebp - 0x890], edx
jg 0x410b27
mov eax, dword [ebp - 0x218]
mov ebx, dword [ebp - 0x80c]
add eax, 0xfffffff0
mov dword [ebp - 0x88c], eax
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x218]
xor edx, edx
mov word [ecx + ebx*2], dx
jmp 0x40ec12
mov eax, dword [ebp - 0x824]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x8dc], ecx
call dword [edx + 4]
jmp 0x410a0e
push dword [ebp - 0x80c]
lea ecx, [ebp - 0x218]
call fcn.00410dfc
jmp 0x410aa5
push 0x10
lea ecx, [ebp - 0x218]
call fcn.00410dfc
jmp 0x40eb04
mov dword [ebp - 0xb8], 0
jmp 0x40ea63
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00411064
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x50]
mov dword [ebp - 0x5f4], eax
mov dword [ebp - 4], 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x5f0], eax
lea ecx, [edx - 0x10]
add edx, 0xfffffffc
mov dword [ebp - 0x5f8], ecx
mov dword [ebp - 0x5fc], ecx
mov dword [ebp - 0x5ec], ecx
or eax, 0xffffffff
lock xadd dword [edx], eax
add eax, 0xffffffff
test eax, eax
jle 0x410c4a
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x5f8]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x854], ecx
call dword [edx + 4]
jmp 0x410c31
mov dword [ebp - 0x38], 0
jmp 0x40e976