Function at 0x10050170
Capabilities:
Accept command line arguments
Identify system language via api
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100819c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3b0
push esi
push edi
mov dword [ebp - 0x30], 0x6e3245f1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x1c], 0x8951bb35
mov dword [ebp - 0x74], 0x7507af9c
xor eax, eax
sub eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jle 0x100501c2
mov dword [ebp - 0x118], 1
jmp 0x100501c9
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
add eax, 0x6c37fc05
cmp eax, 1
je 0x100501e5
mov dword [ebp - 0x164], 1
jmp 0x100501ec
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x164], eax
je 0x10050209
cmp dword [ebp - 0x30], 0
je 0x10050209
mov dword [ebp - 0xe4], 1
jmp 0x10050210
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xe4], eax
je 0x10050227
mov dword [ebp - 0x1e4], 1
jmp 0x1005022e
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x1e4]
sub eax, 3
cmp eax, 1
jne 0x10050248
mov dword [ebp - 0xec], 1
jmp 0x1005024f
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
sub eax, 0x75fe6ce0
jne 0x10050269
xor eax, eax
jne 0x10050269
and dword [ebp - 0x16c], 0
jmp 0x10050273
mov dword [ebp - 0x16c], 1
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x30], eax
je 0x100502a2
mov dword [ebp - 0xf4], 1
jmp 0x100502a9
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0xf4], eax
je 0x100502c0
mov dword [ebp - 0x1ac], 1
jmp 0x100502c7
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x1ac]
lea eax, [eax + ecx - 0xffff]
test eax, eax
je 0x100502f7
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x100502f2
push 0
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100504d5
mov dword [ebp - 0x50], 0xffff
mov dword [ebp - 0x94], 0
jmp 0x10050317
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 2
jge 0x10050333
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x2d8], 0xbc8b6976
jmp 0x1005030a
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x10050347
push 0
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [ebp - 0x40], 0
jmp 0x10050357
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x10
jg 0x100504d5
mov dword [ebp - 0xc0], 0x51404fc4
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x1c], eax
jg 0x1005037f
mov dword [ebp - 0x1cc], 1
jmp 0x10050386
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x50], 0
jne 0x1005039e
mov eax, 0x7a22
test eax, eax
jne 0x1005039e
and dword [ebp - 0xfc], 0
jmp 0x100503a8
mov dword [ebp - 0xfc], 1
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0xc0]
jge 0x100503c5
mov dword [ebp - 0x174], 1
jmp 0x100503cc
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x174], eax
je 0x100503e3
mov dword [ebp - 0x104], 1
jmp 0x100503ea
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x104]
add eax, 9
cmp eax, 0xfffffff6
jl 0x10050408
mov dword [ebp - 0x1f8], 1
jmp 0x1005040f
and dword [ebp - 0x1f8], 0
cmp dword [ebp - 0xc0], 0x45c5
jne 0x10050427
mov dword [ebp - 0x10c], 1
jmp 0x1005042e
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x1cc]
cmp eax, dword [ebp - 0x10c]
jne 0x10050448
mov dword [ebp - 0x17c], 1
jmp 0x1005044f
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x17c], eax
je 0x10050469
mov dword [ebp - 0x114], 1
jmp 0x10050470
and dword [ebp - 0x114], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x114]
mov dword [ebp + eax - 0x2d8], ecx
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x10050493
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1b
jge 0x100504d0
mov dword [ebp - 0x50], 0x17
jmp 0x100504a9
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x28
jne 0x100504ce
mov byte [ebp - 0x3b], 0
movzx eax, byte [ebp - 0x3b]
test eax, eax
je 0x100504cc
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x100504a2
jmp 0x1005048c
jmp 0x10050350
mov dword [ebp - 0x54], 0xffffffff
push 1
lea ecx, [ebp - 0x2b8]
call fcn.10017ff2
and dword [ebp - 4], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0xb4], 0
jmp 0x10050510
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 1
jge 0x1005052f
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x2b8]
call fcn.1001807e
or dword [eax], 0xffffffff
jmp 0x10050503
mov dword [ebp - 0x54], 0x18
jmp 0x1005053f
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x1c
jl 0x100506db
mov dword [ebp - 0x9c], 0x38c0
mov dword [ebp - 0x184], 0xfffffffe
push 4
lea ecx, [ebp - 0x2ac]
call fcn.10017ff2
mov byte [ebp - 4], 1
mov dword [ebp - 0x7c], 0
jmp 0x1005057e
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jge 0x1005059a
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x2ac]
call fcn.1001807e
mov dword [eax], 0xa5f9
jmp 0x10050577
push 0
lea ecx, [ebp - 0x2b8]
call fcn.1001807e
mov dword [eax], 6
xor eax, eax
cmp eax, 6
jle 0x100505c0
mov dword [ebp - 0xc4], 1
jmp 0x100505c7
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x2ac]
call fcn.1001807e
mov ecx, dword [ebp - 0xc4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xc4]
jge 0x100505f6
mov dword [ebp - 0x1b4], 1
jmp 0x100505fd
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x1b4]
jg 0x10050617
mov dword [ebp - 0x11c], 1
jmp 0x1005061e
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0x2ba75a59
je 0x10050636
mov dword [ebp - 0x124], 1
jmp 0x1005063d
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x124]
jg 0x10050663
mov dword [ebp - 0x1dc], 1
jmp 0x1005066a
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x1dc]
lea eax, [ecx + eax + 0xa53f]
test eax, eax
jne 0x10050693
mov eax, 0xfffa
test eax, eax
jne 0x10050693
and dword [ebp - 0x12c], 0
jmp 0x1005069d
mov dword [ebp - 0x12c], 1
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x12c], eax
jl 0x100506b4
mov dword [ebp - 0x18c], 1
jmp 0x100506bb
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x214], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2ac]
call fcn.10018079
jmp 0x10050538
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b8]
call fcn.10018079
mov dword [ebp - 0xac], 0x62d5e48d
push 1
lea ecx, [ebp - 0x240]
call fcn.10017ff2
mov dword [ebp - 4], 2
mov dword [ebp - 0x1bc], 0x72c40a98
mov dword [ebp - 0x304], 0xadb5
mov dword [ebp - 0x30c], 1
mov dword [ebp - 0x314], 9
mov dword [ebp - 0x2a0], 0xf1efae07
mov dword [ebp - 0x29c], 0xf1efae07
mov dword [ebp - 0x298], 0xf1efae07
mov dword [ebp - 0x294], 0xf1efae07
lea ecx, [ebp - 0xcd]
call fcn.10008d03
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x394]
call fcn.1001808d
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x380]
call fcn.10018053
mov byte [ebp - 4], 3
mov dword [ebp - 0x19c], 0x778d402a
mov dword [ebp - 0x84], 0
jmp 0x100507b4
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jge 0x100507d6
push dword [ebp - 0x84]
lea ecx, [ebp - 0x240]
call fcn.1001807e
mov dword [eax], 5
jmp 0x100507a7
mov dword [ebp - 0xac], 0
jmp 0x100507ef
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xfffffff9
jle 0x10050a97
mov dword [ebp - 0x24], 0xc04ee7d2
push 2
lea ecx, [ebp - 0x33c]
call fcn.10017ff2
mov byte [ebp - 4], 4
mov dword [ebp - 0x31c], 0x7a32987c
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x8c], 0
jmp 0x10050841
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 2
jge 0x10050863
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x33c]
call fcn.1001807e
mov dword [eax], 0x5423
jmp 0x10050834
mov dword [ebp - 0x24], 0
jmp 0x10050873
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10050a83
mov dword [ebp - 0x44], 0xfffffff8
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x32c], 0xffffffff
mov dword [ebp - 0x374], 0xf4aca62e
mov dword [ebp - 0x368], 0xdec53312
mov dword [ebp - 0x44], 0
jmp 0x100508bc
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x10050a71
mov dword [ebp - 0x14], 0xb8f5f499
mov dword [ebp - 0x1ec], 0x1940c9ba
mov dword [ebp - 0x21c], 0xfffffff6
mov dword [ebp - 0x14], 0
jmp 0x100508f1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x1005091b
push dword [ebp - 0x44]
lea ecx, [ebp - 0x240]
call fcn.1001807e
mov esi, eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x240]
call fcn.1001807e
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x100508ea
mov dword [ebp - 0x14], 0
jmp 0x1005092b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x10050a6c
mov dword [ebp - 0x208], 0xd86bdae8
cmp dword [ebp - 0x24], 0
je 0x10050a18
cmp dword [ebp - 0x14], 0xee9
jg 0x1005095e
mov dword [ebp - 0x134], 1
jmp 0x10050965
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0x76e1
jne 0x1005097d
mov dword [ebp - 0x13c], 1
jmp 0x10050984
and dword [ebp - 0x13c], 0
mov dword [ebp - 0x1bc], 0x23edb395
mov eax, dword [ebp - 0x1bc]
cmp eax, dword [ebp - 0x13c]
jne 0x100509a8
mov dword [ebp - 0x194], 1
jmp 0x100509af
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x194], eax
jge 0x100509c6
mov dword [ebp - 0x144], 1
jmp 0x100509cd
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0xb5af9f7c
jne 0x100509f4
cmp dword [ebp - 0x24], 0
je 0x100509f4
cmp dword [ebp - 0x1ec], 0
je 0x100509f4
mov dword [ebp - 0x228], 1
jmp 0x100509fb
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x24], eax
jle 0x10050a18
mov dword [ebp - 0x1d4], 1
jmp 0x10050a1f
and dword [ebp - 0x1d4], 0
imul eax, dword [ebp - 0x1d4], 0x864b
mov dword [ebp - 0x200], eax
mov eax, 0xcf41
test eax, eax
jne 0x10050a46
or eax, 0xffffffff
jne 0x10050a46
and dword [ebp - 0x14c], 0
jmp 0x10050a50
mov dword [ebp - 0x14c], 1
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x208], 0
je 0x10050a67
jmp 0x10050a6c
jmp 0x10050924
jmp 0x100508b5
mov eax, dword [ebp - 0x19c]
dec eax
mov dword [ebp - 0x19c], eax
jmp 0x1005086c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x33c]
call fcn.10018079
jmp 0x100507e2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x380]
call fcn.10018079
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.10018079
mov dword [ebp - 0x28c], 0x71177e8e
mov dword [ebp - 0x288], 0x71177e8e
mov dword [ebp - 0x284], 0x71177e8e
mov dword [ebp - 0x280], 0x71177e8e
lea ecx, [ebp - 0xc5]
call fcn.10008d03
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x39c]
call fcn.1001808d
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x264]
call fcn.10018053
mov dword [ebp - 4], 5
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0xf8], 0x94bb489f
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x218], 4
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x2dc], 1
mov dword [ebp - 0x234], 0xed6c34f1
mov dword [ebp - 0x2ec], 0xfffffff6
mov dword [ebp - 0x154], 9
push 1
lea ecx, [ebp - 0x34c]
call fcn.10017ff2
mov byte [ebp - 4], 6
mov dword [ebp - 0xa4], 0
jmp 0x10050bab
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 1
jge 0x10050bcd
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x34c]
call fcn.1001807e
mov dword [eax], 1
jmp 0x10050b9e
mov dword [ebp - 0x60], 0
jmp 0x10050bdd
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jg 0x10050ec3
mov dword [ebp - 0x68], 0xe2c0d37a
mov dword [ebp - 0x2f4], 9
mov dword [ebp - 0x2e8], 0xfffffffe
mov dword [ebp - 0x210], 0xa2b441a6
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2f0], 1
mov dword [ebp - 0x360], 1
mov dword [ebp - 0x224], 0x819d3388
mov dword [ebp - 0x22c], 0x8af066b
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x230], 0xd96456cf
mov dword [ebp - 0x68], 3
jmp 0x10050c5f
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x10050ce2
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x70], 0
jmp 0x10050c7c
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x10050c92
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x3bc], 5
jmp 0x10050c75
mov dword [ebp - 0x64], 3
jmp 0x10050ca2
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x10050cdd
mov dword [ebp - 0x78], 0
jmp 0x10050cb8
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
jge 0x10050cce
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x2f8], 0x3a88e00f
jmp 0x10050cb1
mov eax, dword [ebp - 0x154]
dec eax
mov dword [ebp - 0x154], eax
jmp 0x10050c9b
jmp 0x10050c58
mov dword [ebp - 0x38], 0
jmp 0x10050cf2
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x10050ebe
mov dword [ebp - 0xcc], 0xb4ea65d3
push dword [ebp - 0x38]
lea ecx, [ebp - 0x264]
call fcn.1001807e
cmp dword [eax], 1
jg 0x10050d25
mov dword [ebp - 0x1c4], 1
jmp 0x10050d2c
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 1
jb 0x10050d41
mov dword [ebp - 0x15c], 1
jmp 0x10050d48
and dword [ebp - 0x15c], 0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x264]
call fcn.1001807e
cmp dword [ebp - 0x224], 7
jne 0x10050d6b
mov dword [ebp - 0x1a4], 1
jmp 0x10050d72
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x1a4]
mov dword [ebp - 0xdc], eax
jne 0x10050da2
push dword [ebp - 0x38]
lea ecx, [ebp - 0x264]
call fcn.1001807e
cmp dword [eax], 0
jne 0x10050da2
and dword [ebp - 0xe0], 0
jmp 0x10050dac
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x80], 3
jmp 0x10050dc8
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jl 0x10050eb9
mov dword [ebp - 0x1f0], 0xfffffffe
cmp dword [ebp - 0x22c], 0xffffffff
jg 0x10050df1
mov dword [ebp - 0xf0], 1
jmp 0x10050df8
and dword [ebp - 0xf0], 0
mov dword [ebp - 0xcc], 6
cmp dword [ebp - 0xcc], 0
je 0x10050e31
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x330], eax
cmp dword [ebp - 0xf8], 0
je 0x10050e31
or eax, 0xffffffff
je 0x10050e31
mov dword [ebp - 0xe8], 1
jmp 0x10050e38
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
sub eax, 6
imul eax, dword [ebp - 0x234]
cmp dword [ebp - 0xf0], eax
jg 0x10050e5c
mov dword [ebp - 0x220], 1
jmp 0x10050e63
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x300], eax
xor eax, eax
inc eax
jne 0x10050e80
mov dword [ebp - 0x100], 1
jmp 0x10050e87
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0x100], eax
jge 0x10050ea1
mov dword [ebp - 0x108], 1
jmp 0x10050ea8
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1f0], eax
jmp 0x10050dc1
jmp 0x10050ceb
jmp 0x10050bd6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34c]
call fcn.10018079
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.10018079
mov dword [ebp - 0x88], 0
jmp 0x10050efa
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 1
jge 0x10050f16
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x364], 3
jmp 0x10050eed
mov dword [ebp - 0x90], 0x17571177
mov dword [ebp - 0x90], 0
jmp 0x10050f39
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xe
jne 0x10050fb4
mov dword [ebp - 0x98], 0xe3245f1d
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x10050f60
push 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x98], 0
jmp 0x10050f79
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x14
jge 0x10050faf
mov dword [ebp - 0x1f4], 0xf9e923e6
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10050fa2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp dword [ebp - 0x1f4], 0
je 0x10050fad
jmp 0x10050faf
jmp 0x10050f6c
jmp 0x10050f2c
mov dword [ebp - 0xa0], 0xea5d6c05
mov dword [ebp - 0x308], 0
mov dword [ebp - 0xa0], 8
jmp 0x10050fe1
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x15
jle 0x10051104
push 1
lea ecx, [ebp - 0x24c]
call fcn.10017ff2
mov dword [ebp - 4], 7
mov dword [ebp - 0x4c], 0x66f5a9c4
mov dword [ebp - 0xa8], 0
jmp 0x10051022
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 1
jge 0x10051044
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x24c]
call fcn.1001807e
mov dword [eax], 0xe0b4074d
jmp 0x10051015
mov dword [ebp - 0x4c], 0
jmp 0x10051054
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jg 0x100510f0
mov dword [ebp - 0xb0], 0xf0aa6e6f
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x10051086
push 0
push 0x2307
push 0x14bb
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
mov dword [ebp - 0xb0], 0
jmp 0x1005109f
mov eax, dword [ebp - 0xb0]
dec eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jl 0x100510eb
mov dword [ebp - 0x5c], 0x188e17b8
mov dword [ebp - 0x5c], 0
jmp 0x100510bf
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x100510e9
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x24c]
call fcn.1001807e
mov esi, eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x24c]
call fcn.1001807e
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x100510b8
jmp 0x10051092
jmp 0x1005104d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10018079
jmp 0x10050fd4
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1005111f
push 0x21a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov byte [ebp - 0x25], 0
mov dword [ebp - 0x10], 0xfe387fb0
mov dword [ebp - 0x120], 0xd9dcee34
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x48], 0x4caa5d73
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x10], 0
jne 0x10051185
cmp dword [ebp - 0x10], 0
jne 0x10051185
and dword [ebp - 0x110], 0
jmp 0x1005118f
mov dword [ebp - 0x110], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x110], eax
jg 0x100511a6
mov dword [ebp - 0xd8], 1
jmp 0x100511ad
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x100511d8
push 7
pop eax
test eax, eax
jne 0x100511d8
and dword [ebp - 0x128], 0
jmp 0x100511e2
mov dword [ebp - 0x128], 1
imul eax, dword [ebp - 0x128], 0xedf0
dec eax
jne 0x100511fe
cmp dword [ebp - 0x58], 0
jne 0x100511fe
and dword [ebp - 0x130], 0
jmp 0x10051208
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x138], eax
jne 0x1005122e
mov dword [ebp - 0x140], 1
jmp 0x10051235
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x10]
jge 0x1005124f
mov dword [ebp - 0x1fc], 1
jmp 0x10051256
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x1005131c
push 2
lea ecx, [ebp - 0x35c]
call fcn.10017ff2
mov dword [ebp - 4], 8
mov dword [ebp - 0xb8], 0
jmp 0x100512a5
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 2
jge 0x100512c7
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x35c]
call fcn.1001807e
mov dword [eax], 0xffff
jmp 0x10051298
mov dword [ebp - 0x48], 0
jmp 0x100512d7
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x23
jge 0x1005130b
mov dword [ebp - 0x10], 0
jmp 0x100512ed
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10051309
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x10051307
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x100512e6
jmp 0x100512d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x35c]
call fcn.10018079
jmp 0x10051349
mov byte [ebp - 0x3a], 0
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x1005132e
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10051349
push 0
push 0
push 0xb6e
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10051357
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 1
lea eax, [ebp - 0x3b0]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.1004dd64
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x38c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x38c]
lea edi, [ebp - 0x258]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], 0x13dce9d
mov dword [ebp - 0x148], 4
mov dword [ebp - 0xd4], 0
and dword [ebp - 0x278], 0
and dword [ebp - 0x274], 0
and dword [ebp - 0x270], 0
and dword [ebp - 0x26c], 0
lea ecx, [ebp - 0xb9]
call fcn.10008d03
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x3a4]
call fcn.1001808d
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2c4]
call fcn.10018053
mov dword [ebp - 4], 9
mov dword [ebp - 0x168], 0xf9a4d91f
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x204], 0x57a55752
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x18], 0
je 0x1005144c
mov eax, 0x6160cbeb
test eax, eax
je 0x1005144c
mov dword [ebp - 0x198], 1
jmp 0x10051453
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
shl eax, 1
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jg 0x1005147d
mov dword [ebp - 0x150], 1
jmp 0x10051484
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x158], eax
push 2
lea ecx, [ebp - 0x2c4]
call fcn.1001807e
mov ecx, dword [ebp - 0x158]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x158], eax
jle 0x100514c8
mov dword [ebp - 0x160], 1
jmp 0x100514cf
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x100514f9
cmp dword [ebp - 0xd4], 0
je 0x100514f9
mov dword [ebp - 0x170], 1
jmp 0x10051500
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x170], eax
jle 0x10051517
mov dword [ebp - 0x178], 1
jmp 0x1005151e
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x178], eax
jg 0x10051535
mov dword [ebp - 0x180], 1
jmp 0x1005153c
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0xfffffff7
jne 0x10051551
mov dword [ebp - 0x188], 1
jmp 0x10051558
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
cmp dword [ebp - 0x198], eax
jge 0x1005157e
mov dword [ebp - 0x1a0], 1
jmp 0x10051585
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 4
je 0x1005159a
mov dword [ebp - 0x1a8], 1
jmp 0x100515a1
and dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x1a8], 1
ja 0x100515bc
mov eax, 0x6572
test eax, eax
jne 0x100515bc
and dword [ebp - 0x1b0], 0
jmp 0x100515c6
mov dword [ebp - 0x1b0], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1b0], eax
je 0x100515dd
mov dword [ebp - 0x1b8], 1
jmp 0x100515e4
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x1b8], eax
jle 0x100515fb
mov dword [ebp - 0x1c0], 1
jmp 0x10051602
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x1c0], eax
jle 0x1005162b
push 1
lea ecx, [ebp - 0x2c4]
call fcn.1001807e
cmp dword [eax], 0
je 0x1005162b
mov dword [ebp - 0x1c8], 1
jmp 0x10051632
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
sub eax, dword [ebp - 0x6c]
je 0x1005165e
mov eax, 0xd28
test eax, eax
je 0x1005165e
mov dword [ebp - 0x1d8], 1
jmp 0x10051665
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1d8], eax
je 0x10051682
mov eax, 0x8a0c0902
test eax, eax
jne 0x10051682
and dword [ebp - 0x1e0], 0
jmp 0x1005168c
mov dword [ebp - 0x1e0], 1
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x204], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c4]
call fcn.10018079
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x20], 0
jmp 0x100516be
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x15
jg 0x100516d6
push 0
call fcn.1004e4ff
pop ecx
push 1
call fcn.1004e4ff
pop ecx
jmp 0x100516b7
cmp dword [ebp - 0x20], 0xffffffff
jge 0x100516f0
push 8
pop eax
sub eax, dword [ebp - 0x20]
je 0x100516f0
mov dword [ebp - 0x1e8], 1
jmp 0x100516f7
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0x8974b66
jge 0x1005170f
mov dword [ebp - 0x20c], 1
jmp 0x10051716
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x20], 0xfffffff6
cmp dword [ebp - 0x258], 0
je 0x10051743
push 2
push dword [ebp - 0x250]
push dword [ebp - 0x254]
call dword [ebp - 0x258]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret