Function at 0x409290
Capabilities:
Enumerate files on windows
Get hostname

Disassembly:
mov eax, 0x1b30
call fcn.00419070
mov eax, dword [0x425064]
xor eax, esp
mov dword [esp + 0x1b2c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1b3c]
push esi
push edi
mov edi, ecx
mov eax, ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4092c2
sub eax, edx
mov dword [esp + 0x10], eax
cmp byte [eax + ebp - 1], 0x5c
jne 0x4092da
mov byte [eax + ebp - 1], cl
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1f4]
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edx, dword [str.Drive_]
mov eax, dword [0x423128]
push 0x3f8
lea ecx, [esp + 0x744]
push 0
push ecx
mov dword [esp + 0x744], edx
mov dword [esp + 0x748], eax
call fcn.004119c0
push ebp
lea edx, [esp + 0x748]
push 0x400
push edx
call fcn.0040cbb3
add esp, 0x18
test eax, eax
jne 0x40938a
lea eax, [esp + 0x738]
push 0x5c
push eax
call fcn.0040c0b0
push str._fn
push ebp
mov esi, eax
call fcn.0040d3c0
add esp, 0x10
test eax, eax
jne 0x409391
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409364
sub eax, edx
push str..
lea ecx, [eax + 5]
push ecx
lea edx, [eax + ebp]
push edx
mov dword [esp + 0x1c], eax
call fcn.0040cbb3
add esp, 0xc
test eax, eax
je 0x4093a3
xor eax, eax
jmp 0x409bca
cmp byte [eax - 1], 0
je 0x4093a3
mov cl, byte [eax + 4]
mov byte [eax], cl
inc eax
cmp byte [eax - 1], 0
jne 0x409397
test esi, esi
je 0x40938a
lea edx, [esp + 0x73e]
push ebp
cmp esi, edx
jne 0x4093d1
lea eax, [esp + 0x1f4]
push eax
push str._html__body_bgcolor_white__text_black__link_blue__vlink_blue__alink_red___r_n_h1__img_src__Image_MyComputer32.gif__nbsp_snbsp__font__br__font_size_3__color_888888___s__font___h1__r_n__body__ul__pre_
lea edx, [esp + 0x544]
call fcn.0040ad00
add esp, 0xc
jmp 0x4093f8
lea ecx, [esp + 0x73c]
push ecx
lea edx, [esp + 0x1f8]
push edx
push str._html__body_bgcolor_white__text_black__link_blue__vlink_blue__alink_red___r_n_h1__img_src__Image_MyComputer32.gif__nbsp_snbsp_a_href__s___img_src__Image_FolderUp32.gif__align_absbottom__border_0___font_size_3__
lea edx, [esp + 0x548]
mov byte [esi], 0
call fcn.0040ad00
add esp, 0x10
lea eax, [esp + 0x538]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409402
sub eax, edx
mov ebx, eax
lea eax, [esp + 0x30]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x4094d1
push str._center__font_size_5___r_n
lea edx, [esp + 0x33c]
call fcn.0040ad00
lea eax, [esp + 0x33c]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409444
mov esi, dword [edi + 0x18]
sub eax, edx
add ebx, eax
mov eax, dword [esi + 4]
xor ebp, ebp
cmp eax, ebp
je 0x409464
push eax
call fcn.0040d358
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0xc], ebp
mov esi, dword [edi + 0x18]
cmp dword [esi + 4], ebp
jne 0x409484
push ebx
mov dword [esi + 8], ebx
call fcn.0040ccf9
add esp, 4
mov dword [esi + 4], eax
lea eax, [esp + 0x538]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409490
mov ebx, dword [edi + 0x18]
lea ecx, [esp + 0x538]
sub eax, edx
push ecx
call fcn.00405970
lea eax, [esp + 0x338]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4094b3
mov ebx, dword [edi + 0x18]
sub eax, edx
lea edx, [esp + 0x338]
push edx
call fcn.00405970
jmp 0x409bc5
mov eax, dword [esp + 0x10]
mov byte [eax + ebp + 1], 0
mov ecx, 0xc
mov esi, 0x4233d4
lea edi, [esp + 0x19c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x19c]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409500
sub eax, edx
add ebx, eax
xor esi, esi
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov dword [esp + 0x18], esi
test byte [esp + 0x30], 0x10
je 0x40958d
mov ecx, 0x421178
lea eax, [esp + 0x5c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409547
test dl, dl
je 0x409543
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409547
add eax, 2
add ecx, 2
test dl, dl
jne 0x409527
xor eax, eax
jmp 0x40954c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x409703
mov ecx, 0x423408
lea eax, [esp + 0x5c]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409580
test dl, dl
je 0x40957c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409580
add eax, 2
add ecx, 2
test dl, dl
jne 0x409560
xor eax, eax
jmp 0x409585
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x409703
push 0x114
call fcn.0040ccf9
lea ecx, [esp + 0x60]
push ecx
mov edi, eax
push 0x104
push edi
call fcn.0040cc27
mov edx, dword [esp + 0x60]
mov dword [edi + 0x104], edx
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x6c]
push 0x104
push ecx
mov dword [edi + 0x108], eax
call fcn.0040d8cd
add esp, 0x18
cmp dword [esp + 0x18], esi
jne 0x4095e8
mov ebx, edi
mov dword [edi + 0x110], esi
mov dword [edi + 0x10c], esi
jmp 0x4096fd
push ebx
lea edx, [esp + 0x234]
push 0x104
push edx
mov esi, ebx
call fcn.0040cc27
lea eax, [esp + 0x23c]
push 0x104
push eax
call fcn.0040d8cd
add esp, 0x14
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x230]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409640
test dl, dl
je 0x40963c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409640
add eax, 2
add ecx, 2
test dl, dl
jne 0x409620
xor eax, eax
jmp 0x409645
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jg 0x4096b9
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4096e7
mov esi, eax
push esi
lea ecx, [esp + 0x234]
push 0x104
push ecx
call fcn.0040cc27
lea edx, [esp + 0x23c]
push 0x104
push edx
call fcn.0040d8cd
add esp, 0x14
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x230]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4096b0
test dl, dl
je 0x4096ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4096b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x409690
xor eax, eax
jmp 0x4096b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jle 0x409649
mov eax, dword [esi + 0x10c]
mov dword [edi + 0x10c], eax
mov dword [edi + 0x110], esi
mov dword [esi + 0x10c], edi
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x4096e3
mov dword [eax + 0x110], edi
jmp 0x4096fd
mov ebx, edi
jmp 0x4096fd
mov dword [edi + 0x10c], esi
mov dword [edi + 0x110], 0
mov dword [esi + 0x110], edi
inc dword [esp + 0x18]
xor esi, esi
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x30]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409517
push edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x5c
push ebp
call fcn.0040d170
add esp, 8
cmp eax, esi
je 0x409748
mov byte [eax], 0x2f
inc eax
push 0x5c
push eax
call fcn.0040d170
add esp, 8
cmp eax, esi
jne 0x409735
mov ebx, dword [esp + 0x20]
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
lea esp, [esp]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
test eax, eax
jle 0x409a75
mov dword [esp + 0x24], eax
jmp 0x409784
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x108]
and eax, 0x10
je 0x4098b3
test ecx, ecx
jne 0x4098b3
push 0xc
call fcn.0040ccf9
add esp, 4
cmp dword [esp + 0x14], 0
mov esi, eax
jne 0x4097b2
mov dword [esp + 0x14], esi
push edi
push ebx
push str._a_href__RemoveFolder__s_s__
lea edx, [esp + 0xf44]
call fcn.00401040
mov eax, dword [edi + 0x108]
mov dl, al
and dl, 0x20
neg dl
sbb dl, dl
and dl, 0x21
add dl, 0x20
mov cl, al
and cl, 4
mov byte [esp + 0x180], dl
neg cl
sbb cl, cl
mov dl, al
and dl, 2
and cl, 0x33
add cl, 0x20
neg dl
sbb dl, dl
and dl, 0x28
and al, 1
add dl, 0x20
neg al
sbb al, al
push edi
and al, 0x32
mov byte [esp + 0x186], dl
add al, 0x20
push ebx
push str._Drive__s_s
lea edx, [esp + 0xb50]
mov byte [esp + 0x18d], cl
mov byte [esp + 0x18f], al
mov byte [esp + 0x190], 0
call fcn.00401040
push edi
lea eax, [esp + 0xb54]
push eax
push str.Folder
lea ecx, [esp + 0x198]
push ecx
lea edx, [esp + 0xf60]
push edx
push str.__s___4s___14s___img_src__Image_Folder16.gif___a_href__s___s__a__r_n
lea edx, [esp + 0x1368]
call fcn.0040ad20
lea eax, [esp + 0x1368]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x409875
sub eax, ecx
push eax
mov dword [esi + 4], eax
call fcn.0040ccf9
mov ecx, dword [esi + 4]
push ecx
lea edx, [esp + 0x1340]
push edx
push eax
mov dword [esi], eax
call fcn.00412250
add esp, 0x10
test ebp, ebp
je 0x4098a5
mov dword [ebp + 8], esi
mov eax, dword [esi + 4]
add dword [esp + 0x1c], eax
mov ebp, esi
jmp 0x409a64
test eax, eax
jne 0x409a64
cmp ecx, 1
jne 0x409a64
push 0xc
call fcn.0040ccf9
add esp, 4
cmp dword [esp + 0x14], 0
mov ebx, eax
jne 0x4098db
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x20]
push edi
push ecx
push str._a_href__RemoveFile__s_s__
lea edx, [esp + 0xf44]
call fcn.00401040
mov eax, dword [edi + 0x108]
mov dl, al
and dl, 0x20
add esp, 0xc
neg dl
sbb dl, dl
and dl, 0x21
mov cl, al
add dl, 0x20
and cl, 4
mov byte [esp + 0x174], dl
neg cl
sbb cl, cl
mov dl, al
and dl, 2
and cl, 0x33
add cl, 0x20
neg dl
sbb dl, dl
and al, 1
and dl, 0x28
add dl, 0x20
neg al
sbb al, al
and al, 0x32
add al, 0x20
mov byte [esp + 0x175], cl
mov byte [esp + 0x176], dl
mov byte [esp + 0x177], al
mov byte [esp + 0x178], 0
mov eax, dword [edi + 0x104]
lea esi, [esp + 0x1d0]
call fcn.00405d10
push 0x2e
push edi
call fcn.0040c0b0
inc eax
add esp, 8
cmp eax, 1
je 0x409988
push eax
lea esi, [esp + 0x180]
call fcn.00409bf0
jmp 0x4099c9
mov eax, dword [str._Image_File16.gif]
mov ecx, dword [0x421760]
mov edx, dword [0x421764]
mov dword [esp + 0x17c], eax
mov eax, dword [0x421768]
mov dword [esp + 0x180], ecx
mov cx, word [0x42176c]
mov dword [esp + 0x184], edx
mov dword [esp + 0x188], eax
mov word [esp + 0x18c], cx
mov edx, dword [esp + 0x20]
push edi
push edx
push str._Drive__s_s
lea edx, [esp + 0xb44]
call fcn.00401040
push edi
lea eax, [esp + 0xb48]
push eax
lea ecx, [esp + 0x190]
push ecx
lea edx, [esp + 0x1e8]
push edx
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0xf58]
push ecx
push str.__s___4s___14s___img_src__s___a_href__s___s__a__r_n
lea edx, [esp + 0x1360]
call fcn.0040ad20
lea eax, [esp + 0x1360]
add esp, 0x28
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409a27
sub eax, edx
push eax
mov dword [ebx + 4], eax
call fcn.0040ccf9
mov edx, dword [ebx + 4]
push edx
lea ecx, [esp + 0x1340]
push ecx
push eax
mov dword [ebx], eax
call fcn.00412250
add esp, 0x10
test ebp, ebp
je 0x409a57
mov dword [ebp + 8], ebx
mov edx, dword [ebx + 4]
add dword [esp + 0x1c], edx
mov ebp, ebx
mov ebx, dword [esp + 0x20]
sub dword [esp + 0x24], 1
mov edi, dword [edi + 0x110]
jne 0x409780
test ebp, ebp
je 0x409a80
mov dword [ebp + 8], 0
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, 2
mov dword [esp + 0x10], ecx
jl 0x409760
push ebx
push str._p__br__center__form_name_filename__action__Drive__s___font_size_3__color_00AA00__
lea edx, [esp + 0x340]
call fcn.0040ad00
lea eax, [esp + 0x340]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409ab1
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov esi, dword [edi + 0x18]
sub eax, edx
add ebx, eax
mov eax, dword [esi + 4]
xor ebp, ebp
cmp eax, ebp
je 0x409ad9
push eax
call fcn.0040d358
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0xc], ebp
mov esi, dword [edi + 0x18]
cmp dword [esi + 4], ebp
jne 0x409af9
push ebx
mov dword [esi + 8], ebx
call fcn.0040ccf9
add esp, 4
mov dword [esi + 4], eax
lea eax, [esp + 0x538]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409b03
mov ebx, dword [edi + 0x18]
lea ecx, [esp + 0x538]
sub eax, edx
push ecx
call fcn.00405970
lea eax, [esp + 0x19c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409b26
mov ebx, dword [edi + 0x18]
sub eax, edx
lea edx, [esp + 0x19c]
push edx
call fcn.00405970
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0
test ebp, ebp
jle 0x409b7c
mov eax, dword [esi]
mov ebx, dword [edi + 0x18]
push eax
mov eax, dword [esi + 4]
call fcn.00405970
mov ecx, dword [esi]
push ecx
call fcn.0040d358
mov eax, dword [esp + 0x14]
mov esi, dword [esi + 8]
inc eax
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x409b53
lea eax, [esp + 0x338]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409b86
mov ebx, dword [edi + 0x18]
sub eax, edx
lea edx, [esp + 0x338]
push edx
call fcn.00405970
mov eax, dword [esp + 0x28]
mov esi, eax
test eax, eax
je 0x409bc5
lea esp, [esp]
mov esi, dword [esi + 0x110]
push eax
call fcn.0040d358
add esp, 4
mov eax, esi
test esi, esi
jne 0x409bb0
mov eax, 1
mov ecx, dword [esp + 0x1b3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040bd50
add esp, 0x1b30
ret 4