Function at 0x10017c40
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
xor esi, esi
mov ax, word [ebp + 0x4ef4]
lea edi, [ebp + 0x4eac]
mov dword [ebp + 0x4e98], esi
mov dword [esp + 0x18], esi
test ah, 0x80
mov dword [ebp + 0x4e9c], esi
mov dword [edi], esi
mov dword [ebp + 0x4eb4], esi
je 0x10017dfa
mov ebx, 0x4000
mov dword [ebp + 0x4f10], esi
mov dword [ebp + 0x4f18], esi
mov dword [ebp + 0x8b8], 0x200000
test ebx, eax
mov dword [ebp + 0x4ef8], esi
mov dword [ebp + 0x4efc], 0xffff
mov dword [ebp + 0x4f00], esi
mov dword [ebp + 0x4f08], esi
mov dword [ebp + 0x4f14], esi
mov dword [ebp + 0x4f1c], esi
mov dword [ebp + 0x8bc], esi
jne 0x10017ce5
push ebp
push 0x1006161c
push esi
push 0xffffffffffffffff
push 1
push esi
call fcn.10020640
add esp, 0x18
cmp eax, 1
jne 0x10017ded
mov eax, dword [ebp + 0x4e90]
push ebp
push eax
call fcn.1001fd40
add esp, 4
push eax
call fcn.10027030
mov ax, word [ebp + 0x4ef4]
add esp, 8
test al, 1
jne 0x10017d51
test ebx, eax
je 0x10017d1e
lea ecx, [ebp + 0xac]
push 2
push ecx
call fcn.1001b2e0
add esp, 8
mov ecx, dword [ebp + 0x4e90]
lea edx, [esp + 0x38]
push ebp
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.10021990
add esp, 0x10
test eax, eax
je 0x10017d51
mov edx, dword [ebp + 0x4e90]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x10019226
mov cx, word [ebp + 0x4ef4]
lea eax, [ebp + 0xac]
test ebx, ecx
jne 0x10017d68
mov eax, dword [ebp + 0x4e90]
push ebp
push ecx
push eax
call fcn.1001fd40
add esp, 4
push eax
call fcn.100200b0
add esp, 0xc
test eax, eax
jne 0x10017d97
mov eax, dword [ebp + 0xa0]
pop edi
neg eax
sbb eax, eax
pop esi
and al, 0xf6
pop ebp
add eax, 0x13
pop ebx
add esp, 0x6c
ret
test word [ebp + 0x4ef4], bx
lea eax, [ebp + 0xac]
jne 0x10017dac
mov eax, dword [ebp + 0x4e90]
push eax
call fcn.10021fa0
add esp, 4
cmp eax, esi
jne 0x100193be
test word [ebp + 0x4ef4], bx
lea eax, [ebp + 0xac]
jne 0x10017dd2
mov eax, dword [ebp + 0x4e90]
push ebp
push eax
call fcn.1001f260
mov dword [ebp + 0x8b8], eax
add esp, 8
mov dword [ebp + 0x8bc], edx
jmp 0x10017e71
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0x6c
ret
mov edx, dword [ebp + 0x4e90]
lea eax, [esp + 0x38]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.10021990
add esp, 0x10
test eax, eax
je 0x10017e42
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
or eax, ecx
jne 0x10017e42
mov ecx, dword [ebp + 0x4e90]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10017e5a
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x6c
ret
mov edx, dword [ebp + 0x4e90]
push ebp
push edx
call fcn.10017840
add esp, 8
cmp eax, esi
jne 0x100193be
mov eax, dword [ebp + 0x4e90]
push eax
call fcn.10021fa0
add esp, 4
cmp eax, esi
jne 0x100193be
mov eax, dword [ebp + 0x4e90]
cmp eax, esi
je 0x100193bc
cmp byte [eax], 0
je 0x100193bc
push esi
push 0x80
push 3
push esi
push esi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100193bc
cmp dword [ebp + 0x4e64], esi
je 0x10017ecb
mov eax, dword [ebp + 0x4e90]
lea ecx, [esp + 0x38]
push ebp
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.10021990
add esp, 0x10
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [ebp + 0x4eb0], esi
mov edi, 1
push esi
lea ecx, [esp + 0x17]
push edi
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x10017f25
cmp byte [esp + 0x13], 0x50
je 0x10017f25
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add edx, edi
push esi
mov dword [esp + 0x34], edx
lea edx, [esp + 0x17]
push edi
push edx
adc ecx, esi
push ebx
mov dword [esp + 0x44], ecx
call fcn.10017b80
add esp, 0x10
test eax, eax
jne 0x10017ef6
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x4d]
push 3
push ecx
push ebx
mov byte [esp + 0x58], al
call fcn.10017b80
mov esi, dword [esp + 0x59]
mov ecx, dword [esp + 0x5a]
mov edx, dword [esp + 0x5b]
add esp, 0x10
test eax, eax
je 0x10017fd9
mov eax, edx
mov edi, ecx
and eax, 0xff
and edi, 0xff
shl eax, 8
or eax, edi
mov edi, esi
shl eax, 8
and edi, 0xff
or eax, edi
mov edi, dword [esp + 0x48]
shl eax, 8
and edi, 0xff
or eax, edi
xor edi, edi
cmp eax, 0x4034b50
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
jne 0x10017f97
test edi, edi
je 0x10017fd9
cmp eax, 0x6054b50
jne 0x10017fa2
test edi, edi
je 0x10017fd9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffd
push ebx
call fcn.100348d0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x100192bb
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
add ecx, 1
adc eax, 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
xor esi, esi
jmp 0x10017edd
mov eax, dword [esp + 0x30]
mov edi, ecx
mov dword [ebp + 0x4e98], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x4e9c], eax
mov eax, edx
and eax, 0xff
and edi, 0xff
shl eax, 8
or eax, edi
mov edi, esi
shl eax, 8
and edi, 0xff
or eax, edi
mov edi, dword [esp + 0x48]
shl eax, 8
and edi, 0xff
or eax, edi
cmp eax, 0x4034b50
jne 0x10018898
push 0x70
call fcn.10039ff8
mov esi, eax
add esp, 4
test esi, esi
je 0x10019290
mov ecx, 0x1c
xor eax, eax
mov edi, esi
push eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
push 0x1a
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x1001886e
xor edx, edx
xor eax, eax
mov dh, byte [esp + 0x49]
mov dl, byte [esp + 0x48]
mov word [esi], 0x14
mov word [esi + 2], dx
mov ah, byte [esp + 0x4b]
movzx cx, byte [esp + 0x4a]
or eax, ecx
xor edx, edx
mov dword [esp + 0x28], eax
mov word [esi + 0x36], ax
mov word [esi + 4], ax
mov dh, byte [esp + 0x4d]
movzx ax, byte [esp + 0x4c]
or edx, eax
mov word [esi + 6], dx
mov ecx, dword [esp + 0x51]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4f]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x4e]
shl ecx, 8
and eax, 0xff
and edx, 0xff
or ecx, eax
shl ecx, 8
or ecx, edx
mov dword [esi + 8], ecx
mov eax, dword [esp + 0x55]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x53]
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x52]
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
shl eax, 8
or eax, ecx
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0x59]
mov eax, dword [esp + 0x58]
and edx, 0xff
shl edx, 8
and eax, 0xff
mov dword [esp + 0x1c], ecx
or edx, eax
mov eax, dword [esp + 0x57]
shl edx, 8
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x56]
shl edx, 8
and eax, 0xff
or edx, eax
lea eax, [esi + 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], 0
mov edx, dword [esp + 0x5d]
mov edi, dword [esp + 0x5c]
and edx, 0xff
and edi, 0xff
shl edx, 8
or edx, edi
mov edi, dword [esp + 0x5b]
shl edx, 8
and edi, 0xff
mov dword [esp + 0x24], eax
or edx, edi
mov edi, dword [esp + 0x5a]
shl edx, 8
and edi, 0xff
or edx, edi
mov dword [eax], edx
mov dword [eax + 4], 0
mov edi, dword [esp + 0x5f]
mov eax, dword [esp + 0x5e]
and edi, 0xff
and eax, 0xff
shl edi, 8
or edi, eax
mov dword [esi + 0x20], edi
mov edx, dword [esp + 0x61]
mov eax, dword [esp + 0x60]
and edx, 0xff
shl edx, 8
and eax, 0xff
mov dword [esp + 0x2c], edi
or edx, eax
xor eax, eax
mov dword [esi + 0x24], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov word [esi + 0x34], ax
mov edx, dword [ebp + 0x4e60]
cmp edx, eax
mov edx, dword [esp + 0x18]
je 0x100181f6
and edx, 0xff
mov dword [esi + 0x38], edx
mov word [esi + 0x5c], ax
mov word [esi + 0x5e], ax
mov edx, dword [ebp + 0x4e64]
cmp edx, 1
jle 0x10018216
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
jmp 0x10018223
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x20]
lea ecx, [esi + 0x68]
cmp edi, eax
mov dword [esp + 0x20], ecx
mov dword [edx], esi
mov dword [ecx], eax
je 0x10018821
lea eax, [edi + 1]
push eax
call fcn.10039ff8
add esp, 4
mov dword [esi + 0x58], eax
test eax, eax
je 0x10019290
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1001826c
push eax
call fcn.10039ff8
add esp, 4
mov dword [esi + 0x4c], eax
test eax, eax
je 0x10019290
mov ecx, dword [esi + 0x58]
xor eax, eax
push eax
push edi
mov byte [ecx], 0
mov edx, dword [esi + 0x58]
push edx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x100192bb
mov eax, dword [esi + 0x58]
mov byte [eax + edi], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100182b1
mov ecx, dword [esi + 0x4c]
push 0
push eax
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x100192bb
mov eax, dword [ebp + 0x4e64]
test eax, eax
je 0x100182c7
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x50], edx
mov dword [esi + 0x28], eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
xor eax, eax
push 1
push ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x4c]
push eax
mov dword [esi + 0x60], eax
push eax
mov eax, dword [esp + 0x34]
push edx
push eax
lea eax, [esi + 0x24]
push eax
push ecx
call fcn.1001aed0
add esp, 0x20
test eax, eax
je 0x10018323
mov ecx, dword [ebp + 0x4e64]
xor eax, eax
cmp ecx, eax
je 0x10018309
mov dword [esi + 0x28], eax
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x60], edx
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
jmp 0x1001832b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, ecx
or edx, eax
je 0x10018349
push 1
push eax
push ecx
push ebx
call fcn.100348d0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001903b
mov eax, dword [ebp + 0x928]
test eax, eax
jne 0x1001835e
mov eax, dword [esi + 0x58]
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov eax, dword [esi + 0x58]
push ebp
push eax
call fcn.10021370
add esp, 8
mov dword [esi + 0x48], eax
test eax, eax
je 0x10019290
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edx
lea ecx, [eax + edi + 0x1e]
mov eax, dword [esp + 0x14]
xor edx, edx
xor edi, edi
add ecx, eax
mov eax, dword [esp + 0x38]
adc edx, edi
mov edi, dword [esp + 0x3c]
add ecx, eax
adc edx, edi
mov edi, dword [esp + 0x30]
add edi, ecx
mov cl, byte [esp + 0x28]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x34]
adc edi, edx
mov edx, dword [ebp + 0x4eb0]
inc edx
mov dword [esp + 0x34], edi
test cl, 8
mov dword [ebp + 0x4eb0], edx
je 0x10018674
or eax, dword [esp + 0x3c]
jne 0x10018507
push 0
lea ecx, [esp + 0x17]
push 1
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x1001840e
cmp byte [esp + 0x13], 0x50
je 0x1001840e
push 0
lea edx, [esp + 0x17]
push 1
push edx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
jne 0x100183f1
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x4d]
push 0xf
push ecx
push ebx
mov byte [esp + 0x58], al
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x10018488
mov edx, dword [esp + 0x4b]
mov eax, dword [esp + 0x4a]
mov ecx, dword [esp + 0x49]
and edx, 0xff
shl edx, 8
and eax, 0xff
and ecx, 0xff
or edx, eax
mov eax, dword [esp + 0x48]
shl edx, 8
or edx, ecx
and eax, 0xff
shl edx, 8
or edx, eax
cmp edx, 0x8074b50
je 0x10018488
push 1
push 0xffffffffffffffff
push 0xfffffffffffffff1
push ebx
call fcn.100348d0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001903b
jmp 0x100183db
mov eax, dword [esp + 0x53]
mov ecx, dword [esp + 0x52]
mov edx, dword [esp + 0x51]
and eax, 0xff
shl eax, 8
and ecx, 0xff
mov edi, dword [esp + 0x30]
or eax, ecx
mov ecx, dword [esp + 0x50]
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
push 1
shl eax, 8
or eax, ecx
xor ecx, ecx
mov dword [esp + 0x3c], eax
add edi, eax
mov eax, dword [esp + 0x38]
push ecx
adc eax, ecx
push ecx
push ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
call fcn.100348d0
mov ecx, edi
mov edi, dword [esp + 0x44]
add esp, 0x10
add ecx, 0x10
adc edi, 0
cmp eax, ecx
jne 0x1001884c
cmp edx, edi
jne 0x1001884c
jmp 0x10018582
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
push ebx
call fcn.100348d0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x100192bb
push 0
lea ecx, [esp + 0x4c]
push 0x10
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x100192bb
mov edx, dword [esp + 0x4b]
mov eax, dword [esp + 0x4a]
mov ecx, dword [esp + 0x49]
and edx, 0xff
shl edx, 8
and eax, 0xff
and ecx, 0xff
or edx, eax
mov eax, dword [esp + 0x48]
shl edx, 8
or edx, ecx
and eax, 0xff
shl edx, 8
or edx, eax
cmp edx, 0x8074b50
jne 0x1001885d
mov eax, dword [ebp + 0x4e64]
xor ecx, ecx
cmp eax, ecx
je 0x10018619
mov edx, dword [esp + 0x4f]
mov eax, dword [esp + 0x4e]
and edx, 0xff
and eax, 0xff
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x4d]
shl edx, 8
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x4c]
shl edx, 8
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x57]
mov eax, dword [esp + 0x56]
and edx, 0xff
shl edx, 8
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x55]
shl edx, 8
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x54]
shl edx, 8
and eax, 0xff
or edx, eax
mov eax, dword [esp + 0x24]
mov dword [eax], edx
mov dword [eax + 4], ecx
jmp 0x10018634
lea edx, [esp + 0x4c]
lea eax, [esp + 0x4c]
sub esi, edx
mov edi, 0xc
add esi, 0xa
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
dec edi
jne 0x1001862b
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
add edx, 0x10
adc eax, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
push 0
lea eax, [esp + 0x4c]
push 4
push eax
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x1001886e
mov esi, dword [esp + 0x49]
mov ecx, dword [esp + 0x4a]
mov edx, dword [esp + 0x4b]
jmp 0x100187e4
cmp dword [ebp + 0x4e64], 1
jle 0x10018649
mov ebp, 1
xor edi, edi
push edi
lea eax, [esp + 0x17]
push ebp
push eax
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x100186c7
cmp byte [esp + 0x13], 0x50
je 0x100186c7
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add eax, ebp
push edi
lea ecx, [esp + 0x17]
push ebp
adc edx, edi
push ecx
push ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
call fcn.10017b80
add esp, 0x10
test eax, eax
jne 0x10018698
mov dl, byte [esp + 0x13]
push edi
lea eax, [esp + 0x4d]
push 3
push eax
push ebx
mov byte [esp + 0x58], dl
call fcn.10017b80
mov edx, dword [esp + 0x5b]
add esp, 0x10
test eax, eax
je 0x10018772
mov ecx, dword [esp + 0x4a]
mov eax, edx
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x49]
shl eax, 8
and ecx, 0xff
or eax, ecx
mov ecx, dword [esp + 0x48]
shl eax, 8
and ecx, 0xff
or eax, ecx
xor ecx, ecx
cmp eax, 0x4034b50
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
jne 0x10018735
cmp ecx, edi
je 0x10018772
cmp eax, 0x2014b50
jne 0x10018740
cmp ecx, edi
je 0x10018772
push ebp
push 0xffffffffffffffff
push 0xfffffffffffffffd
push ebx
call fcn.100348d0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x100192bb
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
add ecx, ebp
adc eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
jmp 0x10018684
mov ecx, dword [esi + 0x24]
mov eax, dword [esp + 0x30]
xor edi, edi
sub eax, ecx
mov ecx, dword [esp + 0x34]
sbb ecx, edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
sub eax, edi
mov edi, dword [esi + 0x44]
sbb ecx, ebp
mov ebp, dword [esi + 0x40]
sub eax, ebp
mov ebp, dword [esp + 0x2c]
sbb ecx, edi
sub eax, ebp
mov esi, 0
sbb ecx, esi
sub eax, 0x1e
sbb ecx, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
cmp eax, dword [esi]
jne 0x100187be
cmp ecx, dword [esi + 4]
je 0x100187d5
mov dword [esi], eax
mov edx, dword [esp + 0x3c]
mov dword [esi + 4], edx
mov esi, dword [esp + 0x49]
mov ecx, dword [esp + 0x4a]
mov edx, dword [esp + 0x4b]
jmp 0x100187dd
mov esi, dword [esp + 0x49]
mov ecx, dword [esp + 0x4a]
mov ebp, dword [esp + 0x80]
mov eax, edx
mov edi, ecx
and eax, 0xff
and edi, 0xff
shl eax, 8
or eax, edi
mov edi, esi
shl eax, 8
and edi, 0xff
or eax, edi
mov edi, dword [esp + 0x48]
shl eax, 8
and edi, 0xff
or eax, edi
cmp eax, 0x4034b50
je 0x10018028
jmp 0x10018898
mov ecx, dword [ebp + 0x4eb0]
lea esi, [ebp + 0x3e50]
inc ecx
push ecx
push 0x100596d0
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebp
push esi
push 0
push 0x131
jmp 0x1001920e
mov edx, dword [esi + 0x58]
push ebp
push edx
push 0
push 0x132
jmp 0x1001920e
mov eax, dword [esi + 0x58]
push ebp
push eax
push 0
push 0x134
jmp 0x1001920e
mov eax, dword [ebp + 0x4e64]
test eax, eax
jne 0x1001888c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x6c
ret
mov esi, dword [esp + 0x49]
mov ecx, dword [esp + 0x4a]
mov edx, dword [esp + 0x4b]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x34]
mov ebp, dword [eax + 0x4eac]
mov dword [esp + 0x3c], edi
mov edi, dword [eax + 0x4e64]
test edi, edi
je 0x100188fa
mov eax, edx
mov edi, ecx
and eax, 0xff
and edi, 0xff
shl eax, 8
or eax, edi
mov edi, esi
shl eax, 8
and edi, 0xff
or eax, edi
mov edi, dword [esp + 0x48]
shl eax, 8
and edi, 0xff
or eax, edi
cmp eax, 0x2014b50
jne 0x1001921f
mov eax, edx
mov edi, ecx
and eax, 0xff
and edi, 0xff
shl eax, 8
or eax, edi
mov edi, esi
shl eax, 8
and edi, 0xff
or eax, edi
mov edi, dword [esp + 0x48]
shl eax, 8
and edi, 0xff
or eax, edi
cmp eax, 0x2014b50
jne 0x10018d7d
xor edi, edi
cmp ebp, edi
je 0x10018dac
push edi
lea ecx, [esp + 0x4c]
push 0x2a
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x100192bb
xor edx, edx
xor eax, eax
mov dh, byte [esp + 0x49]
mov dl, byte [esp + 0x48]
mov word [ebp], dx
mov ah, byte [esp + 0x4b]
movzx cx, byte [esp + 0x4a]
or eax, ecx
xor edx, edx
mov word [ebp + 2], ax
mov dh, byte [esp + 0x4d]
movzx ax, byte [esp + 0x4c]
or edx, eax
xor ecx, ecx
mov word [ebp + 4], dx
mov ch, byte [esp + 0x4d]
movzx dx, byte [esp + 0x4c]
or ecx, edx
xor eax, eax
mov word [ebp + 0x36], cx
mov ah, byte [esp + 0x4f]
movzx cx, byte [esp + 0x4e]
or eax, ecx
mov word [ebp + 6], ax
mov edx, dword [esp + 0x53]
mov eax, dword [esp + 0x52]
mov ecx, dword [esp + 0x51]
and edx, 0xff
and eax, 0xff
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x50]
shl edx, 8
and ecx, 0xff
and eax, 0xff
or edx, ecx
shl edx, 8
or edx, eax
mov dword [ebp + 8], edx
mov ecx, dword [esp + 0x57]
mov edx, dword [esp + 0x56]
mov eax, dword [esp + 0x55]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x54]
shl ecx, 8
and eax, 0xff
and edx, 0xff
or ecx, eax
shl ecx, 8
or ecx, edx
mov dword [ebp + 0xc], ecx
mov eax, dword [esp + 0x5b]
mov ecx, dword [esp + 0x5a]
mov edx, dword [esp + 0x59]
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x58]
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
shl eax, 8
or eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edi
mov edx, dword [esp + 0x5f]
mov eax, dword [esp + 0x5e]
mov ecx, dword [esp + 0x5d]
and edx, 0xff
shl edx, 8
and eax, 0xff
and ecx, 0xff
or edx, eax
shl edx, 8
or edx, ecx
shl edx, 8
mov eax, dword [esp + 0x5c]
and eax, 0xff
or edx, eax
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x1c], edi
mov ecx, dword [esp + 0x61]
mov edx, dword [esp + 0x60]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x20], ecx
mov eax, dword [esp + 0x63]
mov ecx, dword [esp + 0x62]
and eax, 0xff
shl eax, 8
and ecx, 0xff
or eax, ecx
mov dword [ebp + 0x28], eax
mov edx, dword [esp + 0x65]
mov eax, dword [esp + 0x64]
and edx, 0xff
shl edx, 8
and eax, 0xff
or edx, eax
xor eax, eax
mov dword [ebp + 0x2c], edx
mov ecx, dword [esp + 0x67]
mov edx, dword [esp + 0x66]
and ecx, 0xff
shl ecx, 8
and edx, 0xff
or ecx, edx
mov dword [ebp + 0x30], ecx
mov ah, byte [esp + 0x69]
movzx cx, byte [esp + 0x68]
or eax, ecx
mov word [ebp + 0x34], ax
mov edx, dword [esp + 0x6d]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x6b]
and edx, 0xff
and eax, 0xff
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x6a]
shl edx, 8
and ecx, 0xff
and eax, 0xff
or edx, ecx
shl edx, 8
or edx, eax
mov dword [ebp + 0x38], edx
mov ecx, dword [esp + 0x71]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6f]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x6e]
shl ecx, 8
and eax, 0xff
and edx, 0xff
or ecx, eax
mov dword [esp + 0x44], edi
shl ecx, 8
or ecx, edx
mov dword [esp + 0x40], ecx
mov eax, dword [ebp + 0x20]
push eax
call fcn.10039ff8
mov esi, eax
add esp, 4
cmp esi, edi
mov dword [esp + 0x1c], esi
je 0x10019290
mov ecx, dword [ebp + 0x20]
push edi
push ecx
push esi
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x10018dc4
mov edx, dword [esp + 0x80]
cmp dword [edx + 0x928], edi
jne 0x10018bd8
mov eax, dword [ebp + 0x20]
push eax
push esi
push esi
call dword [sym.imp.USER32.dll_OemToCharBuffA]
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x58]
mov esi, dword [esp + 0x1c]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10018de1
mov eax, dword [esp + 0x1c]
push eax
call fcn.10039f0f
xor edi, edi
lea esi, [ebp + 0x28]
mov dword [esp + 0x18], edi
add esp, 4
mov eax, dword [esi]
mov dword [ebp + 0x64], edi
cmp eax, edi
je 0x10018c94
mov ecx, eax
push ecx
call fcn.10039ff8
add esp, 4
cmp eax, edi
mov dword [ebp + 0x50], eax
je 0x10019290
mov edx, dword [esi]
push edi
push edx
push eax
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x10018e06
lea ecx, [esp + 0x14]
push 1
lea eax, [ebp + 0x30]
push ecx
push eax
lea edx, [esp + 0x4c]
lea eax, [ebp + 0x10]
push edx
push eax
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x50]
push esi
push eax
call fcn.1001aed0
add esp, 0x20
test eax, eax
je 0x10018c6b
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x64], ecx
mov ecx, dword [ebp + 0x24]
mov eax, dword [esi]
cmp ecx, eax
jne 0x10018c94
mov edi, dword [ebp + 0x50]
mov esi, dword [ebp + 0x4c]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10018c92
mov eax, dword [ebp + 0x50]
push eax
call fcn.10039f0f
mov ecx, dword [ebp + 0x4c]
add esp, 4
mov dword [ebp + 0x50], ecx
xor edi, edi
mov eax, dword [ebp + 0x2c]
cmp eax, edi
je 0x10018ccb
mov edx, eax
push edx
call fcn.10039ff8
add esp, 4
cmp eax, edi
mov dword [ebp + 0x54], eax
je 0x10019290
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x54]
push edi
push eax
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x10018e26
mov edx, dword [ebp + 0x40]
mov eax, dword [esp + 0x40]
cmp edx, eax
jne 0x10018e46
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x10018e46
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov word [ebp + 0x5c], di
mov word [ebp + 0x5e], di
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
add ecx, edx
mov edx, dword [ebp + 0x20]
add ecx, eax
mov ebp, dword [ebp + 0x68]
push edi
push 4
lea eax, [ecx + edx + 0x2e]
mov edx, dword [esp + 0x3c]
add esi, eax
lea ecx, [esp + 0x50]
adc edx, edi
push ecx
push ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x100192bb
mov edx, dword [esp + 0x4b]
mov ecx, dword [esp + 0x4a]
mov eax, edx
mov esi, ecx
and eax, 0xff
and esi, 0xff
shl eax, 8
or eax, esi
mov esi, dword [esp + 0x49]
mov edi, esi
shl eax, 8
and edi, 0xff
or eax, edi
mov edi, dword [esp + 0x48]
shl eax, 8
and edi, 0xff
or eax, edi
cmp eax, 0x2014b50
je 0x10018935
mov edi, dword [esp + 0x80]
mov eax, dword [edi + 0x4e64]
test eax, eax
jg 0x10019233
test ebp, ebp
je 0x10018e5d
push edi
push 0x1006161c
push 0
push 0x142
jmp 0x1001920e
mov ecx, dword [esp + 0x80]
push ecx
push 0x1006161c
push edi
push 0x135
jmp 0x1001920e
push esi
call fcn.10039f0f
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x6c
ret
mov edx, dword [esp + 0x1c]
push edx
call fcn.10039f0f
mov eax, dword [esp + 0x84]
mov ecx, dword [ebp + 0x58]
add esp, 4
push eax
push ecx
push 0
push 0x137
jmp 0x1001920e
mov edx, dword [ebp + 0x50]
push edx
call fcn.10039f0f
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x6c
ret
mov eax, dword [ebp + 0x54]
push eax
call fcn.10039f0f
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x80]
mov edx, dword [ebp + 0x58]
push ecx
push edx
push edi
push 0x136
jmp 0x1001920e
and edx, 0xff
mov eax, dword [esp + 0x48]
shl edx, 8
and ecx, 0xff
and esi, 0xff
or edx, ecx
and eax, 0xff
shl edx, 8
or edx, esi
shl edx, 8
or edx, eax
cmp edx, 0x6054b50
je 0x1001904f
cmp edx, 0x6064b50
je 0x10018ead
push edi
push 0x1006161c
push 0
push 0x142
jmp 0x1001920e
push 0
lea eax, [esp + 0x17]
push 1
push eax
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x10018ee0
cmp byte [esp + 0x13], 0x50
je 0x10018ee0
push 0
lea ecx, [esp + 0x17]
push 1
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
jne 0x10018ec3
mov dl, byte [esp + 0x13]
push 0
lea eax, [esp + 0x4d]
push 3
push eax
push ebx
mov byte [esp + 0x58], dl
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x1001903b
mov ecx, dword [esp + 0x4b]
mov edx, dword [esp + 0x4a]
mov eax, dword [esp + 0x49]
and ecx, 0xff
shl ecx, 8
and edx, 0xff
and eax, 0xff
or ecx, edx
mov edx, dword [esp + 0x48]
shl ecx, 8
or ecx, eax
and edx, 0xff
shl ecx, 8
or ecx, edx
cmp ecx, 0x7064b50
je 0x10018f5f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffd
push ebx
call fcn.100348d0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001903b
jmp 0x10018ead
push 0
lea eax, [esp + 0x17]
push 1
push eax
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x10018f92
cmp byte [esp + 0x13], 0x50
je 0x10018f92
push 0
lea ecx, [esp + 0x17]
push 1
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
jne 0x10018f75
mov dl, byte [esp + 0x13]
push 0
lea eax, [esp + 0x4d]
push 3
push eax
push ebx
mov byte [esp + 0x58], dl
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x1001903b
mov ecx, dword [esp + 0x4b]
mov edx, dword [esp + 0x4a]
mov eax, dword [esp + 0x49]
and ecx, 0xff
shl ecx, 8
and edx, 0xff
and eax, 0xff
or ecx, edx
mov edx, dword [esp + 0x48]
shl ecx, 8
or ecx, eax
and edx, 0xff
shl ecx, 8
or ecx, edx
cmp ecx, 0x6054b50
je 0x1001900d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffd
push ebx
call fcn.100348d0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001903b
jmp 0x10018f5f
push 0
lea eax, [esp + 0x4c]
push 0x12
push eax
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
jne 0x10019233
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x6c
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x6c
ret
push 0
lea ecx, [esp + 0x4c]
push 0x12
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
jne 0x10019079
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x6c
ret
mov edx, dword [esp + 0x49]
mov eax, dword [esp + 0x48]
and edx, 0xff
and eax, 0xff
shl edx, 8
or edx, eax
jne 0x100190e7
mov ecx, dword [esp + 0x4b]
mov edx, dword [esp + 0x4a]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
jne 0x100190e7
mov edx, dword [esp + 0x4f]
mov eax, dword [esp + 0x4e]
mov ecx, dword [esp + 0x4c]
and edx, 0xff
shl edx, 8
and eax, 0xff
mov ebp, ecx
or edx, eax
mov eax, dword [esp + 0x4d]
mov esi, eax
and ebp, 0xff
and esi, 0xff
shl esi, 8
or esi, ebp
cmp esi, edx
je 0x1001910d
push edi
push 0x1006161c
push 0
push 0x143
call fcn.10020fb0
add esp, 8
push eax
call fcn.1001b9f0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x59]
add esp, 0xc
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
mov ecx, dword [edi + 0x4eb0]
cmp ecx, eax
je 0x10019139
push edi
push 0x1006161c
push 0
push 0x144
jmp 0x1001920e
mov eax, dword [esp + 0x53]
mov ecx, dword [esp + 0x52]
mov edx, dword [esp + 0x51]
and eax, 0xff
shl eax, 8
and ecx, 0xff
and edx, 0xff
or eax, ecx
mov ecx, dword [esp + 0x50]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
and ecx, 0xff
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x30]
xor esi, esi
sub ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
sbb edx, ebp
cmp eax, ecx
mov dword [esp + 0x44], esi
jne 0x10019195
cmp esi, edx
je 0x100191b3
push edi
push 0x1006161c
push 0
push 0x145
call fcn.10020fb0
add esp, 8
push eax
call fcn.1001b9f0
add esp, 0xc
mov eax, dword [esp + 0x57]
mov edx, dword [esp + 0x56]
mov ecx, dword [esp + 0x55]
and eax, 0xff
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
mov edx, dword [esp + 0x54]
shl eax, 8
or eax, ecx
and edx, 0xff
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x38]
xor ecx, ecx
cmp eax, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
jne 0x10019201
cmp ecx, dword [esp + 0x3c]
je 0x10019233
push edi
push 0x1006161c
push 0
push 0x146
call fcn.10020fb0
add esp, 8
push eax
call fcn.1001b9f0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x6c
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x4ea0], eax
mov eax, dword [edi + 0x4e64]
test eax, eax
mov dword [edi + 0x4ea4], ecx
je 0x10019255
xor eax, eax
jmp 0x1001926d
mov eax, dword [esp + 0x59]
mov edx, dword [esp + 0x58]
and eax, 0xff
and edx, 0xff
shl eax, 8
or eax, edx
test eax, eax
mov dword [edi + 0x4eb4], eax
je 0x100192cf
push eax
call fcn.10039ff8
add esp, 4
mov dword [edi + 0x4eb8], eax
test eax, eax
jne 0x100192a4
mov dword [edi + 0x4eb4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x6c
ret
mov ecx, dword [edi + 0x4eb4]
push 0
push ecx
push eax
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
jne 0x100192cf
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x6c
ret
mov eax, dword [edi + 0x4e98]
mov ecx, dword [edi + 0x4e9c]
mov edx, eax
or edx, ecx
je 0x10019311
push ecx
push eax
push 0
push 0x147
lea esi, [edi + 0x3e50]
call fcn.10020fb0
add esp, 8
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [edi + 0x4e90]
push edi
push esi
push eax
call fcn.1001b9f0
add esp, 0x1c
mov eax, dword [edi + 0x4e64]
test eax, eax
jne 0x1001934f
push 0
lea ecx, [esp + 0x17]
push 1
push ecx
push ebx
call fcn.10017b80
add esp, 0x10
test eax, eax
je 0x1001934f
push edi
push 0x1006161c
push 0
push 0x148
call fcn.10020fb0
add esp, 8
push eax
call fcn.1001b9f0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x4eb0]
test eax, eax
je 0x100193bc
lea edx, [eax*4]
push edx
call fcn.10039ff8
mov ecx, eax
add esp, 4
test ecx, ecx
mov dword [edi + 0x4ebc], eax
jne 0x10019389
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x6c
ret
mov eax, dword [edi + 0x4eac]
test eax, eax
je 0x1001939f
mov dword [ecx], eax
mov eax, dword [eax + 0x68]
add ecx, 4
test eax, eax
jne 0x10019393
mov eax, dword [edi + 0x4eb0]
mov ecx, dword [edi + 0x4ebc]
push 0x10017740
push 4
push eax
push ecx
call fcn.1003a7c3
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret