Function at 0x416a1d
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push 4
call fcn.0044dbc8
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
push 0x80001
push 0
push ebx
push 1
mov ebx, 0
mov eax, 0x46eb80
call fcn.0044e000
add esp, 0x10
push 0xc
call fcn.0044dbc8
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0x80004
push 0
push ebx
push 1
mov ebx, 0xac
mov eax, 0x46fef0
call fcn.0044e000
add esp, 0x10
push 4
call fcn.0044dbc8
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
push 0x80001
push 0
push ebx
push 1
mov ebx, 0
mov eax, 0x46eb80
call fcn.0044e000
add esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x28
call fcn.0044dbc8
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.0044dbc8
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.0044dbc8
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.0044dbc8
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 0x14
push ebx
push 0x10c
call fcn.0044dbc8
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4b2949
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x16
call fcn.0044dbc8
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4b2951
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0xe
rep stosb byte es:[edi], al
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x416bdd
mov eax, 0x499305
push eax
push reloc.WSOCK32.dll_connect
push 0
push str.path
push 0x80001
push 0
push dword [ebp - 4]
push 3
mov ebx, 0xc
mov eax, 0x46ec00
call fcn.0044e000
add esp, 0x28
push 0x80001
push 0
push dword [ebp - 4]
push 0x80004
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc8
mov eax, 0x4700c0
call fcn.0044e000
add esp, 0x1c
push 0x80004
push 0
push dword [ebp - 8]
push 1
mov ebx, 0xb8
mov eax, 0x46ffa0
call fcn.0044e000
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x416c78
cmp dword [0x4b5c29], 0
jne 0x416c78
mov eax, 1
jmp 0x416c7a
xor eax, eax
test eax, eax
je 0x41773c
push 0x80001
push 0
lea eax, [ebp - 0xc]
push eax
push 0x80004
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xcc
mov eax, 0x470150
call fcn.0044e000
add esp, 0x1c
push reloc.WSOCK32.dll_connect
push 0
lea eax, [ebp - 0x10]
push eax
push reloc.WSOCK32.dll_connect
push 0
push str.path
push 0x80001
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x2c
mov eax, 0x46f450
call fcn.0044e000
add esp, 0x28
push 0x80000301
push 0
push 1
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x416d05
mov eax, 0x499305
push eax
push 2
mov ebx, 0x138
call fcn.0044e290
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.0044e300
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x24]
call fcn.00401096
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416d69
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416d79
push ebx
call fcn.0044dbce
add esp, 4
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.0044e300
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x10]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416dc0
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x416deb
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x416de6
push eax
mov ebx, eax
call fcn.00401133
inc eax
push eax
call fcn.0044dbc8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x416e07
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x416e07
push eax
mov ebx, eax
call fcn.00401133
inc eax
push eax
call fcn.0044dbc8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x416e1a
push ebx
call fcn.0044dbce
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x416e2e
push ebx
call fcn.0044dbce
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x4b2943
push dword [ebp - 0x10]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
mov eax, dword [ebp - 0x18]
push eax
push 0x13e
call fcn.0044dbc8
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xe
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x416f36
push 6
call fcn.0044dbd4
add esp, 4
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.0044df80
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x417008
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x417006
imul eax, dword [edi]
jmp 0x416ffb
mov ecx, eax
cmp ecx, 0x104
jle 0x417015
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
push ebx
push edi
push 1
mov eax, 2
call fcn.0044df80
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x417053
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x417051
imul eax, dword [edi]
jmp 0x417046
mov ecx, eax
cmp ecx, 0xe
jle 0x41705d
mov ecx, 0xe
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xe
call fcn.0044dbce
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417085
push ebx
call fcn.0044dbce
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x41709a
jmp 0x41773c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x417703
mov ebx, dword [ebp - 0x18]
add ebx, 0x20
mov dword [ebp - 0x24], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0044e9f0
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push 1
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4170f4
mov eax, 0x499305
push eax
push 2
mov ebx, 0x134
call fcn.0044e670
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41711a
push ebx
call fcn.0044dbce
add esp, 4
push 0x4b2947
push dword [ebp - 0x2c]
call fcn.00401096
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x417148
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x4174d3
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0x10
jne 0x4174d3
mov ebx, dword [ebp - 0x18]
add ebx, 0x20
mov dword [ebp - 0x24], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0044e9f0
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.0044e300
add esp, 0x10
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.0040119e
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4171d8
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4171e8
push ebx
call fcn.0044dbce
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4171fc
push ebx
call fcn.0044dbce
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00417836
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x30
jge 0x417467
push str.ani_new.ani
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x417250
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417263
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x4172cb
push str.ani_fenland.ani
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push dword [ebp - 0x34]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4172a7
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4172ba
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x4172cb
mov eax, 1
jmp 0x4172cd
xor eax, eax
test eax, eax
je 0x417440
push str.data.Dnp
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41730f
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417322
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x417440
push str.data.Dnp
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x24], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x417357
mov eax, 0x499305
push eax
push 1
mov ebx, 0x258
call fcn.004507f0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41737d
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x28], 0x23c34600
jle 0x417440
mov dword [0x4b5c29], 1
push 1
lea eax, [ebp - 0x20]
push eax
push 0x4b5ad1
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x4173bb
push ebx
call fcn.0044dbce
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4173d7
push eax
mov ebx, eax
call fcn.00401133
inc eax
push eax
call fcn.0044dbc8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x4b5c2d]
test ebx, ebx
je 0x4173eb
push ebx
call fcn.0044dbce
add esp, 4
pop eax
mov dword [0x4b5c2d], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [0x4b5c2d]
test eax, eax
jne 0x417406
mov eax, 0x499305
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [0x4b5ad9]
test eax, eax
jne 0x41741c
mov eax, 0x499305
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x6a4
call fcn.0044e350
add esp, 0x28
jmp 0x417703
push 1
lea eax, [ebp - 0x20]
push eax
push 0x4b5ad1
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x417467
push ebx
call fcn.0044dbce
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41747a
mov eax, 0x499305
push eax
push reloc.WSOCK32.dll_connect
push 0
push str.path
push 0x80001
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x14
mov eax, 0x46ee10
call fcn.0044e000
add esp, 0x28
push 0x80001
push 0
push dword [ebp - 4]
push 0x80004
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc8
mov eax, 0x4700c0
call fcn.0044e000
add esp, 0x1c
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0x18]
push eax
push 0x13e
call fcn.0044dbc8
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xe
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4175bf
push 6
call fcn.0044dbd4
add esp, 4
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.0044df80
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x417691
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x41768f
imul eax, dword [edi]
jmp 0x417684
mov ecx, eax
cmp ecx, 0x104
jle 0x41769e
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
push ebx
push edi
push 1
mov eax, 2
call fcn.0044df80
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4176dc
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4176da
imul eax, dword [edi]
jmp 0x4176cf
mov ecx, eax
cmp ecx, 0xe
jle 0x4176e6
mov ecx, 0xe
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xe
call fcn.0044dbce
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
jmp 0x4170a1
push 0
mov ebx, 0x350
call fcn.00451790
add esp, 4
mov dword [ebp - 0x24], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x417737
push 6
call fcn.0044dbd4
add esp, 4
jmp 0x416c36
mov ebx, dword [ebp - 4]
push ebx
push 0x80001
push 0
push ebx
push 1
mov ebx, 4
mov eax, 0x46ebb0
call fcn.0044e000
add esp, 0x10
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x80004
push 0
push ebx
push 1
mov ebx, 0xb0
mov eax, 0x46ff10
call fcn.0044e000
add esp, 0x10
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x80001
push 0
push ebx
push 1
mov ebx, 4
mov eax, 0x46ebb0
call fcn.0044e000
add esp, 0x10
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4177c4
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0044dbce
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0044dbce
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0044dbce
add esp, 4
pop ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0044dbce
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0044dbce
add esp, 4
pop ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417830
push ebx
call fcn.0044dbce
add esp, 4
mov esp, ebp
pop ebp
ret 4