Function at 0x1004c663
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ef1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push esi
mov dword [ebp - 0x4c], 0xfffffff9
mov dword [ebp - 0x44], 0
jmp 0x1004c699
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1004c6af
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x22c], 0xc0ae9714
jmp 0x1004c692
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1004c6c3
push 0
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [ebp - 0x4c], 0
jmp 0x1004c6d3
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x1004c730
mov dword [ebp - 0x64], 0xfffffffb
mov dword [ebp - 0x64], 0
jmp 0x1004c6f0
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jg 0x1004c718
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1004c716
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
jmp 0x1004c6e9
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004c72e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
jmp 0x1004c6cc
mov dword [ebp - 0x38], 0x24a8c6a5
mov dword [ebp - 0x19c], 5
mov dword [ebp - 0x38], 0
jmp 0x1004c751
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1004c965
push 1
lea ecx, [ebp - 0x9c]
call fcn.10017fd3
and dword [ebp - 4], 0
mov dword [ebp - 0x1bc], 8
mov dword [ebp - 0x24], 0
jmp 0x1004c786
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1004c799
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x54], 0xfffffffb
jmp 0x1004c77f
mov dword [ebp - 0x24], 0
jmp 0x1004c7a9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1004c7c5
push dword [ebp - 0x24]
lea ecx, [ebp - 0x9c]
call fcn.10018040
mov dword [eax], 1
jmp 0x1004c7a2
push 0
lea ecx, [ebp - 0x9c]
call fcn.10018040
and dword [eax], 0
jmp 0x1004c7fb
push 0
lea ecx, [ebp - 0x9c]
call fcn.10018040
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x168]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x9c]
call fcn.10018040
cmp dword [eax], 0
jl 0x1004c951
mov dword [ebp - 0x78], 0
mov dword [ebp - 0xb8], 0xfffffff8
push 0
lea ecx, [ebp - 0x9c]
call fcn.10018040
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x54], 0
je 0x1004c84c
push 0
lea ecx, [ebp - 0x9c]
call fcn.10018040
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x54], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x78], eax
jl 0x1004c860
mov dword [ebp - 0x1a0], 1
jmp 0x1004c867
and dword [ebp - 0x1a0], 0
push 0
lea ecx, [ebp - 0x9c]
call fcn.10018040
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x54]
mov dword [ebp - 0x198], eax
push 0
lea ecx, [ebp - 0x9c]
call fcn.10018040
mov eax, dword [eax]
mov ecx, dword [ebp - 0x198]
mov dword [ebp + eax*4 - 0x54], ecx
mov eax, dword [ebp - 0x198]
cmp eax, dword [ebp - 0x1a0]
jle 0x1004c8b3
mov dword [ebp - 0x1a4], 1
jmp 0x1004c8ba
and dword [ebp - 0x1a4], 0
push 0
lea ecx, [ebp - 0x9c]
call fcn.10018040
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x78], 6
je 0x1004c8e2
mov dword [ebp - 0x184], 1
jmp 0x1004c8e9
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x19c]
cmp dword [ebp - 0x184], eax
jge 0x1004c903
mov dword [ebp - 0x15c], 1
jmp 0x1004c90a
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x2715
je 0x1004c934
cmp dword [ebp - 0x19c], 0
jne 0x1004c934
and dword [ebp - 0xc0], 0
jmp 0x1004c93e
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0xc0]
neg eax
mov dword [ebp - 0x1bc], eax
jmp 0x1004c7d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.1001803b
jmp 0x1004c74a
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1004c980
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x10], 0xffffffff
push 2
lea ecx, [ebp - 0xa8]
call fcn.10017fd3
mov dword [ebp - 4], 1
mov dword [ebp - 0xc8], 8
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x6c], 0
jmp 0x1004c9bf
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x1004c9db
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xa8]
call fcn.10018040
mov dword [eax], 0x49f845d8
jmp 0x1004c9b8
mov dword [ebp - 0x10], 0
jmp 0x1004c9eb
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffffe
jle 0x1004ca2d
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x5c], 0
jmp 0x1004ca08
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x1c
jl 0x1004ca2b
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1004ca29
push 0x1696
push 0
push 0
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x1004ca01
jmp 0x1004c9e4
mov dword [ebp - 0x10], 0
jmp 0x1004ca3d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1004cc19
mov dword [ebp - 0x138], 0xf5aa05d7
mov dword [ebp - 0x148], 0x7ad53a38
cmp dword [ebp - 0x10], 0
je 0x1004cad3
push dword [ebp - 0x10]
lea ecx, [ebp - 0xa8]
call fcn.10018040
cmp dword [eax], 0x1546
jg 0x1004ca83
mov dword [ebp - 0x164], 1
jmp 0x1004ca8a
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x12c], eax
imul eax, dword [ebp - 0x12c], 0xfff7
imul esi, eax, 0x5de1
push dword [ebp - 0x10]
lea ecx, [ebp - 0xa8]
call fcn.10018040
sub esi, dword [eax]
cmp dword [ebp - 0x10], esi
je 0x1004cad3
mov dword [ebp - 0xd0], 1
jmp 0x1004cada
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 1
jbe 0x1004caef
mov dword [ebp - 0x130], 1
jmp 0x1004caf6
and dword [ebp - 0x130], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xa8]
call fcn.10018040
mov ecx, dword [ebp - 0x130]
cmp ecx, dword [eax]
jg 0x1004cb1a
mov dword [ebp - 0xd8], 1
jmp 0x1004cb21
and dword [ebp - 0xd8], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xa8]
call fcn.10018040
mov eax, dword [eax]
imul eax, dword [ebp - 0xd8]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x148], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0xa8]
call fcn.10018040
mov esi, eax
push 0
lea ecx, [ebp - 0xa8]
call fcn.10018040
mov ecx, dword [esi]
sub ecx, dword [eax]
je 0x1004cbdc
push dword [ebp - 0x10]
lea ecx, [ebp - 0xa8]
call fcn.10018040
cmp dword [eax], 0xa260df39
je 0x1004cb8f
mov dword [ebp - 0xe0], 1
jmp 0x1004cb96
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 2
ja 0x1004cbab
mov dword [ebp - 0x140], 1
jmp 0x1004cbb2
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0xfffffff7
jg 0x1004cbc7
mov dword [ebp - 0xe8], 1
jmp 0x1004cbce
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x148], eax
jmp 0x1004cc14
mov dword [ebp - 0x74], 0
jmp 0x1004cbec
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x1004cc02
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x1c4], 0
jmp 0x1004cbe5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c4], 0
je 0x1004cc14
jmp 0x1004cc19
jmp 0x1004ca36
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.1001803b
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004cd54
mov dword [ebp - 0x20c], 0xffffffff
push 3
lea ecx, [ebp - 0x218]
call fcn.10017fd3
mov dword [ebp - 4], 2
push 3
lea ecx, [ebp - 0x208]
call fcn.10017fd3
mov byte [ebp - 4], 3
mov dword [ebp - 0x1f8], 4
mov dword [ebp - 0x1f4], 4
mov dword [ebp - 0x1f0], 4
mov dword [ebp - 0x1ec], 4
mov dword [ebp - 0x18], 0
jmp 0x1004cc9b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004ccb7
push dword [ebp - 0x18]
lea ecx, [ebp - 0x218]
call fcn.10018040
mov dword [eax], 1
jmp 0x1004cc94
mov dword [ebp - 0x18], 0
jmp 0x1004ccc7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1004ccdd
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x248], 0x4c40
jmp 0x1004ccc0
mov dword [ebp - 0x18], 0
jmp 0x1004cced
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004cd09
push dword [ebp - 0x18]
lea ecx, [ebp - 0x208]
call fcn.10018040
mov dword [eax], 4
jmp 0x1004cce6
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1f8]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x1f8], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x208]
call fcn.1001803b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.1001803b
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x1004d6fe
mov dword [ebp - 0x2c], 0x8a61928c
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x1c], 0x99ea5d84
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x180], 0xd90538e0
mov dword [ebp - 0x1b4], 2
mov dword [ebp - 0x2c], 0
jmp 0x1004cd9e
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffe5
jle 0x1004ce1d
mov dword [ebp - 0x1cc], 0xfffffffc
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0x1cc], 0xffff
mov eax, 0xa2b3b7be
sub eax, 0x27213ec7
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x16580849
je 0x1004cdea
mov dword [ebp - 0x150], 1
jmp 0x1004cdf1
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x150], eax
jg 0x1004ce08
mov dword [ebp - 0xf8], 1
jmp 0x1004ce0f
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x80], eax
jmp 0x1004cd97
cmp dword [ebp - 0x1c], 0x939c
jne 0x1004ce32
mov dword [ebp - 0x158], 1
jmp 0x1004ce39
and dword [ebp - 0x158], 0
mov dword [ebp - 0x2c], 0x3e91
mov eax, dword [ebp - 0x158]
sub eax, 0x7c1a
cmp dword [ebp - 0x2c], eax
jne 0x1004ce5c
mov dword [ebp - 0x100], 1
jmp 0x1004ce63
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], eax
je 0x1004ce80
mov dword [ebp - 0x160], 1
jmp 0x1004ce87
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
sub eax, 0x3134d13a
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x80], eax
jg 0x1004cea9
mov dword [ebp - 0x108], 1
jmp 0x1004ceb0
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x108]
jne 0x1004ceca
cmp dword [ebp - 0x2c], 0
jne 0x1004ceca
and dword [ebp - 0xac], 0
jmp 0x1004ced4
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xac]
je 0x1004cef0
xor eax, eax
inc eax
je 0x1004cef0
mov dword [ebp - 0x110], 1
jmp 0x1004cef7
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x110]
test eax, eax
jne 0x1004cf11
mov dword [ebp - 0x170], 1
jmp 0x1004cf18
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
sub eax, 0x5628f828
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
add eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jne 0x1004cf46
mov dword [ebp - 0x178], 1
jmp 0x1004cf4d
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x178]
cmp eax, 0xffffffff
jl 0x1004cf67
mov dword [ebp - 0x120], 1
jmp 0x1004cf6e
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
neg eax
cmp eax, 0x115
jne 0x1004cf95
mov dword [ebp - 0x128], 1
jmp 0x1004cf9c
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0xfffffff7
jg 0x1004cfb1
mov dword [ebp - 0x188], 1
jmp 0x1004cfb8
and dword [ebp - 0x188], 0
cmp dword [ebp - 0x188], 1
jl 0x1004cfcd
mov dword [ebp - 0x190], 1
jmp 0x1004cfd4
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x1004cff5
cmp dword [ebp - 0x70], 0
je 0x1004cff5
mov dword [ebp - 0x134], 1
jmp 0x1004cffc
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x3c], 0x24a8c6a5
mov dword [ebp - 0x18c], 5
mov dword [ebp - 0x3c], 0
jmp 0x1004d03b
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x1004d25e
push 1
lea ecx, [ebp - 0x90]
call fcn.10017fd3
mov dword [ebp - 4], 4
mov dword [ebp - 0x1c8], 8
mov dword [ebp - 0x28], 0
jmp 0x1004d073
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1004d086
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x68], 0xfffffffb
jmp 0x1004d06c
mov dword [ebp - 0x28], 0
jmp 0x1004d096
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1004d0b2
push dword [ebp - 0x28]
lea ecx, [ebp - 0x90]
call fcn.10018040
mov dword [eax], 1
jmp 0x1004d08f
push 0
lea ecx, [ebp - 0x90]
call fcn.10018040
and dword [eax], 0
jmp 0x1004d0e8
push 0
lea ecx, [ebp - 0x90]
call fcn.10018040
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x16c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x90]
call fcn.10018040
cmp dword [eax], 0
jl 0x1004d24a
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x14c], 0xfffffff8
push 0
lea ecx, [ebp - 0x90]
call fcn.10018040
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x68], 0
je 0x1004d13c
push 0
lea ecx, [ebp - 0x90]
call fcn.10018040
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x68], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x84], eax
jl 0x1004d156
mov dword [ebp - 0x194], 1
jmp 0x1004d15d
and dword [ebp - 0x194], 0
push 0
lea ecx, [ebp - 0x90]
call fcn.10018040
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x68]
mov dword [ebp - 0x13c], eax
push 0
lea ecx, [ebp - 0x90]
call fcn.10018040
mov eax, dword [eax]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp + eax*4 - 0x68], ecx
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x194]
jle 0x1004d1a9
mov dword [ebp - 0x1b0], 1
jmp 0x1004d1b0
and dword [ebp - 0x1b0], 0
push 0
lea ecx, [ebp - 0x90]
call fcn.10018040
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x84], 6
je 0x1004d1db
mov dword [ebp - 0x144], 1
jmp 0x1004d1e2
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x18c]
cmp dword [ebp - 0x144], eax
jge 0x1004d1fc
mov dword [ebp - 0x174], 1
jmp 0x1004d203
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0x2715
je 0x1004d22d
cmp dword [ebp - 0x18c], 0
jne 0x1004d22d
and dword [ebp - 0x154], 0
jmp 0x1004d237
mov dword [ebp - 0x154], 1
mov eax, dword [ebp - 0x154]
neg eax
mov dword [ebp - 0x1c8], eax
jmp 0x1004d0c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.1001803b
jmp 0x1004d034
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1004d279
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], 0x90ac204e
mov dword [ebp - 0x20], 0xf703c576
mov dword [ebp - 0x1c0], 0x7819afca
mov dword [ebp - 0x14], 0xfffffff3
jmp 0x1004d2aa
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
je 0x1004d488
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x17c], 0x28ea3888
push 3
lea ecx, [ebp - 0x1e8]
call fcn.10017fd3
mov dword [ebp - 4], 5
mov dword [ebp - 0xdc], 4
mov dword [ebp - 0x1d0], 2
mov dword [ebp - 0x60], 0
jmp 0x1004d2fd
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1004d319
push dword [ebp - 0x60]
lea ecx, [ebp - 0x1e8]
call fcn.10018040
mov dword [eax], 0xdc8dfba2
jmp 0x1004d2f6
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0xb0], eax
push 0
lea ecx, [ebp - 0x1e8]
call fcn.10018040
mov ecx, dword [ebp - 0xb0]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
add eax, 7
je 0x1004d3df
cmp dword [ebp - 0x14], 0
jne 0x1004d373
mov eax, 0x5bbb
test eax, eax
jne 0x1004d373
and dword [ebp - 0xb4], 0
jmp 0x1004d37d
mov dword [ebp - 0xb4], 1
push 0
lea ecx, [ebp - 0x1e8]
call fcn.10018040
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb4]
jle 0x1004d3a0
mov dword [ebp - 0xbc], 1
jmp 0x1004d3a7
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xdc]
cmp dword [ebp - 0xbc], eax
jne 0x1004d3c1
mov dword [ebp - 0xc4], 1
jmp 0x1004d3c8
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc4], eax
jle 0x1004d3df
mov dword [ebp - 0xcc], 1
jmp 0x1004d3e6
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0xfffffffb
je 0x1004d3fb
mov dword [ebp - 0xd4], 1
jmp 0x1004d402
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xdc]
cmp dword [ebp - 0x20], eax
je 0x1004d422
mov dword [ebp - 0xe4], 1
jmp 0x1004d429
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xe4], eax
jl 0x1004d440
mov dword [ebp - 0xec], 1
jmp 0x1004d447
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0xec], eax
jne 0x1004d45e
mov dword [ebp - 0xf4], 1
jmp 0x1004d465
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xf4]
mov dword [ebp - 0x1d0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.1001803b
jmp 0x1004d2a3
imul eax, dword [ebp - 0x14], 0xfff6
cmp dword [ebp - 0x14], eax
jg 0x1004d4a0
mov dword [ebp - 0xfc], 1
jmp 0x1004d4a7
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0
ja 0x1004d4bf
cmp dword [ebp - 0x20], 0
jne 0x1004d4bf
and dword [ebp - 0x104], 0
jmp 0x1004d4c9
mov dword [ebp - 0x104], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x104]
jge 0x1004d4e0
mov dword [ebp - 0x10c], 1
jmp 0x1004d4e7
and dword [ebp - 0x10c], 0
imul eax, dword [ebp - 0x10c], 0xfffffff8
test eax, eax
jle 0x1004d4fe
mov dword [ebp - 0x114], 1
jmp 0x1004d505
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0x31cd1ac8
jl 0x1004d523
cmp dword [ebp - 0x20], 0
je 0x1004d523
mov dword [ebp - 0x11c], 1
jmp 0x1004d52a
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x20]
jle 0x1004d67a
push 2
lea ecx, [ebp - 0x228]
call fcn.10017fd3
mov dword [ebp - 4], 6
mov dword [ebp - 0x48], 0
jmp 0x1004d560
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x1004d57c
push dword [ebp - 0x48]
lea ecx, [ebp - 0x228]
call fcn.10018040
mov dword [eax], 1
jmp 0x1004d559
mov dword [ebp - 0x14], 1
jmp 0x1004d58c
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004d669
mov dword [ebp - 0x20], 1
jmp 0x1004d5a6
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1004d664
push 3
lea ecx, [ebp - 0x1dc]
call fcn.10017fd3
mov byte [ebp - 4], 7
mov dword [ebp - 0x50], 0
jmp 0x1004d5d1
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1004d5ed
push dword [ebp - 0x50]
lea ecx, [ebp - 0x1dc]
call fcn.10018040
mov dword [eax], 0xd9978317
jmp 0x1004d5ca
push 0
lea ecx, [ebp - 0x1dc]
call fcn.10018040
mov dword [eax], 1
jmp 0x1004d626
push 0
lea ecx, [ebp - 0x1dc]
call fcn.10018040
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x124]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1dc]
call fcn.10018040
cmp dword [eax], 0
jl 0x1004d650
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1004d64e
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
jmp 0x1004d602
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1dc]
call fcn.1001803b
jmp 0x1004d59f
jmp 0x1004d585
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1001803b
jmp 0x1004d6bc
mov dword [ebp - 0x58], 0
jmp 0x1004d68a
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x1004d6a0
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x238], 0xffffffff
jmp 0x1004d683
mov dword [ebp - 0x1c0], 1
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1004d6bc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], 0
jmp 0x1004d6de
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 1
jge 0x1004d6fe
mov eax, dword [ebp - 0x40]
push dword [eax]
mov ecx, dword [ebp - 0x1ac]
call fcn.10018040
mov dword [eax], 0x8421
jmp 0x1004d6d3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret