Function at 0x10037a50
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100665d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x43c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c0], 0x7684
mov al, byte [0x1007f170]
mov byte [ebp - 0x11], al
mov cl, byte [0x1007f188]
mov byte [ebp - 0x12], cl
xor edx, edx
mov dword [ebp - 0x54], 0x9096
mov dword [ebp - 0x50], edx
mov byte [ebp - 0x13], 0x1e
mov al, byte [0x1007f178]
mov byte [ebp - 0x15], al
mov dword [ebp - 0x84], 0x803a
mov ecx, dword [str.C]
xor edx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
xor eax, eax
mov dword [ebp - 0x70], 0x7e9e
mov dword [ebp - 0x6c], eax
xor ecx, ecx
mov dword [ebp - 0x40], 0x66
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x1007f120]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], 0x2bc7
mov ax, word [0x1007f170]
mov word [ebp - 0x28], ax
xor ecx, ecx
mov dword [ebp - 0x30], 0xee
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x78], 1
mov edx, dword [0x1007f144]
mov word [ebp - 0x1c], dx
movzx eax, byte [0x1007f027]
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x1007f180]
mov dword [ebp - 0x4c], ecx
mov edx, dword [0x1007f1a4]
mov byte [ebp - 0x1d], dl
mov eax, dword [0x1007f1c0]
mov ecx, dword [0x1007f1c4]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dx, word [0x1007f1a0]
mov word [ebp - 0x24], dx
mov dword [ebp - 0x74], 0x2c
mov ax, word [0x1007f128]
mov byte [ebp - 0x14], al
mov dword [ebp - 0x60], 0x7bcddd9d
xor ecx, ecx
mov dword [ebp - 0x80], 0x12
mov dword [ebp - 0x7c], ecx
mov dx, word [0x1007f1b8]
mov byte [ebp - 0x85], dl
mov al, byte [str.C]
mov byte [ebp - 0x86], al
mov byte [ebp - 0xd0], 0x74
xor ecx, ecx
mov dword [ebp - 0x3cc], 0x96924beb
mov dword [ebp - 0x3c8], ecx
mov edx, 0x5f
mov word [ebp - 0x228], dx
mov ax, word [0x1007f168]
mov byte [ebp - 0xcf], al
mov dword [ebp - 0x3c4], 0x5cfb
xor ecx, ecx
mov dword [ebp - 0x3d4], 0xd
mov dword [ebp - 0x3d0], ecx
mov dword [ebp - 0x37c], 0x13
mov dx, word [0x1007f1a8]
mov byte [ebp - 0xce], dl
mov byte [ebp - 0xcd], 0xda
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x2c]
je 0x10037c0b
movsx ecx, word [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
mov word [0x1007f168], ax
jmp 0x10037de6
movzx eax, word [0x1007f128]
cdq
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
add esi, eax
adc edi, edx
not esi
not edi
movzx eax, word [0x1007f1b8]
cdq
push edx
push eax
mov edx, dword [0x1007f1c4]
push edx
mov eax, dword [0x1007f1c0]
push eax
call fcn.1005a1b0
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], edi
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [ebp - 0x23c]
jl 0x10037c9b
jg 0x10037c73
mov edx, dword [ebp - 0x238]
cmp edx, dword [ebp - 0x240]
jbe 0x10037c9b
mov eax, dword [0x1007f144]
cdq
sub eax, dword [ebp - 0x30]
sbb edx, dword [ebp - 0x2c]
mov dword [0x1007f190], eax
mov dword [0x1007f194], edx
xor eax, eax
mov dword [ebp - 0x40], 0xdb14dd92
mov dword [ebp - 0x3c], eax
jmp 0x10037de6
mov ecx, dword [0x1007f160]
mov edx, dword [0x1007f164]
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x248]
or eax, dword [ebp - 0x244]
jne 0x10037ccd
mov dword [ebp - 0x178], 1
jmp 0x10037cd7
mov dword [ebp - 0x178], 0
movzx ecx, byte [0x1007f026]
cmp ecx, dword [ebp - 0x178]
je 0x10037cf2
mov dword [ebp - 0x17c], 1
jmp 0x10037cfc
mov dword [ebp - 0x17c], 0
mov ecx, dword [0x1007f1d0]
mov esi, dword [0x1007f1d4]
mov eax, dword [ebp - 0x74]
cdq
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], esi
mov edx, dword [ebp - 0x24c]
cmp edx, dword [ebp - 0x254]
jl 0x10037d4e
jg 0x10037d42
mov eax, dword [ebp - 0x250]
cmp eax, dword [ebp - 0x258]
jb 0x10037d4e
mov dword [ebp - 0x180], 1
jmp 0x10037d58
mov dword [ebp - 0x180], 0
mov ecx, dword [ebp - 0x17c]
cmp ecx, dword [ebp - 0x180]
jl 0x10037db7
mov ecx, dword [ebp - 0x4c]
sub ecx, 0xc77c
mov eax, dword [0x1007f198]
mov edx, dword [0x1007f19c]
call fcn.1005a210
mov dword [0x1007f198], eax
mov dword [0x1007f19c], edx
mov edx, dword [0x1007f154]
xor eax, eax
mov ecx, dword [0x1007f18c]
push ecx
mov ecx, dword [0x1007f188]
push ecx
push eax
push edx
call fcn.1005a1b0
mov edx, dword [0x1007f154]
sub edx, eax
mov dword [0x1007f154], edx
jmp 0x10037de6
movsx eax, word [0x1007f148]
test eax, eax
jne 0x10037de6
mov ecx, dword [ebp - 0x5c]
sub ecx, 0xdd
mov word [0x1007f1c8], cx
movsx edx, word [0x1007f1a8]
add edx, dword [0x1007f170]
mov word [0x1007f1a8], dx
mov eax, dword [0x1007fc38]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x60], 0
je 0x10037e44
mov eax, dword [ebp - 0x74]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.1005a1b0
mov ecx, dword [ebp - 0x40]
sub ecx, eax
mov eax, dword [ebp - 0x3c]
sbb eax, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
movzx ecx, word [0x1007f168]
test ecx, ecx
jne 0x10037e31
mov dword [ebp - 0x184], 1
jmp 0x10037e3b
mov dword [ebp - 0x184], 0
mov dl, byte [ebp - 0x184]
mov byte [ebp - 0x13], dl
mov eax, dword [ebp - 0x8c]
add eax, 0x19f
mov dword [ebp - 0x22c], eax
mov ecx, dword [0x1007f160]
mov edx, dword [0x1007f164]
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x260]
cmp eax, dword [ebp - 0x30]
jne 0x10037e83
mov ecx, dword [ebp - 0x25c]
cmp ecx, dword [ebp - 0x2c]
je 0x10037e8e
mov dl, byte [0x1007fc38]
mov byte [ebp - 0x12], dl
jmp 0x10037ee3
mov ecx, dword [0x1007f1b0]
not ecx
mov esi, dword [0x1007f1b4]
not esi
movzx eax, word [0x1007f1b8]
cdq
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x26c], esi
mov edx, dword [ebp - 0x264]
cmp edx, dword [ebp - 0x26c]
jg 0x10037ee3
jl 0x10037edc
mov eax, dword [ebp - 0x268]
cmp eax, dword [ebp - 0x270]
jae 0x10037ee3
mov byte [0x1007f027], 0x17
mov ecx, dword [ebp - 0x8c]
add ecx, 0x19b
mov dword [ebp - 0xf8], ecx
movzx edx, byte [0x1007f027]
movzx eax, word [0x1007f128]
cmp eax, edx
je 0x10037f3e
mov ecx, dword [0x1007f138]
mov edx, dword [0x1007f13c]
mov dword [ebp - 0x380], edx
movzx eax, word [0x1007f168]
cdq
add eax, ecx
mov word [0x1007f168], ax
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [ebp - 0x13]
sub ecx, eax
mov eax, ecx
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jmp 0x10037f64
movzx edx, byte [ebp - 0x12]
cmp dword [ebp - 0x48], edx
jle 0x10037f64
movzx eax, word [0x1007f1c8]
cdq
sub eax, 0x88a7642a
mov word [0x1007f128], ax
mov dword [ebp - 0x84], 0xf6262d7f
mov eax, dword [ebp - 0x8c]
add eax, 0x124
mov dword [ebp - 0x384], eax
mov ecx, dword [str.DEBUG:Touch_Capabl]
mov dword [ebp - 0x364], ecx
mov edx, dword [0x1006733c]
mov dword [ebp - 0x360], edx
mov eax, dword [0x10067340]
mov dword [ebp - 0x35c], eax
mov ecx, dword [0x10067344]
mov dword [ebp - 0x358], ecx
mov dx, word [0x10067348]
mov word [ebp - 0x354], dx
mov al, byte [0x1006734a]
mov byte [ebp - 0x352], al
lea ecx, [ebp - 0x364]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [0x1007f1bc], eax
mov edx, dword [0x1007fc38]
mov dword [ebp - 0x90], edx
push 0x4a48a
push 0xaf965284
mov eax, dword [0x1007f1c4]
push eax
mov ecx, dword [0x1007f1c0]
push ecx
call fcn.1005a1b0
mov dword [ebp - 0x4c], eax
movzx edx, word [ebp - 0x28]
test edx, edx
jne 0x1003800e
mov dword [ebp - 0x188], 1
jmp 0x10038018
mov dword [ebp - 0x188], 0
cmp dword [0x1007f144], 0
jne 0x1003802d
mov dword [ebp - 0x18c], 1
jmp 0x10038037
mov dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x60]
not eax
imul eax, dword [ebp - 0x188]
add eax, dword [ebp - 0x18c]
jne 0x1003805f
xor ecx, ecx
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x19c], ecx
jmp 0x1003806a
xorps xmm0, xmm0
movlpd qword [ebp - 0x1a0], xmm0
mov edx, dword [ebp - 0x78]
imul edx, dword [0x1007f154]
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x70]
sub esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x6c]
sbb edi, ecx
sub esi, edx
sbb edi, eax
sub esi, dword [ebp - 0x1a0]
sbb edi, dword [ebp - 0x19c]
mov dword [0x1007f160], esi
mov dword [0x1007f164], edi
mov edx, dword [ebp - 0x90]
add edx, 0x49e
mov dword [ebp - 0x11c], edx
movzx eax, word [0x1007f14c]
shl eax, 3
mov dword [0x1007f180], eax
movzx ecx, byte [ebp - 0x11]
mov edx, 4
imul eax, edx, 0x35
mov dword [eax + 0x103a81b0], ecx
mov ecx, dword [ebp - 0x90]
add ecx, 0x436
mov dword [ebp - 0x388], ecx
mov edx, dword [0x1007fc38]
mov dword [ebp - 0x60], edx
movzx eax, word [0x1007f128]
sub eax, 0x90
mov byte [ebp - 0x14], al
mov ecx, dword [0x1007f198]
mov edx, dword [0x1007f19c]
mov dword [ebp - 0x38c], edx
mov eax, dword [ebp - 0x48]
cdq
mov esi, eax
sub esi, ecx
mov eax, dword [ebp - 0x48]
cdq
sub eax, esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x90]
add eax, 0x266
mov dword [ebp - 0x214], eax
mov ecx, dword [0x1007f1a4]
sub ecx, 0xaed5
mov edx, dword [0x1007f170]
sub edx, ecx
mov dword [0x1007f170], edx
movzx eax, word [0x1007f128]
not eax
mov ecx, 0xa94d
sub ecx, eax
mov eax, ecx
cdq
mov dword [0x1007f190], eax
mov dword [0x1007f194], edx
mov edx, dword [0x1007fc38]
mov dword [ebp - 0x9c], edx
mov eax, 2
mov word [ebp - 0x1c], ax
mov ecx, dword [str.C]
mov dword [ebp - 0x5c], ecx
movzx edx, byte [ebp - 0x12]
imul edx, dword [0x1007f180]
movzx eax, byte [ebp - 0x12]
sub eax, edx
mov byte [ebp - 0x12], al
mov ecx, dword [0x1007f188]
sub ecx, dword [0x1007f1b0]
mov edx, dword [0x1007f18c]
sbb edx, dword [0x1007f1b4]
and ecx, 0xa22a138d
and edx, 0xe425e
mov eax, dword [str.C]
add eax, 0x51
xor eax, dword [0x1007f170]
xor esi, esi
push edx
push ecx
push esi
push eax
call fcn.1005a1b0
mov word [0x1007f1b8], ax
movsx ecx, word [ebp - 0x1c]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0
je 0x10038205
cmp dword [ebp - 0x94], 1
je 0x1003822b
cmp dword [ebp - 0x94], 2
je 0x10038244
jmp 0x10038275
push 0
push 0xd2a13a49
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.1005a1b0
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp - 0x74]
add ecx, 0xc580e37
mov byte [ebp - 0x1d], cl
jmp 0x10038275
mov dx, word [0x1007fc38]
mov word [0x1007f148], dx
mov eax, 0xfffff3ef
mov word [ebp - 0x1c], ax
jmp 0x10038275
mov ecx, dword [0x1007f1b0]
mov edx, 4
shl edx, 2
mov dword [edx + 0x1024e158], ecx
movzx eax, byte [ebp - 0x11]
cdq
mov ecx, dword [0x1007f17c]
push ecx
mov ecx, dword [0x1007f178]
push ecx
push edx
push eax
call fcn.1005a1b0
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 0x9c]
add edx, 0x466
mov dword [ebp - 0xcc], edx
movzx eax, word [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [ebp - 0x13], al
mov ecx, dword [ebp - 0x9c]
add ecx, 0x4e0
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x98], 0x40
movzx eax, word [ebp - 0x28]
sub eax, 0xf85b
cdq
mov dword [0x1007f190], eax
mov dword [0x1007f194], edx
xor edx, edx
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x6c], edx
mov eax, dword [0x1007f1a4]
imul eax, dword [str.C]
mov dword [str.C], eax
movsx ecx, word [ebp - 0x1c]
movsx edx, word [0x1007f148]
imul edx, ecx
movsx eax, word [0x1007f148]
sub eax, edx
mov word [0x1007f148], ax
mov ecx, 2
imul edx, ecx, 0x27
movzx eax, word [edx + 0x10316d70]
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd8]
or edx, dword [ebp - 0xd4]
je 0x1003835f
cmp dword [ebp - 0xd8], 1
jne 0x10038348
cmp dword [ebp - 0xd4], 0
je 0x10038389
cmp dword [ebp - 0xd8], 2
jne 0x1003835a
cmp dword [ebp - 0xd4], 0
je 0x100383c6
jmp 0x100383f8
movsx eax, word [0x1007f148]
sub eax, 0x5153
mov dword [ebp - 0x48], eax
mov ecx, 0xffffc181
mov word [0x1007f1a8], cx
movzx edx, byte [ebp - 0x12]
add edx, dword [0x1007f140]
mov byte [ebp - 0x12], dl
jmp 0x100383f8
push 0
push 0x73
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.1005a1b0
mov ecx, eax
mov eax, dword [ebp - 0x5c]
cdq
xor eax, ecx
mov dword [ebp - 0x5c], eax
movzx eax, word [0x1007f168]
cdq
push 0x72952
push 0x3a557d59
push edx
push eax
call fcn.1005a1b0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
jmp 0x100383f8
push 0xa7af4
push 0xd5e827c8
mov edx, dword [0x1007f1b4]
push edx
mov eax, dword [0x1007f1b0]
push eax
call fcn.1005a1b0
mov word [0x1007f15c], ax
mov ecx, dword [ebp - 0x54]
xor ecx, 0x470d24e7
mov word [0x1007f14c], cx
mov edx, dword [ebp - 0x98]
add edx, 1
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x98], 0xd3
jl 0x100382c6
mov eax, dword [ebp - 0x9c]
add eax, 0x380
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x84], ecx
je 0x10038453
movzx eax, byte [ebp - 0x12]
cdq
sub eax, 0x618f84fb
mov dword [0x1007f140], eax
mov edx, 0x57
mov word [0x1007f168], dx
jmp 0x100384ed
movzx eax, byte [0x1007f027]
test eax, eax
je 0x10038499
mov eax, dword [0x1007f140]
cdq
mov ecx, dword [0x1007f198]
mov esi, dword [0x1007f19c]
add ecx, eax
adc esi, edx
mov edx, dword [0x1007f198]
mov eax, dword [0x1007f19c]
sub edx, ecx
sbb eax, esi
mov dword [0x1007f198], edx
mov dword [0x1007f19c], eax
mov ecx, 1
mov word [ebp - 0x1c], cx
jmp 0x100384ed
mov edx, dword [ebp - 0x80]
or edx, dword [ebp - 0x7c]
je 0x100384ed
movzx eax, word [0x1007f1b8]
imul ecx, eax, 0x6312
mov edx, dword [ebp - 0x78]
and edx, ecx
mov dword [ebp - 0x78], edx
movzx eax, byte [0x1007f027]
cdq
mov ecx, dword [0x1007f1d0]
mov edx, dword [0x1007f1d4]
mov dword [ebp - 0x390], edx
xor ecx, eax
sub ecx, 0xb9177506
mov word [ebp - 0x24], cx
movzx eax, byte [ebp - 0x13]
imul ecx, eax, 0xcb
mov word [0x1007f1a8], cx
mov edx, dword [0x1007fc38]
mov dword [ebp - 0xa0], edx
movzx eax, byte [ebp - 0x13]
imul ecx, eax, 0xa22d
mov dword [ebp - 0x60], ecx
push 0
push 0x40b350ca
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.1005a1b0
mov ecx, eax
mov eax, dword [0x1007f178]
mov edx, dword [0x1007f17c]
call fcn.1005a210
mov dword [0x1007f178], eax
mov dword [0x1007f17c], edx
mov edx, dword [ebp - 0xa0]
add edx, 0x34d
mov dword [ebp - 0x220], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov word [0x1007f148], ax
mov eax, dword [ebp - 0xa0]
add eax, 0x30c
mov dword [ebp - 0xc0], eax
movzx ecx, word [0x1007f128]
test ecx, ecx
je 0x10038581
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
jmp 0x100385b6
mov eax, dword [0x1007f138]
mov ecx, dword [0x1007f13c]
sub eax, 1
sbb ecx, 0
mov dword [0x1007f138], eax
mov dword [0x1007f13c], ecx
movsx edx, word [0x1007f148]
movsx eax, word [ebp - 0x24]
imul eax, edx
movsx ecx, word [ebp - 0x24]
imul ecx, eax
mov word [ebp - 0x24], cx
mov edx, dword [ebp - 0xa0]
add edx, 0x241
mov dword [ebp - 0x224], edx
push 0xdf
push 0
movzx eax, word [ebp - 0x1c]
push eax
push 0
movsx cx, byte [ebp - 0x1d]
movzx edx, cx
push edx
call fcn.10036ef0
add esp, 0x14
mov byte [ebp - 0x15], al
mov eax, 0xfffffffe
test eax, eax
je 0x10038732
movsx eax, word [0x1007f15c]
cdq
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], edx
mov ecx, dword [ebp - 0x274]
cmp ecx, dword [0x1007f124]
jb 0x1003872d
ja 0x10038631
mov edx, dword [ebp - 0x278]
cmp edx, dword [0x1007f120]
jbe 0x1003872d
mov ax, word [0x1007fc38]
mov word [0x1007f168], ax
mov ecx, dword [ebp - 0x60]
xor edx, edx
mov dword [0x1007f190], ecx
mov dword [0x1007f194], edx
mov eax, dword [0x1007f1b0]
or eax, dword [0x1007f1b4]
jne 0x10038667
mov dword [ebp - 0x190], 1
jmp 0x10038671
mov dword [ebp - 0x190], 0
movsx ecx, byte [ebp - 0x1d]
test ecx, ecx
jne 0x1003868d
xor edx, edx
mov dword [ebp - 0x1a8], 1
mov dword [ebp - 0x1a4], edx
jmp 0x10038698
xorps xmm0, xmm0
movlpd qword [ebp - 0x1a8], xmm0
mov eax, dword [0x1007f1d0]
mov ecx, dword [0x1007f1d4]
push 0
push 0x81
push ecx
push eax
call fcn.1005a1b0
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
add esi, 0xb7c3
adc edi, 0
sub esi, eax
sbb edi, edx
mov ecx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x1a8]
mov ebx, dword [ebp - 0x7c]
sbb ebx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x4c]
xor eax, dword [ebp - 0x190]
cdq
push ebx
push ecx
push edx
push eax
call fcn.1005a1b0
push edi
push esi
push edx
push eax
call fcn.1005a1b0
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], edx
mov edx, dword [ebp - 0x280]
or edx, dword [ebp - 0x27c]
jne 0x10038718
mov dword [ebp - 0xdc], 1
jmp 0x10038722
mov dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [0x1007f140], eax
jmp 0x10038809
movzx ecx, byte [0x1007f027]
test ecx, ecx
je 0x100387ac
cmp dword [str.C], 0
je 0x1003875f
mov edx, dword [0x1007f188]
mov eax, dword [0x1007f18c]
mov dword [ebp - 0x1b0], edx
mov dword [ebp - 0x1ac], eax
jmp 0x10038773
movzx eax, byte [0x1007f027]
cdq
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], edx
mov cl, byte [ebp - 0x1b0]
mov byte [0x1007f026], cl
imul edx, dword [0x1007f1a4], 0xc61c
mov word [ebp - 0x1c], dx
mov ecx, dword [0x1007f198]
mov edx, dword [0x1007f19c]
mov dword [ebp - 0x394], edx
movsx eax, word [ebp - 0x1c]
cdq
add eax, ecx
mov word [ebp - 0x1c], ax
jmp 0x10038809
movzx eax, word [0x1007f1b8]
mov ecx, dword [0x1007f170]
sub ecx, eax
je 0x10038809
mov edx, dword [0x1007f1c0]
add edx, 0x22d6737d
not edx
sub edx, dword [ebp - 0x54]
not edx
mov word [ebp - 0x1c], dx
mov esi, dword [ebp - 0x80]
xor esi, dword [0x1007f1c0]
mov edi, dword [ebp - 0x7c]
xor edi, dword [0x1007f1c4]
movzx eax, byte [ebp - 0x13]
cdq
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x54]
push ecx
push edx
push eax
call fcn.1005a1b0
add eax, esi
adc edx, edi
mov dword [0x1007f138], eax
mov dword [0x1007f13c], edx
cmp dword [ebp + 0xc], 0
jne 0x100388a1
cmp dword [ebp - 0x48], 0
je 0x10038828
movsx edx, word [0x1007f148]
mov dword [ebp - 0xe0], edx
jmp 0x10038835
movzx eax, word [0x1007f1a0]
mov dword [ebp - 0xe0], eax
mov cl, byte [ebp - 0xe0]
mov byte [ebp - 0x15], cl
mov edx, 2
imul eax, edx, 0x4bc4
movzx ecx, word [eax + 0x102e0068]
mov dword [ebp - 0x60], ecx
movsx edx, word [ebp - 0x24]
movsx eax, byte [ebp - 0x14]
imul eax, edx
movsx ecx, byte [ebp - 0x14]
sub ecx, eax
mov byte [ebp - 0x14], cl
push 0x55dba
push 0x65b82422
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.1005a1b0
mov byte [ebp - 0x13], al
movsx ecx, byte [ebp - 0x15]
add ecx, dword [ebp - 0x78]
mov byte [ebp - 0x15], cl
mov edx, dword [ebp - 0x74]
add edx, 0x6a9a
mov byte [ebp - 0x14], dl
mov eax, 1
jmp 0x1003a9ce
mov dword [ebp - 0xa4], 0
jmp 0x100388bc
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x94
jge 0x100388e5
jmp 0x100388d1
mov cx, word [0x1007f128]
add cx, 1
mov word [0x1007f128], cx
jmp 0x100388ad
cmp dword [ebp + 8], 0
jne 0x100389de
mov ecx, dword [0x1007f160]
mov edx, dword [0x1007f164]
mov dword [ebp - 0x398], edx
movsx eax, word [ebp - 0x24]
cdq
add eax, ecx
mov word [ebp - 0x24], ax
movzx eax, word [0x1007f1a0]
imul eax, dword [str.C]
mov word [0x1007f1a8], ax
cmp dword [0x1007f1bc], 0
jne 0x10038935
mov dword [ebp - 0xe4], 1
jmp 0x1003893f
mov dword [ebp - 0xe4], 0
movzx ecx, word [ebp - 0x28]
xor ecx, dword [ebp - 0xe4]
jne 0x10038957
mov dword [ebp - 0xe8], 1
jmp 0x10038961
mov dword [ebp - 0xe8], 0
movsx edx, word [ebp - 0x1c]
test edx, edx
jne 0x1003897d
xor eax, eax
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1b4], eax
jmp 0x10038988
xorps xmm0, xmm0
movlpd qword [ebp - 0x1b8], xmm0
mov ecx, dword [0x1007f1b0]
not ecx
mov esi, dword [0x1007f1b4]
not esi
movsx eax, word [0x1007f148]
cdq
mov edi, eax
mov ebx, edx
xor edi, ecx
xor ebx, esi
add edi, dword [ebp - 0x1b8]
adc ebx, dword [ebp - 0x1b4]
movsx eax, byte [ebp - 0x1d]
add eax, 0x25e3d573
imul eax, dword [ebp - 0xe8]
cdq
push ebx
push edi
push edx
push eax
call fcn.1005a1b0
mov dword [0x1007f180], eax
mov byte [ebp - 0x14], 0x37
xor eax, eax
jmp 0x1003a9ce
cmp dword [ebp - 0x5c], 0
je 0x10038b82
mov eax, dword [ebp - 0x78]
cdq
mov ecx, dword [0x1007f190]
mov esi, dword [0x1007f194]
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], edx
mov edx, dword [ebp - 0x284]
cmp edx, dword [ebp - 0x28c]
jl 0x10038a3a
jg 0x10038a2e
mov eax, dword [ebp - 0x288]
cmp eax, dword [ebp - 0x290]
jbe 0x10038a3a
mov dword [ebp - 0xec], 1
jmp 0x10038a44
mov dword [ebp - 0xec], 0
mov ecx, dword [0x1007f190]
mov edx, dword [0x1007f194]
mov dword [ebp - 0x298], ecx
mov dword [ebp - 0x294], edx
cmp dword [ebp - 0x294], 0
jl 0x10038a7c
jg 0x10038a70
cmp dword [ebp - 0x298], 0x2e
jbe 0x10038a7c
mov dword [ebp - 0xf0], 1
jmp 0x10038a86
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0xf0]
jg 0x10038af3
mov ecx, dword [str.onecore_base_appco]
mov dword [ebp - 0x378], ecx
mov edx, dword [0x10067350]
mov dword [ebp - 0x374], edx
mov eax, dword [0x10067354]
mov dword [ebp - 0x370], eax
mov ecx, dword [0x10067358]
mov dword [ebp - 0x36c], ecx
mov dx, word [0x1006735c]
mov word [ebp - 0x368], dx
mov al, byte [0x1006735e]
mov byte [ebp - 0x366], al
lea ecx, [ebp - 0x378]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [0x1007f144], eax
jmp 0x10038b80
movzx edx, word [0x1007f14c]
cmp edx, dword [0x1007f180]
jne 0x10038b0e
mov dword [ebp - 0xf4], 1
jmp 0x10038b18
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0x74]
jl 0x10038b80
mov ecx, dword [0x1007f198]
mov edx, dword [0x1007f19c]
mov eax, dword [0x1007f18c]
push eax
mov eax, dword [0x1007f188]
push eax
push edx
push ecx
call fcn.1005a1b0
mov ecx, dword [0x1007f198]
mov esi, dword [0x1007f19c]
push edx
push eax
push esi
push ecx
call fcn.1005a1b0
mov dword [0x1007f198], eax
mov dword [0x1007f19c], edx
movsx edx, byte [ebp - 0x14]
movsx eax, word [0x1007f148]
add eax, edx
movsx ecx, word [0x1007f148]
imul ecx, eax
mov word [0x1007f148], cx
jmp 0x10038bac
mov edx, dword [ebp - 0x60]
add edx, 0xb7
mov word [ebp - 0x28], dx
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x44]
adc edx, eax
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
sub eax, ecx
sbb esi, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
call fcn.1002aca0
movzx ecx, al
test ecx, ecx
jne 0x10038c0b
movzx eax, byte [0x1007f04e]
cdq
mov ecx, dword [ebp - 0x40]
sub ecx, eax
mov eax, dword [ebp - 0x3c]
sbb eax, edx
add ecx, dword [ebp - 0x40]
adc eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
movzx ecx, byte [0x1007f026]
add ecx, 0x3c
mov byte [0x1007f04e], cl
movsx edx, word [0x1007f148]
imul eax, edx, 0xc0
mov byte [ebp - 0x11], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1007f158], eax
mov eax, 1
jmp 0x1003a9ce
mov eax, dword [ebp - 0x5c]
cdq
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
sub ecx, eax
sbb esi, edx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
sub edx, ecx
sbb eax, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dword [ebp - 0x30], 0xae
mov dword [ebp - 0x2c], ecx
mov edx, dword [0x1007f190]
mov eax, dword [0x1007f194]
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x2a0]
or ecx, dword [ebp - 0x29c]
jne 0x10038c6e
xor edx, edx
mov dword [ebp - 0x1c0], 1
mov dword [ebp - 0x1bc], edx
jmp 0x10038c79
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c0], xmm0
mov eax, dword [0x1007f194]
mov ecx, dword [ebp - 0x1c0]
sub ecx, dword [0x1007f190]
mov esi, dword [ebp - 0x1bc]
sbb esi, eax
movzx edx, byte [0x1007f026]
movzx eax, byte [0x1007f026]
add eax, edx
cdq
push esi
push ecx
push edx
push eax
call fcn.1005a1b0
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], edx
mov eax, dword [ebp - 0x2a8]
or eax, dword [ebp - 0x2a4]
jne 0x10038cda
xor ecx, ecx
mov dword [ebp - 0x1c8], 1
mov dword [ebp - 0x1c4], ecx
jmp 0x10038ce5
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c8], xmm0
mov edx, dword [ebp - 0x40]
not edx
mov eax, dword [ebp - 0x3c]
not eax
mov ecx, dword [ebp - 0x34]
mov esi, 0x87cf
sub esi, dword [ebp - 0x38]
mov edi, 0
sbb edi, ecx
add esi, edx
adc edi, eax
mov edx, dword [ebp - 0x1c4]
push edx
mov eax, dword [ebp - 0x1c8]
push eax
push edi
push esi
call fcn.1005a1b0
mov byte [ebp - 0x1d], al
mov ecx, dword [ebp - 0xf8]
sub ecx, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x22c]
add edx, 0x42
cmp edx, ecx
je 0x100393c6
push 0x5e
push 0
push 0
call fcn.10036060
add esp, 0xc
cdq
mov dword [0x1007f178], eax
mov dword [0x1007f17c], edx
mov eax, dword [0x1007f178]
or eax, dword [0x1007f17c]
je 0x10038d6d
mov dword [ebp - 0xfc], 1
jmp 0x10038d77
mov dword [ebp - 0xfc], 0
cmp dword [0x1007f178], 0x2a
jne 0x10038d89
cmp dword [0x1007f17c], 0
je 0x10038d95
mov dword [ebp - 0x100], 1
jmp 0x10038d9f
mov dword [ebp - 0x100], 0
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [ebp - 0x100]
je 0x10038dc0
mov edx, dword [0x1007f158]
push edx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov word [ebp - 0x24], ax
jmp 0x10038e08
movzx eax, byte [ebp - 0x13]
imul eax, dword [0x1007f158]
mov dword [0x1007f158], eax
mov ecx, 8
imul edx, ecx, 0x4b3e
mov eax, dword [edx + 0x100fff0c]
push eax
mov ecx, dword [edx + 0x100fff08]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.1005a1b0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
xor ecx, ecx
mov dword [ebp - 0x70], 0xc0ac
mov dword [ebp - 0x6c], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1007f144], eax
call fcn.100119d0
movzx edx, al
test edx, edx
jne 0x100393c6
mov eax, dword [ebp - 0x80]
sub eax, 0x7712
mov dword [0x1007f1a4], eax
mov ecx, dword [0x1007f154]
and ecx, dword [0x1007f178]
mov dword [0x1007f154], ecx
jmp 0x10038e6d
jmp 0x10038e92
jmp 0x10038ea3
jmp 0x10038edb
mov edx, dword [0x1007fc38]
mov dword [ebp - 0xa8], edx
mov ecx, 9
mov esi, str.RtlGetNtSystemRoot
lea edi, [ebp - 0x3fc]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 0x15], al
mov ecx, dword [ebp - 0xa8]
add ecx, 0x2b5
mov dword [ebp - 0x20c], ecx
jmp 0x10038f34
mov edx, dword [ebp - 0xa8]
add edx, 0x122
mov dword [ebp - 0x210], edx
movzx eax, byte [ebp - 0x11]
sub eax, dword [str.C]
movzx ecx, byte [ebp - 0x11]
add ecx, eax
mov byte [ebp - 0x11], cl
mov edx, dword [0x1007f144]
add edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
sub eax, edx
mov dword [ebp - 0x44], eax
mov ecx, dword [0x1007f190]
mov edx, dword [0x1007f194]
mov dword [ebp - 0x39c], edx
add ecx, 0x5dd3043e
mov word [0x1007f168], cx
mov eax, dword [ebp - 0xa8]
add eax, 0x224
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x4c], 0
je 0x1003913d
mov dword [ebp - 4], 0
push 0x26
movzx cx, byte [ebp - 0x12]
movzx edx, cx
push edx
push 0
push 0xe2
push 0
call fcn.10036740
add esp, 0x14
mov word [ebp - 0xc6], ax
mov al, byte [ebp - 0xc6]
mov byte [ebp - 0x14], al
movsx ecx, byte [ebp - 0x14]
test ecx, ecx
je 0x100390ea
mov dword [ebp - 0xac], 0xd5
jmp 0x10038ffe
mov edx, dword [ebp - 0xac]
sub edx, 1
mov dword [ebp - 0xac], edx
cmp dword [ebp - 0xac], 0
jle 0x100390ea
mov eax, dword [0x1007f178]
or eax, dword [0x1007f17c]
jne 0x10039024
mov dword [ebp - 0x104], 1
jmp 0x1003902e
mov dword [ebp - 0x104], 0
movsx ecx, byte [ebp - 0x15]
test ecx, ecx
jne 0x10039042
mov dword [ebp - 0x108], 1
jmp 0x1003904c
mov dword [ebp - 0x108], 0
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2b0]
or ecx, dword [ebp - 0x2ac]
jne 0x10039080
xor edx, edx
mov dword [ebp - 0x2b8], 1
mov dword [ebp - 0x2b4], edx
jmp 0x1003908b
xorps xmm0, xmm0
movlpd qword [ebp - 0x2b8], xmm0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x3a0], edx
mov esi, 0x1a213c40
sub esi, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x104]
add eax, dword [ebp - 0x108]
cdq
add eax, esi
not eax
xor eax, ecx
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x4c]
xor eax, 0x5d69
add eax, dword [0x1007f154]
mov dword [0x1007f154], eax
mov cx, word [ebp - 0x24]
mov word [ebp - 0x1c], cx
mov dx, word [0x1007f1a0]
add dx, 1
mov word [0x1007f1a0], dx
jmp 0x10038fef
jmp 0x1003912b
mov dword [ebp - 4], 0xffffffff
jmp 0x1003913b
jmp 0x10039169
mov edx, dword [0x1007f130]
mov eax, dword [0x1007f134]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], eax
mov ecx, dword [str.C]
add ecx, 0x4d
xor edx, edx
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
add eax, ecx
adc esi, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp - 0x230]
or ecx, 0x23e
mov edx, dword [ebp - 0x20c]
or edx, ecx
mov eax, dword [ebp - 0x210]
xor eax, 0x17f
cmp eax, edx
je 0x100393c6
push 0
push 0xd6
movzx eax, byte [0x1007f026]
cdq
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0x99
push 0
push 0
call fcn.10035400
add esp, 0x30
mov word [ebp - 0x24], ax
movzx ecx, byte [ebp - 0x13]
test ecx, ecx
je 0x100391dd
mov edx, dword [ebp - 0x74]
not edx
test edx, edx
jne 0x100391dd
mov dword [ebp - 0x110], 0
jmp 0x100391e7
mov dword [ebp - 0x110], 1
movzx eax, byte [ebp - 0x12]
mov ecx, dword [ebp - 0x110]
not ecx
cmp ecx, eax
jle 0x10039270
movzx edx, word [0x1007f1a0]
test edx, edx
je 0x10039221
movsx eax, byte [ebp - 0x15]
imul ecx, eax, 0x4e6f00dc
mov dword [0x1007f144], ecx
movzx edx, word [0x1007f1b8]
shl edx, 3
mov dword [ebp - 0x78], edx
jmp 0x10039270
movsx eax, word [ebp - 0x24]
cdq
mov ecx, 8
imul ecx, ecx, 0x2b
mov esi, dword [ecx + 0x1016a994]
push esi
mov ecx, dword [ecx + 0x1016a990]
push ecx
push edx
push eax
call fcn.1005a1b0
mov word [ebp - 0x24], ax
movzx eax, word [0x1007f128]
cdq
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x30]
push ecx
push edx
push eax
call fcn.1005a1b0
mov ecx, eax
movzx eax, word [0x1007f128]
cdq
add eax, ecx
mov word [0x1007f128], ax
mov edx, dword [0x1007f190]
mov eax, dword [0x1007f194]
mov ecx, dword [0x1007f188]
not ecx
mov esi, dword [0x1007f18c]
not esi
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2c4], eax
mov edx, dword [ebp - 0x2bc]
cmp edx, dword [ebp - 0x2c4]
ja 0x100392cd
jb 0x100392c1
mov eax, dword [ebp - 0x2c0]
cmp eax, dword [ebp - 0x2c8]
jae 0x100392cd
mov dword [ebp - 0x114], 1
jmp 0x100392d7
mov dword [ebp - 0x114], 0
mov ecx, dword [ebp - 0x114]
not ecx
movsx edx, word [ebp - 0x1c]
movzx eax, word [0x1007f14c]
imul eax, edx
cmp eax, ecx
jge 0x10039324
mov eax, dword [ebp - 0x48]
shl eax, 4
cdq
mov dword [0x1007f138], eax
mov dword [0x1007f13c], edx
mov ecx, dword [0x1007f180]
mov edx, dword [0x1007f198]
mov eax, dword [0x1007f19c]
mov dword [ebp - 0x3a4], eax
add edx, ecx
mov byte [ebp - 0x13], dl
jmp 0x100393bc
mov eax, dword [ebp - 0x84]
not eax
cdq
mov ecx, dword [0x1007f190]
mov esi, dword [0x1007f194]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], edx
mov edx, dword [ebp - 0x2cc]
cmp edx, dword [ebp - 0x2d4]
jl 0x1003937b
jg 0x1003936f
mov eax, dword [ebp - 0x2d0]
cmp eax, dword [ebp - 0x2d8]
jb 0x1003937b
mov dword [ebp - 0x118], 1
jmp 0x10039385
mov dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0x1a29
jle 0x100393bc
mov ecx, 0xd0
mov word [0x1007f1c8], cx
movzx eax, byte [0x1007f04e]
cdq
push 0x86e03
push 0xfd7090fa
push edx
push eax
call fcn.1005a1b0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov eax, 1
jmp 0x1003a9ce
mov edx, dword [ebp - 0x30]
or edx, dword [ebp - 0x2c]
je 0x100393e1
movsx eax, word [ebp - 0x1c]
cdq
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], edx
jmp 0x100393f8
mov eax, dword [0x1007f160]
mov ecx, dword [0x1007f164]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], ecx
mov edx, dword [ebp - 0x1d0]
mov dword [0x1007f1a4], edx
movzx eax, word [0x1007f16c]
shl eax, 1
mov byte [0x1007f04e], al
mov byte [ebp - 0x14], 0x1a
mov ecx, dword [ebp - 0x11c]
imul ecx, dword [ebp - 0x11c]
cmp dword [ebp - 0x214], ecx
je 0x1003a35f
mov ecx, 9
mov esi, 0x10067388
lea edi, [ebp - 0x424]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cdq
mov dword [0x1007f178], eax
mov dword [0x1007f17c], edx
mov eax, dword [0x1007f1a4]
cmp dword [0x1007f158], eax
ja 0x10039501
mov dword [ebp - 0xb0], 0
jmp 0x10039488
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
cmp dword [ebp - 0xb0], 0x1c7
jge 0x100394ff
mov edx, dword [0x1007f158]
xor eax, eax
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
movsx eax, byte [ebp - 0x1d]
cdq
push esi
push ecx
push edx
push eax
call fcn.1005a1b0
mov byte [ebp - 0x1d], al
mov edx, dword [0x1007f180]
xor eax, eax
push 0x4e388
push 0xddb9f52c
push eax
push edx
call fcn.1005a1b0
mov ecx, eax
movzx eax, byte [ebp - 0x13]
cdq
add eax, ecx
mov byte [ebp - 0x13], al
mov edx, dword [0x1007f198]
mov eax, dword [0x1007f19c]
add edx, 1
adc eax, 0
mov dword [0x1007f198], edx
mov dword [0x1007f19c], eax
jmp 0x10039479
jmp 0x10039547
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x2c]
je 0x10039547
movzx edx, word [0x1007f16c]
sub edx, 0x63062282
mov byte [ebp - 0x15], dl
mov eax, dword [0x1007f1a4]
imul eax, dword [0x1007f140]
mov ecx, dword [0x1007f1a4]
add ecx, eax
mov dword [0x1007f1a4], ecx
movzx edx, byte [0x1007f027]
imul eax, edx, 0xa1cd
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
call fcn.100295d0
test eax, eax
jne 0x1003955d
call fcn.10020210
test eax, eax
je 0x1003a35f
mov eax, dword [0x1007f138]
mov ecx, dword [0x1007f13c]
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x2e0]
jne 0x1003958e
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2dc]
je 0x1003981a
movsx ecx, word [0x1007f15c]
not ecx
cmp dword [0x1007f140], ecx
jg 0x100395b3
xor edx, edx
mov dword [ebp - 0x1d8], 1
mov dword [ebp - 0x1d4], edx
jmp 0x100395be
xorps xmm0, xmm0
movlpd qword [ebp - 0x1d8], xmm0
movsx eax, word [ebp - 0x24]
mov ecx, 0xffffff6d
sub ecx, eax
jne 0x100395e1
cmp dword [0x1007f140], 0
jne 0x100395e1
xorps xmm0, xmm0
movlpd qword [ebp - 0x1e0], xmm0
jmp 0x100395f3
xor edx, edx
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 0x1dc], edx
mov eax, dword [0x1007f198]
mov ecx, dword [0x1007f19c]
xor eax, dword [ebp - 0x1d8]
xor ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], ecx
mov edx, dword [ebp - 0x2e4]
cmp edx, dword [ebp - 0x1dc]
jl 0x100397f1
jg 0x1003963c
mov eax, dword [ebp - 0x2e8]
cmp eax, dword [ebp - 0x1e0]
jb 0x100397f1
push 0
push 0x62
movzx eax, word [0x1007f16c]
cdq
push edx
push eax
push 0
push 0xb
call fcn.10035b90
add esp, 0x18
mov dword [0x1007f1b0], eax
mov dword [0x1007f1b4], edx
mov ecx, dword [0x1007f1b0]
or ecx, dword [0x1007f1b4]
je 0x1003972e
movsx edx, word [0x1007f15c]
cmp edx, dword [ebp - 0x48]
jge 0x100396c0
mov ax, word [0x1007fc38]
mov word [0x1007f148], ax
movzx ecx, word [0x1007f14c]
movsx edx, word [ebp - 0x1c]
imul edx, ecx
imul eax, edx, 0x34
mov word [0x1007f16c], ax
mov ecx, dword [0x1007f130]
mov edx, dword [0x1007f134]
mov dword [ebp - 0x3a8], edx
movzx eax, byte [ebp - 0x12]
cdq
add eax, ecx
mov byte [ebp - 0x12], al
jmp 0x10039729
cmp dword [ebp - 0x48], 0
je 0x100396df
mov al, byte [0x1007fc38]
mov byte [0x1007f027], al
mov ecx, dword [ebp - 0x70]
add ecx, 0x6d
mov word [0x1007f148], cx
jmp 0x10039729
cmp dword [ebp - 0x5c], 0
je 0x10039729
mov edx, dword [0x1007fc38]
xor eax, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
mov ecx, dword [0x1007f130]
mov edx, dword [0x1007f134]
add ecx, 0xe1f9
adc edx, 0
mov dword [0x1007f120], ecx
mov dword [0x1007f124], edx
movzx eax, word [ebp - 0x28]
sub eax, 0xe9
imul eax, dword [0x1007f1bc]
mov dword [0x1007f1bc], eax
jmp 0x100397ef
mov ecx, dword [0x1007f1b0]
or ecx, dword [0x1007f1b4]
jne 0x10039748
mov dword [ebp - 0x120], 1
jmp 0x10039752
mov dword [ebp - 0x120], 0
movsx edx, byte [ebp - 0x15]
test edx, edx
jne 0x10039766
mov dword [ebp - 0x124], 1
jmp 0x10039770
mov dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x124]
je 0x10039793
cmp dword [0x1007f154], 0
jne 0x10039793
mov dword [ebp - 0x128], 0
jmp 0x1003979d
mov dword [ebp - 0x128], 1
mov ecx, dword [ebp - 0x128]
not ecx
test ecx, ecx
je 0x100397ef
movzx edx, word [0x1007f168]
imul eax, edx, 0x68d639a5
cdq
add eax, dword [0x1007f120]
adc edx, dword [0x1007f124]
mov dword [0x1007f120], eax
mov dword [0x1007f124], edx
mov eax, dword [str.C]
xor ecx, ecx
mov edx, dword [0x1007f17c]
push edx
mov edx, dword [0x1007f178]
push edx
push ecx
push eax
call fcn.1005a1b0
mov dword [str.C], eax
jmp 0x10039818
movsx eax, word [ebp - 0x1c]
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
movsx eax, word [0x1007f148]
cdq
mov ecx, 8
imul ecx, ecx, 0x13
mov dword [ecx + 0x1016a990], eax
mov dword [ecx + 0x1016a994], edx
jmp 0x1003987b
cmp dword [0x1007f154], 0
jne 0x1003987b
mov edx, dword [0x1007f170]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.1005a1b0
or eax, dword [ebp - 0x30]
or edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [0x1007f190]
mov ecx, dword [0x1007f194]
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2ec], ecx
mov edx, dword [ebp - 0x2f0]
or edx, dword [ebp - 0x2ec]
jne 0x10039871
mov byte [ebp - 0x55], 1
jmp 0x10039875
mov byte [ebp - 0x55], 0
mov al, byte [ebp - 0x55]
mov byte [ebp - 0x11], al
mov ecx, dword [str.C]
cmp ecx, dword [ebp - 0x60]
je 0x1003993d
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
movzx edx, byte [0x1007f027]
not edx
movsx eax, byte [ebp - 0x15]
add eax, edx
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
movzx eax, word [0x1007f1b8]
shl eax, 7
mov dword [0x1007f180], eax
movzx ecx, word [0x1007f1a0]
mov edx, dword [ebp - 0x4c]
add ecx, dword [0x1007f154]
add edx, ecx
not edx
mov word [0x1007f148], dx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], ecx
mov edx, dword [ebp - 0x2f8]
or edx, dword [ebp - 0x2f4]
je 0x100398f4
jmp 0x1003993b
mov eax, dword [0x1007f130]
mov edx, dword [0x1007f134]
mov cl, 7
call fcn.1005a1f0
mov dword [ebp - 0x44], eax
movzx eax, byte [ebp - 0x11]
sub eax, 0x2bac4f59
mov dword [0x1007f1bc], eax
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov eax, dword [0x1007f1d0]
mov esi, dword [0x1007f1d4]
push edx
push ecx
push esi
push eax
call fcn.1005a1b0
mov dword [0x1007f1d0], eax
mov dword [0x1007f1d4], edx
jmp 0x10039997
mov ecx, dword [ebp - 0x4c]
sub ecx, 0x7232
mov word [0x1007f1b8], cx
movsx edx, byte [ebp - 0x14]
movzx eax, byte [0x1007f026]
sub eax, edx
movzx ecx, byte [0x1007f026]
mov edx, dword [0x1007f1a4]
sub edx, ecx
imul eax, edx
cdq
mov dword [0x1007f198], eax
mov dword [0x1007f19c], edx
movsx eax, word [0x1007f15c]
cdq
add eax, dword [0x1007f1c0]
adc edx, dword [0x1007f1c4]
mov dword [0x1007f1c0], eax
mov dword [0x1007f1c4], edx
mov eax, dword [ebp - 0x218]
add eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xcc]
and ecx, dword [ebp - 0xcc]
or ecx, eax
cmp dword [ebp - 0x21c], ecx
je 0x1003a1e0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x78]
cdq
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], edx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x2fc]
jb 0x100399f8
ja 0x100399ec
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x300]
jb 0x100399f8
mov dword [ebp - 0x12c], 1
jmp 0x10039a02
mov dword [ebp - 0x12c], 0
cmp dword [ebp - 0x2c], 0
ja 0x10039a0e
cmp dword [ebp - 0x30], 0x4d
jb 0x10039a1a
mov dword [ebp - 0x130], 1
jmp 0x10039a24
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x12c]
cmp ecx, dword [ebp - 0x130]
jle 0x10039ba0
mov eax, dword [ebp - 0x74]
cdq
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x304], esi
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], edx
mov edx, dword [ebp - 0x308]
cmp edx, dword [ebp - 0x310]
jne 0x10039a78
mov eax, dword [ebp - 0x304]
cmp eax, dword [ebp - 0x30c]
je 0x10039b25
mov ecx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x7c]
sbb edx, dword [ebp - 0x6c]
push edx
push ecx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.1005a1b0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
imul edx, dword [ebp - 0x48], 0x6e06
add edx, dword [0x1007f170]
mov dword [0x1007f170], edx
mov eax, dword [ebp - 0x5c]
cdq
push edx
push eax
mov eax, dword [0x1007f17c]
push eax
mov ecx, dword [0x1007f178]
push ecx
call fcn.1005a1b0
mov ecx, eax
mov esi, edx
movsx edx, word [0x1007f15c]
not edx
movsx eax, word [0x1007f1a8]
imul eax, edx
cdq
sub eax, ecx
sbb edx, esi
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], edx
mov eax, dword [ebp - 0x318]
or eax, dword [ebp - 0x314]
jne 0x10039b06
mov dword [ebp - 0x134], 1
jmp 0x10039b10
mov dword [ebp - 0x134], 0
movsx ecx, byte [ebp - 0x14]
mov edx, dword [ebp - 0x134]
sub edx, ecx
mov word [0x1007f16c], dx
jmp 0x10039ba0
mov eax, dword [0x1007f188]
not eax
mov ecx, dword [0x1007f18c]
not ecx
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x31c], ecx
mov edx, dword [ebp - 0x320]
or edx, dword [ebp - 0x31c]
je 0x10039ba0
movsx eax, word [0x1007f1a8]
cdq
add eax, 0xd1c81f94
adc edx, 0x31dd8
mov dword [0x1007f190], eax
mov dword [0x1007f194], edx
movsx eax, word [ebp - 0x1c]
xor eax, dword [str.C]
mov ecx, dword [0x1007f138]
mov edx, dword [0x1007f13c]
mov dword [ebp - 0x3ac], edx
not ecx
sub ecx, eax
mov byte [ebp - 0x14], cl
movsx eax, word [0x1007f148]
shl eax, 8
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
jmp 0x10039be3
mov dword [ebp - 4], 0xffffffff
jmp 0x10039bf3
mov dword [ebp - 0xbc], 0x42
mov ecx, dword [0x1007f190]
mov edx, dword [0x1007f194]
sub ecx, dword [0x1007f178]
sbb edx, dword [0x1007f17c]
mov eax, dword [0x1007f190]
mov esi, dword [0x1007f194]
and eax, ecx
and esi, edx
mov dword [0x1007f190], eax
mov dword [0x1007f194], esi
mov ecx, dword [0x1007f130]
mov edx, dword [0x1007f134]
mov dword [ebp - 0x3b0], edx
add ecx, 0x23
mov word [0x1007f1b8], cx
mov ecx, dword [0x1007f190]
mov edx, dword [0x1007f194]
mov dword [ebp - 0x3b4], edx
movzx eax, byte [0x1007f026]
cdq
mov esi, eax
add esi, ecx
movzx eax, byte [0x1007f026]
cdq
or eax, esi
mov byte [0x1007f026], al
mov dword [ebp - 0xb8], 0xeb4
movzx eax, byte [ebp - 0x12]
sub eax, 0x1911d273
xor ecx, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], 0x31d081a
cmp dword [ebp - 0xb8], 0xe4e
jle 0x10039d2c
movzx edx, word [0x1007f1c8]
cmp edx, dword [0x1007f140]
je 0x10039cd6
movsx eax, word [ebp - 0x1c]
sub eax, 0x24a812f7
mov word [0x1007f1b8], ax
mov ecx, 0x59ae
mov word [0x1007f15c], cx
jmp 0x10039d18
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x10039d18
mov ecx, dword [0x1007f140]
imul ecx, dword [0x1007f154]
mov eax, dword [0x1007f140]
sar eax, cl
mov dword [0x1007f140], eax
movsx eax, byte [ebp - 0x15]
cdq
push 0xf1d5
push 0x78058e59
push edx
push eax
call fcn.1005a1b0
mov dword [0x1007f1c0], eax
mov dword [0x1007f1c4], edx
mov ecx, dword [ebp - 0xb8]
sub ecx, 1
mov dword [ebp - 0xb8], ecx
jmp 0x10039c9a
mov edx, dword [ebp - 0xbc]
add edx, 1
mov dword [ebp - 0xbc], edx
cmp dword [ebp - 0xbc], 0x1052
jl 0x10039c78
call fcn.100172f0
test eax, eax
je 0x1003a1e0
mov byte [ebp - 0x12], 4
mov al, byte [0x1007fc38]
mov byte [ebp - 0x14], al
movzx ecx, word [0x1007f168]
movsx edx, byte [ebp - 0x1d]
sub edx, ecx
movsx eax, byte [ebp - 0x1d]
sub eax, edx
mov byte [ebp - 0x1d], al
movzx ecx, byte [ebp - 0x12]
mov dword [ebp - 0x138], ecx
cmp dword [ebp - 0x138], 4
ja case.default.0x10039d97
mov edx, dword [ebp - 0x138]
jmp dword [edx*4 + 0x1003a9e4]
movsx eax, word [ebp - 0x1c]
mov dword [ebp - 0x60], eax
movzx eax, word [0x1007f16c]
cdq
push 0x1a8b8
push 0x90c77505
push edx
push eax
call fcn.1005a1b0
mov dword [0x1007f1b0], eax
mov dword [0x1007f1b4], edx
jmp case.default.0x10039d97
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x44]
imul ecx, dword [ebp - 0x44]
mov dword [ebp - 0x44], ecx
mov edx, dword [0x1007fc38]
xor eax, eax
mov dword [0x1007f188], edx
mov dword [0x1007f18c], eax
jmp case.default.0x10039d97
movzx eax, byte [ebp - 0x12]
cdq
add eax, dword [ebp - 0x40]
adc edx, dword [ebp - 0x3c]
add eax, dword [ebp - 0x40]
adc edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
movzx eax, word [0x1007f168]
cdq
push 0x4b008
push 0x8542efa9
push edx
push eax
call fcn.1005a1b0
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
sub ecx, eax
sbb esi, edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], esi
jmp case.default.0x10039d97
movzx edx, byte [ebp - 0x13]
movzx eax, byte [0x1007f04e]
imul eax, edx
movzx ecx, byte [0x1007f04e]
add ecx, eax
mov byte [0x1007f04e], cl
movzx edx, word [0x1007f1b8]
mov dword [0x1007f1a4], edx
mov eax, dword [0x1007f140]
sub eax, 0x9d78
mov word [0x1007f14c], ax
jmp case.default.0x10039d97
mov eax, dword [0x1007f140]
cdq
push 0xea99f
push 0x61fb4573
push edx
push eax
call fcn.1005a1b0
mov ecx, eax
movzx eax, word [0x1007f128]
cdq
add eax, ecx
mov word [0x1007f128], ax
mov edx, dword [ebp - 0x30]
and edx, 0xe0
mov word [ebp - 0x28], dx
mov eax, dword [0x1007f140]
cdq
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
sub ecx, eax
sbb esi, edx
mov dword [0x1007f120], ecx
mov dword [0x1007f124], esi
mov edx, dword [ebp - 0x40]
or edx, dword [ebp - 0x3c]
je 0x1003a17a
push str.comdlg32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [0x1007f026], al
cmp dword [ebp - 0x50], 0
jl 0x10039eff
jg 0x10039ef3
cmp dword [ebp - 0x54], 0xf4ed
jbe 0x10039eff
mov dword [ebp - 0x13c], 1
jmp 0x10039f09
mov dword [ebp - 0x13c], 0
movzx eax, word [ebp - 0x28]
test eax, eax
je 0x10039f77
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x328], ecx
mov dword [ebp - 0x324], edx
mov eax, dword [ebp - 0x328]
or eax, dword [ebp - 0x324]
jne 0x10039f45
xor ecx, ecx
mov dword [ebp - 0x1e8], 1
mov dword [ebp - 0x1e4], ecx
jmp 0x10039f50
xorps xmm0, xmm0
movlpd qword [ebp - 0x1e8], xmm0
mov edx, dword [0x1007f120]
cmp edx, dword [ebp - 0x1e8]
jne 0x10039f6b
mov eax, dword [0x1007f124]
cmp eax, dword [ebp - 0x1e4]
je 0x10039f77
mov dword [ebp - 0x140], 1
jmp 0x10039f81
mov dword [ebp - 0x140], 0
mov ecx, dword [ebp - 0x13c]
cmp ecx, dword [ebp - 0x140]
jle 0x10039fd2
xor edx, edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
add eax, dword [0x1007f170]
adc ecx, edx
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
sub edx, eax
sbb esi, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], esi
mov eax, 1
imul ecx, eax, 0x6218
mov dl, byte [ecx + 0x103c7cb0]
mov byte [ebp - 0x13], dl
movsx eax, word [ebp - 0x1c]
add eax, 0x4e
mov dword [ebp - 0x74], eax
jmp 0x1003a178
mov ecx, dword [ebp - 0x40]
or ecx, dword [ebp - 0x3c]
je 0x1003a00b
movsx eax, word [ebp - 0x24]
cdq
mov ecx, eax
sub ecx, 0x20dbe23b
movzx eax, byte [ebp - 0x11]
cdq
sub eax, ecx
mov byte [ebp - 0x11], al
movzx eax, byte [0x1007f027]
cdq
add eax, 0x42f365ac
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x44], edx
jmp 0x1003a178
movzx eax, word [0x1007f14c]
cmp dword [ebp - 0x5c], eax
je 0x1003a145
mov ecx, dword [ebp - 0x30]
not ecx
mov edx, dword [ebp - 0x2c]
not edx
add ecx, dword [0x1007f120]
adc edx, dword [0x1007f124]
mov dword [ebp - 0x330], ecx
mov dword [ebp - 0x32c], edx
mov eax, dword [ebp - 0x330]
or eax, dword [ebp - 0x32c]
jne 0x1003a057
mov dword [ebp - 0x144], 1
jmp 0x1003a061
mov dword [ebp - 0x144], 0
movzx ecx, word [0x1007f128]
imul ecx, dword [ebp - 0x144]
mov dword [0x1007f140], ecx
cmp dword [ebp - 0x44], 0
jne 0x1003a08f
xor edx, edx
mov dword [ebp - 0x1f0], 1
mov dword [ebp - 0x1ec], edx
jmp 0x1003a09a
xorps xmm0, xmm0
movlpd qword [ebp - 0x1f0], xmm0
mov eax, dword [0x1007f130]
mov ecx, dword [0x1007f134]
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x334], ecx
mov edx, dword [ebp - 0x338]
or edx, dword [ebp - 0x334]
jne 0x1003a0cb
mov dword [ebp - 0x148], 1
jmp 0x1003a0d5
mov dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
add eax, 0x54bc8bc0
cdq
mov ecx, eax
mov esi, edx
movzx eax, word [0x1007f14c]
cdq
mov edi, dword [0x1007f130]
mov ebx, dword [0x1007f134]
sub edi, eax
sbb ebx, edx
mov edx, dword [0x1007f190]
mov eax, dword [0x1007f194]
add edx, dword [ebp - 0x1f0]
adc eax, dword [ebp - 0x1ec]
add edx, edi
adc eax, ebx
push esi
push ecx
push eax
push edx
call fcn.1005a1b0
mov word [0x1007f1c8], ax
xor ecx, ecx
mov edx, dword [ebp - 0x30]
sub edx, dword [0x1007f158]
mov eax, dword [ebp - 0x2c]
sbb eax, ecx
add edx, dword [ebp - 0x30]
adc eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jmp 0x1003a178
cmp dword [0x1007f158], 0
jne 0x1003a178
cmp dword [ebp - 0x48], 0
je 0x1003a178
xor ecx, ecx
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x50], ecx
movzx eax, word [0x1007f1b8]
sub eax, 0x1dde
cdq
mov dword [0x1007f130], eax
mov dword [0x1007f134], edx
jmp 0x1003a1d9
mov edx, dword [ebp - 0x70]
or edx, dword [ebp - 0x6c]
je 0x1003a1d9
mov eax, dword [0x1007f160]
mov edx, dword [0x1007f164]
mov cl, 2
call fcn.1005a210
mov byte [0x1007f026], al
mov eax, dword [0x1007f178]
or eax, dword [0x1007f17c]
je 0x1003a1ba
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x1f8], ecx
mov dword [ebp - 0x1f4], edx
jmp 0x1003a1ce
movzx eax, word [0x1007f14c]
cdq
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], edx
mov ax, word [ebp - 0x1f8]
mov word [ebp - 0x24], ax
xor eax, eax
jmp 0x1003a9ce
mov ecx, dword [0x1007f178]
push ecx
push 0x46
push 0
call fcn.10036060
add esp, 0xc
mov byte [ebp - 0x11], al
movzx edx, byte [ebp - 0x11]
test edx, edx
jge 0x1003a20a
mov dword [ebp - 0x14c], 1
jmp 0x1003a214
mov dword [ebp - 0x14c], 0
movzx eax, byte [ebp - 0x11]
cmp eax, 0x3b
jge 0x1003a229
mov dword [ebp - 0x150], 1
jmp 0x1003a233
mov dword [ebp - 0x150], 0
mov ecx, dword [ebp - 0x14c]
cmp ecx, dword [ebp - 0x150]
jg 0x1003a2c0
mov eax, dword [0x1007f144]
cdq
mov ecx, dword [0x1007f190]
mov esi, dword [0x1007f194]
add ecx, eax
adc esi, edx
mov dword [ebp - 0x340], ecx
mov dword [ebp - 0x33c], esi
mov edx, dword [ebp - 0x340]
or edx, dword [ebp - 0x33c]
jne 0x1003a285
xor eax, eax
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x1fc], eax
jmp 0x1003a290
xorps xmm0, xmm0
movlpd qword [ebp - 0x200], xmm0
mov ecx, dword [ebp - 0x1fc]
push ecx
mov edx, dword [ebp - 0x200]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1005a1b0
mov dword [0x1007f144], eax
movzx edx, word [ebp - 0x28]
sub edx, dword [ebp - 0x74]
mov word [ebp - 0x28], dx
jmp 0x1003a355
mov eax, dword [0x1007f160]
mov ecx, dword [0x1007f164]
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x344], ecx
mov edx, dword [ebp - 0x348]
or edx, dword [ebp - 0x344]
jne 0x1003a316
mov eax, dword [0x1007f190]
mov ecx, dword [0x1007f194]
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x34c], ecx
mov edx, dword [ebp - 0x350]
or edx, dword [ebp - 0x34c]
je 0x1003a316
mov dword [ebp - 0x154], 0
jmp 0x1003a320
mov dword [ebp - 0x154], 1
mov eax, dword [ebp - 0x154]
not eax
test eax, eax
je 0x1003a355
movzx ecx, byte [ebp - 0x11]
shl ecx, 2
mov word [ebp - 0x28], cx
mov edx, dword [0x1007f1bc]
shl edx, 4
mov byte [ebp - 0x13], dl
mov eax, dword [0x1007fc38]
xor ecx, ecx
mov dword [0x1007f178], eax
mov dword [0x1007f17c], ecx
mov eax, 1
jmp 0x1003a9ce
mov edx, dword [ebp - 0x40]
or edx, dword [ebp - 0x3c]
je 0x1003a373
movzx eax, byte [ebp - 0x13]
mov dword [ebp - 0x158], eax
jmp 0x1003a37c
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x220]
imul eax, dword [ebp - 0xc0]
imul ecx, dword [ebp - 0xc0], 0x1e3
imul ecx, eax
mov edx, dword [ebp - 0xc0]
add edx, dword [ebp - 0x224]
cmp edx, ecx
je 0x1003a99c
mov eax, dword [ebp - 0x80]
or eax, dword [ebp - 0x7c]
je 0x1003a4de
mov byte [0x1007f04e], 1
movzx eax, word [ebp - 0x28]
sub eax, 0x6abf
cdq
mov dword [0x1007f190], eax
mov dword [0x1007f194], edx
movsx eax, word [ebp - 0x1c]
cdq
add eax, 0x39aa6251
mov dword [ebp - 0x84], eax
mov cl, byte [0x1007f04e]
mov byte [ebp - 0x15c], cl
cmp byte [ebp - 0x15c], 0
je 0x1003a40e
cmp byte [ebp - 0x15c], 1
je 0x1003a451
jmp 0x1003a4dc
mov edx, dword [0x1007f1b0]
add edx, dword [ebp - 0x30]
mov eax, dword [0x1007f1b4]
adc eax, dword [ebp - 0x2c]
add edx, dword [0x1007f1b0]
adc eax, dword [0x1007f1b4]
mov dword [0x1007f1b0], edx
mov dword [0x1007f1b4], eax
mov eax, dword [ebp - 0x4c]
cdq
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
jmp 0x1003a4dc
mov ecx, dword [0x1007f178]
or ecx, dword [0x1007f17c]
je 0x1003a46e
movzx edx, word [0x1007f168]
mov dword [ebp - 0x160], edx
jmp 0x1003a478
movzx eax, byte [ebp - 0x11]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
cdq
mov dword [0x1007f138], eax
mov dword [0x1007f13c], edx
cmp dword [ebp - 0x4c], 0
je 0x1003a4aa
mov ecx, dword [0x1007f198]
mov edx, dword [0x1007f19c]
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x194], edx
jmp 0x1003a4be
movzx eax, word [0x1007f1c8]
cdq
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x194]
mov dword [0x1007f190], eax
mov dword [0x1007f194], ecx
mov dword [ebp - 0x48], 0xb1696459
jmp 0x1003a51c
movzx edx, word [0x1007f14c]
imul eax, edx, 0x32
mov dword [ebp - 0x44], eax
movsx ecx, word [0x1007f148]
movzx edx, byte [ebp - 0x12]
xor edx, ecx
mov dword [0x1007f140], edx
movzx eax, byte [ebp - 0x11]
cdq
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x54]
push ecx
push edx
push eax
call fcn.1005a1b0
mov dl, byte [ebp - 0x11]
mov ecx, eax
shr dl, cl
mov byte [ebp - 0x11], dl
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x2c]
jb 0x1003a53a
ja 0x1003a52e
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x30]
jbe 0x1003a53a
mov dword [ebp - 0x164], 1
jmp 0x1003a544
mov dword [ebp - 0x164], 0
cmp dword [ebp - 0x50], 0
jl 0x1003a55e
jg 0x1003a552
cmp dword [ebp - 0x54], 0x52
jbe 0x1003a55e
mov dword [ebp - 0x168], 1
jmp 0x1003a568
mov dword [ebp - 0x168], 0
mov edx, dword [ebp - 0x164]
cmp edx, dword [ebp - 0x168]
jg 0x1003a5ad
movzx eax, byte [0x1007f026]
xor eax, 0xce6669fc
mov word [ebp - 0x28], ax
mov ecx, dword [0x1007f1d0]
mov edx, dword [0x1007f1d4]
push 0x5a4db
push 0x2e99369
push edx
push ecx
call fcn.1005a1b0
mov dword [0x1007f1a4], eax
jmp 0x1003a667
mov eax, dword [str.C]
cmp eax, dword [ebp - 0x74]
jb 0x1003a667
movzx ecx, word [ebp - 0x28]
test ecx, ecx
je 0x1003a667
mov edx, dword [0x1007f120]
or edx, dword [0x1007f124]
je 0x1003a5e4
movsx eax, word [0x1007f1a8]
mov dword [ebp - 0x16c], eax
jmp 0x1003a5f0
mov ecx, dword [str.C]
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
cdq
mov ecx, dword [ebp - 0x70]
sub ecx, eax
mov dword [0x1007f140], ecx
movzx edx, byte [0x1007f04e]
test edx, edx
jne 0x1003a627
xor eax, eax
mov dword [ebp - 0x208], 1
mov dword [ebp - 0x204], eax
jmp 0x1003a632
xorps xmm0, xmm0
movlpd qword [ebp - 0x208], xmm0
movsx ecx, word [ebp - 0x1c]
movzx edx, byte [0x1007f027]
movsx eax, byte [ebp - 0x15]
xor eax, edx
sub eax, ecx
cdq
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x208]
sbb esi, dword [ebp - 0x204]
push edx
push eax
push esi
push ecx
call fcn.1005a1b0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
call fcn.100172f0
test eax, eax
je 0x1003a99c
movsx edx, word [ebp - 0x24]
imul eax, edx, 0x87
mov byte [0x1007f04e], al
mov byte [ebp - 0x14], 0
movsx ecx, byte [ebp - 0x15]
sar ecx, 4
mov byte [0x1007f027], cl
mov edx, dword [0x1007f120]
add edx, 0x8a1c
mov word [ebp - 0x24], dx
mov eax, dword [0x1007fc38]
mov dword [ebp - 0xc4], eax
movsx ecx, word [ebp - 0x24]
test ecx, ecx
je 0x1003a6fb
mov edx, dword [0x1007f198]
mov eax, dword [0x1007f19c]
push 0xea133
push 0x6443fe8e
push eax
push edx
call fcn.1005a1b0
mov dword [0x1007f140], eax
movsx ecx, word [0x1007f148]
sub ecx, 0xe10a
mov word [0x1007f16c], cx
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
imul eax, edx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0xc4]
add ecx, 0x2fe
mov dword [ebp - 0x3b8], ecx
mov ecx, dword [0x1007f160]
mov esi, dword [0x1007f164]
movzx eax, word [0x1007f168]
cdq
push esi
push ecx
push edx
push eax
call fcn.1005a1b0
mov word [0x1007f168], ax
movsx edx, byte [ebp - 0x1d]
movsx eax, word [0x1007f148]
add eax, edx
movsx ecx, word [0x1007f148]
sub ecx, eax
mov word [0x1007f148], cx
mov edx, dword [ebp - 0xc4]
add edx, 0x273
mov dword [ebp - 0xb4], edx
movzx eax, word [ebp - 0x60]
push eax
call fcn.10037420
add esp, 4
movzx ecx, ax
mov dword [0x1007f1bc], ecx
cmp dword [0x1007f1bc], 0
je 0x1003a7d1
movsx edx, word [ebp - 0x24]
cmp dword [ebp - 0x5c], edx
jle 0x1003a794
mov eax, dword [ebp - 0x44]
and eax, 0xca
mov dword [ebp - 0x44], eax
jmp 0x1003a7cc
cmp dword [0x1007f1a4], 0
je 0x1003a7cc
mov eax, dword [ebp - 0x5c]
cdq
mov ecx, dword [0x1007f1c0]
sub ecx, eax
mov eax, dword [0x1007f1c4]
sbb eax, edx
mov edx, dword [0x1007f1c0]
sub edx, ecx
mov ecx, dword [0x1007f1c4]
sbb ecx, eax
mov dword [0x1007f1c0], edx
mov dword [0x1007f1c4], ecx
jmp 0x1003a881
movzx edx, byte [ebp - 0x13]
movsx eax, word [0x1007f15c]
cmp eax, edx
jne 0x1003a7ec
mov dword [ebp - 0x170], 1
jmp 0x1003a7f6
mov dword [ebp - 0x170], 0
movzx ecx, byte [0x1007f027]
cmp ecx, dword [ebp - 0x170]
jne 0x1003a811
mov dword [ebp - 0x174], 1
jmp 0x1003a81b
mov dword [ebp - 0x174], 0
mov edx, dword [ebp - 0x174]
not edx
test edx, edx
je 0x1003a881
mov eax, dword [0x1007f158]
shr eax, 5
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
xor edx, edx
add ecx, 0xdce9294e
adc edx, 0x89871
mov dword [0x1007f178], ecx
mov dword [0x1007f17c], edx
mov ecx, dword [0x1007f1d0]
mov esi, dword [0x1007f1d4]
movzx eax, byte [ebp - 0x12]
cdq
mov edi, eax
mov ebx, edx
sub edi, ecx
sbb ebx, esi
movsx eax, word [0x1007f15c]
cdq
push ebx
push edi
push edx
push eax
call fcn.1005a1b0
not eax
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0xc4]
add edx, 0x1da
mov dword [ebp - 0x3bc], edx
mov eax, 0x6278
mov word [0x1007f1c8], ax
movzx ecx, word [0x1007f168]
mov edx, dword [0x1007f144]
sub edx, ecx
mov eax, dword [0x1007f144]
sub eax, edx
mov dword [0x1007f144], eax
mov ecx, dword [ebp - 0xb4]
sub ecx, 0x82
mov edx, dword [ebp - 0xb4]
or edx, dword [ebp - 0xb4]
cmp edx, ecx
je 0x1003a99c
jmp 0x1003a8f4
jmp 0x1003a900
jmp 0x1003a911
jmp 0x1003a936
mov dword [ebp - 4], 4
mov ecx, 9
mov esi, str.Failedtowriteoutpu
lea edi, [ebp - 0x44c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 0x13], al
jmp 0x1003a988
mov dword [ebp - 4], 0xffffffff
jmp 0x1003a998
xor eax, eax
jmp 0x1003a9ce
movzx edx, byte [0x1007f026]
mov dword [ebp - 0x60], edx
mov eax, dword [0x1007f180]
add eax, 0x41
mov byte [ebp - 0x12], al
movsx ecx, byte [ebp - 0x14]
and ecx, 0xaf6c7aaf
xor edx, edx
mov dword [0x1007f120], ecx
mov dword [0x1007f124], edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8