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

Disassembly:
push 0xffffffffffffffff
push 0x101238f8
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x1015d2f0]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x11c]
mov eax, dword [esp + 0x124]
xor ebp, ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebp
mov byte [esp + 0xec], 0
push ebp
push eax
mov eax, dword [esp + 0x128]
push eax
push esi
lea edi, [esp + 0xdc]
mov dword [esp + 0x124], ebp
call fcn.1003d930
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0x118], 1
mov byte [esp + 0x1a], 0
call fcn.10001d40
mov byte [esp + 0x114], 2
mov eax, dword [esp + 0xd0]
mov ebx, 0x10
cmp dword [esp + 0xe4], ebx
jae 0x1003f322
lea eax, [esp + 0xd0]
test byte [esp + 0xbc], 0x30
jne 0x10040067
lea edx, [esp + 0x64]
push edx
push eax
lea ecx, [esp + 0xc4]
lea edi, [esp + 0x88]
call fcn.1002e030
add esp, 8
test al, al
je 0x10040067
lea edi, [esp + 0x64]
call fcn.1002f460
test al, al
je 0x10040067
push ecx
mov eax, esp
mov esi, edi
mov dword [esp + 0x44], esp
mov dword [eax], str.LocalSetting
call fcn.1002e420
test al, al
je 0x10040067
mov ecx, dword [esp + 0xa0]
cmp ecx, ebp
je 0x1003f3ce
cmp dword [esp + 0xb0], 1
jne 0x1003f3ce
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x9c], ecx
xor ecx, ecx
cmp eax, ebp
setne cl
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb0], ecx
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x44], esp
mov dword [eax], str.Guid
call fcn.1002e420
test al, al
je 0x1003f442
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
mov byte [esp + 0x114], 3
cmp dword [eax + 0x18], ebx
jb 0x1003f407
mov edx, dword [eax + 4]
jmp 0x1003f40a
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003f410
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xf0]
call fcn.10004290
mov byte [esp + 0x114], 2
cmp dword [esp + 0x3c], ebx
jb 0x1003f442
mov edx, dword [esp + 0x28]
push edx
call fcn.100f4085
add esp, 4
push 0x120
call fcn.100f4579
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x114], 4
cmp eax, ebp
je 0x1003f471
lea ecx, [esp + 0xe8]
push ecx
push eax
call fcn.10037cb0
mov ebx, eax
jmp 0x1003f473
xor ebx, ebx
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0xd4]
mov byte [esp + 0x11c], 2
lea ecx, [ebx + 0x104]
push edx
mov dword [esp + 0x4c], ebx
call fcn.100057a0
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], 0x101426b8
call fcn.1002e420
test al, al
je 0x1003f4ef
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
mov ebp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x1003f4cb
mov eax, dword [eax + 4]
jmp 0x1003f4ce
add eax, 4
push eax
call fcn.100f39b6
add esp, 4
mov dword [ebx + 0x1c], eax
cmp dword [esp + 0x3c], ebp
jb 0x1003f4f4
mov eax, dword [esp + 0x28]
push eax
call fcn.100f4085
add esp, 4
jmp 0x1003f4f4
mov ebp, 0x10
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.Version
call fcn.1002e420
test al, al
je 0x1003f563
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
mov byte [esp + 0x114], 5
cmp dword [eax + 0x18], ebp
jb 0x1003f52d
mov esi, dword [eax + 4]
jmp 0x1003f530
lea esi, [eax + 4]
mov eax, esi
lea ecx, [ebx + 0x20]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1003f538
sub eax, edi
push eax
push esi
call fcn.10004290
mov byte [esp + 0x114], 2
cmp dword [esp + 0x3c], ebp
jb 0x1003f563
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100f4085
add esp, 4
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.ErrorType
call fcn.1002e420
test al, al
je 0x1003f5d2
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
mov byte [esp + 0x114], 6
cmp dword [eax + 0x18], ebp
jb 0x1003f59c
mov esi, dword [eax + 4]
jmp 0x1003f59f
lea esi, [eax + 4]
mov eax, esi
lea ecx, [ebx + 0x3c]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1003f5a7
sub eax, edi
push eax
push esi
call fcn.10004290
mov byte [esp + 0x114], 2
cmp dword [esp + 0x3c], ebp
jb 0x1003f5d2
mov edx, dword [esp + 0x28]
push edx
call fcn.100f4085
add esp, 4
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.ErrorUnixTime
call fcn.1002e420
test al, al
je 0x1003f625
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
cmp dword [eax + 0x18], ebp
jb 0x1003f603
mov eax, dword [eax + 4]
jmp 0x1003f606
add eax, 4
push eax
call fcn.100f39b6
add esp, 4
mov dword [ebx + 0x58], eax
cmp dword [esp + 0x3c], ebp
jb 0x1003f625
mov eax, dword [esp + 0x28]
push eax
call fcn.100f4085
add esp, 4
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.ClientSign
call fcn.1002e420
test al, al
je 0x1003f69b
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
mov byte [esp + 0x114], 7
cmp dword [eax + 0x18], ebp
jb 0x1003f65e
mov esi, dword [eax + 4]
jmp 0x1003f661
lea esi, [eax + 4]
mov eax, esi
lea ecx, [ebx + 0x5c]
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1003f670
sub eax, edi
push eax
push esi
call fcn.10004290
mov byte [esp + 0x114], 2
cmp dword [esp + 0x3c], ebp
jb 0x1003f69b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100f4085
add esp, 4
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.CrashFilePath
call fcn.1002e420
test al, al
je 0x1003f70d
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
mov byte [esp + 0x114], 8
cmp dword [eax + 0x18], ebp
jb 0x1003f6d4
mov esi, dword [eax + 4]
jmp 0x1003f6d7
lea esi, [eax + 4]
mov eax, esi
lea ecx, [ebx + 0x94]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1003f6e2
sub eax, edi
push eax
push esi
call fcn.10004290
mov byte [esp + 0x114], 2
cmp dword [esp + 0x3c], ebp
jb 0x1003f70d
mov edx, dword [esp + 0x28]
push edx
call fcn.100f4085
add esp, 4
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.NoticeFilePath
call fcn.1002e420
test al, al
je 0x1003f77f
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
mov byte [esp + 0x114], 9
cmp dword [eax + 0x18], ebp
jb 0x1003f746
mov esi, dword [eax + 4]
jmp 0x1003f749
lea esi, [eax + 4]
mov eax, esi
lea ecx, [ebx + 0xb0]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1003f754
sub eax, edi
push eax
push esi
call fcn.10004290
mov byte [esp + 0x114], 2
cmp dword [esp + 0x3c], ebp
jb 0x1003f77f
mov eax, dword [esp + 0x28]
push eax
call fcn.100f4085
add esp, 4
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.IndexFilePath
call fcn.1002e420
test al, al
je 0x1003f7f1
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
mov byte [esp + 0x114], 0xa
cmp dword [eax + 0x18], ebp
jb 0x1003f7b8
mov esi, dword [eax + 4]
jmp 0x1003f7bb
lea esi, [eax + 4]
mov eax, esi
lea ecx, [ebx + 0xe8]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1003f7c6
sub eax, edi
push eax
push esi
call fcn.10004290
mov byte [esp + 0x114], 2
cmp dword [esp + 0x3c], ebp
jb 0x1003f7f1
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100f4085
add esp, 4
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.LogFile
call fcn.1002e420
test al, al
je 0x1003f9e4
mov eax, esi
call fcn.1002f3c0
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.Item
call fcn.1002e420
test al, al
je 0x1003f9db
mov ecx, dword [esp + 0xa0]
xor esi, esi
cmp ecx, esi
je 0x1003f883
cmp dword [esp + 0xb0], 1
jne 0x1003f883
mov eax, dword [esp + 0xa4]
xor edx, edx
cmp eax, esi
setne dl
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb0], edx
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.LogFilePath
call fcn.1002e420
test al, al
je 0x1003f96e
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
mov byte [esp + 0x114], 0xb
cmp dword [eax + 0x18], 0x10
jb 0x1003f8c1
mov esi, dword [eax + 4]
jmp 0x1003f8c4
lea esi, [eax + 4]
mov eax, esi
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003f8e0
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x50]
call fcn.10004290
mov byte [esp + 0x114], 0xc
mov edi, dword [ebx + 0x8c]
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x78]
lea eax, [esp + 0x48]
push eax
push ecx
push edi
mov ecx, esi
call fcn.10037a50
push 1
mov ecx, esi
mov ebp, eax
call fcn.10037af0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
cmp dword [esp + 0x60], 0x10
jb 0x1003f93d
mov edx, dword [esp + 0x4c]
push edx
call fcn.100f4085
add esp, 4
mov byte [esp + 0x114], 2
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
jb 0x1003f96e
mov eax, dword [esp + 0x28]
push eax
call fcn.100f4085
add esp, 4
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x1003f816
mov edi, dword [esp + 0xc8]
mov edi, dword [edi]
mov edx, dword [esp + 0xa0]
mov ecx, eax
mov esi, eax
sar esi, 0x10
mov esi, dword [edi + esi*4]
and eax, 0xffff
shl eax, 5
mov eax, dword [esi + eax + 0x10]
xor esi, esi
mov dword [esp + 0xa4], edx
xor edx, edx
cmp ecx, esi
setne dl
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb0], edx
jmp 0x1003f816
lea eax, [esp + 0x64]
call fcn.1002f400
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.ResourceFile
call fcn.1002e420
test al, al
je 0x1003fc62
mov eax, esi
call fcn.1002f3c0
lea esp, [esp]
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.Item
call fcn.1002e420
test al, al
je 0x1003fc59
xor ebp, ebp
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
mov byte [esp + 0x114], 0xd
mov ecx, dword [esp + 0xa0]
mov byte [esp + 0x44], 0
cmp ecx, ebp
je 0x1003fa9b
cmp dword [esp + 0xb0], 1
jne 0x1003fa9b
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x9c], ecx
xor ecx, ecx
cmp eax, ebp
setne cl
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb0], ecx
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.ResourceFilePath
call fcn.1002e420
test al, al
je 0x1003fb12
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
mov edi, 0x10
mov byte [esp + 0x114], 0xe
cmp dword [eax + 0x18], edi
jb 0x1003fad9
mov edx, dword [eax + 4]
jmp 0x1003fadc
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fae1
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x50]
call fcn.10004290
mov byte [esp + 0x114], 0xd
cmp dword [esp + 0x3c], edi
jb 0x1003fb17
mov edx, dword [esp + 0x28]
push edx
call fcn.100f4085
add esp, 4
jmp 0x1003fb17
mov edi, 0x10
push ecx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x1c], esp
mov dword [eax], str.Status
call fcn.1002e420
test al, al
je 0x1003fb6a
lea esi, [esp + 0x24]
lea edx, [esp + 0x64]
call fcn.10001e10
cmp dword [eax + 0x18], edi
jb 0x1003fb48
mov eax, dword [eax + 4]
jmp 0x1003fb4b
add eax, 4
cmp eax, 0x1013b0f8
setne al
mov byte [esp + 0x44], al
cmp dword [esp + 0x3c], edi
jb 0x1003fb6a
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100f4085
add esp, 4
push 0x20
call fcn.100f4579
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x114], 0xf
cmp eax, ebp
je 0x1003fb96
mov edx, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.10037c40
jmp 0x1003fb98
xor eax, eax
mov byte [esp + 0x114], 0xd
mov esi, dword [ebx + 0xe0]
lea ebp, [ebx + 0xcc]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push edx
push eax
push esi
call fcn.10040f40
mov ecx, ebp
mov edi, eax
call fcn.10040ea0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x1003fc34
mov edi, dword [esp + 0xc8]
mov edi, dword [edi]
mov edx, dword [esp + 0xa0]
mov ecx, eax
mov esi, eax
sar esi, 0x10
mov esi, dword [edi + esi*4]
and eax, 0xffff
shl eax, 5
mov eax, dword [esi + eax + 0x10]
xor esi, esi
mov dword [esp + 0xa4], edx
xor edx, edx
cmp ecx, esi
setne dl
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb0], edx
mov byte [esp + 0x114], 2
cmp dword [esp + 0x60], 0x10
jb 0x1003fa10
mov eax, dword [esp + 0x4c]
push eax
call fcn.100f4085
add esp, 4
jmp 0x1003fa10
lea eax, [esp + 0x64]
call fcn.1002f400
lea eax, [esp + 0x64]
call fcn.1002f400
lea esi, [ebx + 0xe8]
mov eax, esi
call fcn.100320c0
test al, al
je 0x1003fc9f
mov ecx, dword [ebx + 0x58]
push 2
push ecx
mov ecx, dword [ebx + 0x1c]
lea edx, [ebx + 0x3c]
push edx
mov edx, dword [esp + 0x2c]
push esi
push ebx
lea eax, [ebx + 0x20]
push eax
push ecx
push edx
call fcn.10038cf0
mov byte [esp + 0x16], 1
mov eax, dword [ebx + 0x8c]
mov ebp, dword [eax]
mov edi, dword [ebx + 0x78]
lea ebx, [ebx]
mov esi, dword [ebx + 0x8c]
mov eax, dword [ebx + 0x78]
test edi, edi
je 0x1003fcc1
cmp edi, eax
je 0x1003fcc6
call fcn.100f3f6c
cmp ebp, esi
je 0x1003fe28
test edi, edi
jne 0x1003fd5a
call fcn.100f3f6c
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x1003fce7
call fcn.100f3f6c
push 0xffffffffffffffff
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
call fcn.100057a0
mov byte [esp + 0x114], 0x10
cmp dword [esp + 0x5c], 0
jbe 0x1003fdeb
mov eax, dword [esp + 0x4c]
mov esi, 0x10
cmp dword [esp + 0x60], esi
jae 0x1003fd33
lea eax, [esp + 0x4c]
push 0
push 0x80
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x1003fd61
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003fd6c
mov eax, dword [edi]
jmp 0x1003fcdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x1003fdeb
cmp dword [esp + 0x60], esi
mov esi, dword [esp + 0x4c]
jae 0x1003fd7a
lea esi, [esp + 0x4c]
mov eax, esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fd94
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.10004290
push 0
mov byte [esp + 0x118], 0x11
mov eax, dword [ebx + 0x58]
push eax
lea ecx, [ebx + 0x3c]
push ecx
mov ecx, dword [ebx + 0x1c]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ebx
lea eax, [ebx + 0x20]
push eax
push ecx
push edx
call fcn.10038cf0
cmp dword [esp + 0x3c], 0x10
jb 0x1003fde6
mov eax, dword [esp + 0x28]
push eax
call fcn.100f4085
add esp, 4
mov byte [esp + 0x16], 1
mov byte [esp + 0x114], 2
cmp dword [esp + 0x60], 0x10
jb 0x1003fe07
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.100f4085
add esp, 4
test edi, edi
jne 0x1003fe24
call fcn.100f3f6c
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x1003fe1c
call fcn.100f3f6c
mov ebp, dword [ebp]
jmp 0x1003fcb0
mov eax, dword [edi]
jmp 0x1003fe12
cmp dword [ebx + 0xa8], 0
jbe 0x1003fe65
lea esi, [ebx + 0x94]
mov eax, esi
call fcn.100320c0
test al, al
je 0x1003fe65
mov edx, dword [ebx + 0x58]
push 1
push edx
mov edx, dword [ebx + 0x1c]
lea eax, [ebx + 0x3c]
push eax
mov eax, dword [esp + 0x2c]
push esi
push ebx
lea ecx, [ebx + 0x20]
push ecx
push edx
push eax
call fcn.10038cf0
mov byte [esp + 0x16], 1
cmp dword [ebx + 0xc4], 0
jbe 0x1003fea2
lea esi, [ebx + 0xb0]
mov eax, esi
call fcn.100320c0
test al, al
je 0x1003fea2
mov ecx, dword [ebx + 0x58]
push 3
push ecx
mov ecx, dword [ebx + 0x1c]
lea edx, [ebx + 0x3c]
push edx
mov edx, dword [esp + 0x2c]
push esi
push ebx
lea eax, [ebx + 0x20]
push eax
push ecx
push edx
call fcn.10038cf0
mov byte [esp + 0x16], 1
mov eax, dword [ebx + 0xe0]
mov edi, dword [ebx + 0xcc]
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], edi
mov esi, dword [ebx + 0xe0]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xcc]
test edi, edi
je 0x1003fed2
cmp edi, eax
je 0x1003fed7
call fcn.100f3f6c
cmp dword [esp + 0x1c], esi
je 0x1004001f
test edi, edi
jne 0x1003ff2a
call fcn.100f3f6c
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x14]
jne 0x1003fefa
call fcn.100f3f6c
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + 8]
cmp byte [edi + 0x1c], 0
je 0x1003ff94
lea esi, [esp + 0x24]
call fcn.10038c20
cmp dword [eax + 0x14], 0
mov byte [esp + 0x17], 0
jbe 0x1003ff64
cmp dword [eax + 0x18], 0x10
jb 0x1003ff2e
mov eax, dword [eax + 4]
jmp 0x1003ff31
mov eax, dword [edi]
jmp 0x1003feec
add eax, 4
push 0
push 0x80
push 3
push 0
push 1
push accept
push eax
call ebp
cmp eax, 0xffffffff
je 0x1003ff54
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003ff5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x1003ff64
mov byte [esp + 0x17], 1
cmp dword [esp + 0x3c], 0x10
jb 0x1003ff78
mov eax, dword [esp + 0x28]
push eax
call fcn.100f4085
add esp, 4
cmp byte [esp + 0x17], 0
je 0x1003fff3
mov ecx, dword [ebx + 0x58]
mov eax, dword [ebx + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edi
push ebx
lea edx, [ebx + 0x20]
push edx
push eax
push ecx
jmp 0x1003ffe9
cmp dword [edi + 0x14], 0
jbe 0x1003fff3
cmp dword [edi + 0x18], 0x10
jb 0x1003ffa5
mov eax, dword [edi + 4]
jmp 0x1003ffa8
lea eax, [edi + 4]
push 0
push 0x80
push 3
push 0
push 1
push accept
push eax
call ebp
cmp eax, 0xffffffff
je 0x1003ffcb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003ffd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x1003fff3
mov edx, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push edi
push ebx
lea eax, [ebx + 0x20]
push eax
push ecx
push edx
call fcn.10038ec0
mov byte [esp + 0x16], 1
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x1004001b
call fcn.100f3f6c
xor eax, eax
mov esi, dword [esp + 0x1c]
cmp esi, dword [eax + 0x14]
jne 0x10040010
call fcn.100f3f6c
mov eax, dword [esi]
mov edi, dword [esp + 0x18]
jmp 0x1003feba
mov eax, dword [eax]
jmp 0x10040002
cmp byte [esp + 0x16], 0
je 0x10040052
mov ebx, dword [esp + 0x20]
mov esi, dword [ebx + 0x4c]
mov edx, dword [esi + 4]
add ebx, 0x38
lea ecx, [esp + 0x40]
push ecx
push edx
push esi
call fcn.10040f40
mov ecx, ebx
mov edi, eax
call fcn.10040ea0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
jmp 0x10040085
mov esi, ebx
call fcn.10037da0
push ebx
call fcn.100f4085
add esp, 4
mov ebx, 0x10
mov eax, dword [esp + 0xd0]
cmp dword [esp + 0xe4], ebx
jae 0x1004007e
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x118], 1
call fcn.1002de20
mov esi, 0x10
cmp dword [esp + 0xe4], esi
jb 0x100400b5
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.100f4085
add esp, 4
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
cmp dword [esp + 0x100], esi
jb 0x100400ec
mov edx, dword [esp + 0xec]
push edx
call fcn.100f4085
add esp, 4
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.100f30a6
add esp, 0x104
ret 0xc