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

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.ws2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5748fb
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
add eax, 0xffffd8ec
cmp eax, 0x59
ja case.0x574731.10005
movzx ecx, byte [eax + 0x574944]
jmp dword [ecx*4 + 0x574900]
push 0x104
push 0x61600c
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x616000
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x616038
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x6160ec
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x6160c0
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x615fe0
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x6160f8
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x616020
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x6160cc
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x616144
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
mov eax, 0xffffff9c
pop esi
ret
push 0x104
push 0x616138
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x61602c
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x616118
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x616078
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x616108
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x5f21c8
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x574ac0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x574b4f
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
add eax, 0xffffd8e2
cmp eax, 0x4f
ja case.0x574af1.10015
movzx eax, byte [eax + 0x574b70]
jmp dword [eax*4 + 0x574b58]
push 0x104
push 0x61600c
jmp 0x574b3e
push 0x104
push 0x616000
jmp 0x574b3e
push 0x104
push 0x615fe0
jmp 0x574b3e
push 0x104
push 0x616020
jmp 0x574b3e
push 0x104
push 0x616038
jmp 0x574b3e
push 0x104
push 0x5f21c8
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
xor eax, eax
ret
mov eax, 1
ret
Function at 0x574c20
Capabilities:
Get socket status

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.ws2_32.dll_select]
mov esi, eax
cmp esi, 0xffffffff
jne 0x574d49
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
add eax, 0xffffd8ec
cmp eax, 0x59
ja case.0x574c66.10005
movzx edx, byte [eax + 0x574d70]
jmp dword [edx*4 + 0x574d50]
push 0x104
push 0x61600c
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x616038
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x616000
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x61602c
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x6160c0
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x615fe0
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x616020
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x104
push 0x5f21c8
push 0x646580
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
ret
Function at 0x576ca0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x644904]
xor eax, ebp
push edi
mov dword [esp + 0x12c], eax
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
push 0x6186b4
push eax
call fcn.00576b70
mov ecx, dword [eax + 0x18]
add esp, 8
cmp ecx, 0x10
jb 0x576cef
mov eax, dword [eax + 4]
jmp 0x576cf2
add eax, 4
push 0x104
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
lea ecx, [esp + 4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov cl, byte [esp + 0x20]
xor eax, eax
cmp cl, 0x31
mov ecx, dword [esp + 0x12c]
sete al
xor ecx, ebp
pop edi
call fcn.005c8895
mov esp, ebp
pop ebp
ret

Function at 0x576d30
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x644904]
xor eax, esp
mov dword [esp + 0x400], eax
call fcn.00576ca0
test al, al
je 0x576d92
push edi
xor eax, eax
mov byte [esp + 4], 0
mov ecx, 0xff
lea edi, [esp + 5]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x410]
push eax
push ecx
lea edx, [esp + 0xc]
push 0x400
push edx
call dword [sym.imp.MSVCR71.dll__vsnprintf]
add esp, 0x10
lea eax, [esp + 4]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop edi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.005c8895
add esp, 0x404
ret

Function at 0x576ff0
Capabilities:
Terminate thread

Disassembly:
push ecx
mov eax, dword [0x646a28]
test eax, eax
je 0x57703b
lea ecx, [esp]
push ecx
push eax
mov dword [esp + 8], 0
call dword [sym.imp.kernel32.dll_GetExitCodeThread]
cmp dword [esp], 0x103
jne 0x577025
mov edx, dword [0x646a28]
push 0
push edx
call dword [sym.imp.kernel32.dll_TerminateThread]
mov eax, dword [0x646a28]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [0x646a28], 0
mov ecx, 0x646a60
call fcn.00578530
pop ecx
ret
Function at 0x5777b0
Capabilities:
Create thread
Resolve dns
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x644904]
xor eax, ebp
mov dword [esp + 0x84], eax
cmp dword [ebp + 0xc], 0x78
push esi
mov esi, dword [ebp + 8]
push edi
jb 0x577a12
push 0x78
lea eax, [esp + 0x14]
push 0x78
mov ecx, 0x1e
lea edi, [esp + 0x18]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00576b20
lea ecx, [esp + 0x1c]
push 0x74
push ecx
call fcn.005780e0
mov ecx, dword [esp + 0x98]
add esp, 0x14
cmp eax, ecx
je 0x57782d
push 0x618788
call fcn.00576d30
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, ebp
call fcn.005c8895
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x17], 1
jne 0x577883
lea edx, [esp + 0x18]
push edx
call sub.ws2_32.dll_gethostbyname
test eax, eax
je 0x57785d
mov eax, dword [eax + 0xc]
test eax, eax
je 0x57785d
mov eax, dword [eax]
test eax, eax
je 0x57785d
mov eax, dword [eax]
push eax
call sub.ws2_32.dll_htonl
mov dword [esp + 0x10], eax
jmp 0x577887
lea ecx, [esp + 0x18]
push ecx
push 0x618780
call fcn.00576d30
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, ebp
call fcn.005c8895
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov cl, byte [esp + 0x16]
test cl, cl
je 0x5778c1
mov edx, dword [0x646a3c]
xor edx, eax
test edx, 0xffffff00
jne 0x5778c1
push eax
push 0x618778
call fcn.00576d30
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, ebp
call fcn.005c8895
mov esp, ebp
pop ebp
ret
call dword [sym.imp.MSVCR71.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [esp + 8], edx
fild dword [esp + 8]
movzx edx, byte [esp + 0x38]
mov dword [esp + 8], edx
fmul dword [0x618774]
fild dword [esp + 8]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x577924
fild dword [esp + 8]
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
push 0x618768
call fcn.00576d30
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, ebp
call fcn.005c8895
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
fstp st(0)
push eax
push 0x44
push 0
push 0x577620
push 0
push 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x577a12
call fcn.00576ff0
mov dword [0x646a28], esi
mov ecx, 0x1e
lea esi, [esp + 0x10]
mov edi, 0x6467a0
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x646a2c], eax
call fcn.005775e0
movzx esi, byte [0x6467c9]
call fcn.00577790
movzx ecx, byte [0x6467ca]
sub ecx, esi
mov dword [esp + 8], ecx
fimul dword [esp + 8]
call fcn.005c8914
add eax, esi
cmp eax, 0xff
mov dword [0x646a30], eax
jbe 0x5779b0
mov eax, 0xff
mov dword [0x646a30], eax
push eax
push 0x618760
call fcn.00576d30
movzx esi, byte [0x6467cb]
add esp, 8
call fcn.00577790
movzx edx, byte [0x6467cc]
sub edx, esi
mov dword [esp + 8], edx
fimul dword [esp + 8]
call fcn.005c8914
add eax, esi
cmp eax, 0xff
mov dword [0x646a34], eax
jbe 0x5779f8
mov eax, 0xff
mov dword [0x646a34], eax
push eax
push 0x618754
call fcn.00576d30
mov eax, dword [0x646a28]
add esp, 8
push eax
call dword [sym.imp.kernel32.dll_ResumeThread]
mov ecx, dword [esp + 0x8c]
pop edi
xor ecx, ebp
pop esi
call fcn.005c8895
mov esp, ebp
pop ebp
ret
Function at 0x5780e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x578123
mov edx, dword [esp + 0xc]
test edx, edx
je 0x578123
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x578125
push ebx
push edi
lea esp, [esp]
movzx edi, byte [ecx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
mov ebx, dword [edi*4 + 0x643388]
shr eax, 8
xor eax, ebx
inc ecx
cmp ecx, edx
jb 0x578100
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x5783b0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov al, byte [esi + 0x38]
mov ecx, dword [esi + 0x34]
test al, al
push edi
mov eax, 0x10
je 0x5784cd
cmp ecx, eax
jb 0x5783d3
mov ecx, dword [esi + 0x20]
jmp 0x5783d6
lea ecx, [esi + 0x20]
cmp dword [esi + 0x18], eax
jb 0x5783e0
mov eax, dword [esi + 4]
jmp 0x5783e3
lea eax, [esi + 4]
mov edi, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x18]
push ecx
push eax
push edi
push 0x6188b0
push ebp
call dword [sym.imp.MSVCR71.dll_sprintf]
mov eax, edi
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x578403
mov ecx, dword [esi + 0x30]
sub eax, edx
add ecx, dword [esi + 0x14]
push ebx
lea ebx, [ecx + eax + 0x3c]
cmp dword [esi + 0x34], 0x10
mov dword [esp + 0x14], ebx
jb 0x578426
mov esi, dword [esi + 0x20]
jmp 0x578429
add esi, 0x20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x578522
cmp edi, 0xffffffff
je 0x578522
push esi
push edi
call dword [sym.imp.kernel32.dll_GetFileSize]
push esi
lea edx, [esp + 0x28]
push edx
push 0x400
add ebx, ebp
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
push ebx
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], esi
call ebp
test eax, eax
je 0x5784a9
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x5784a9
cmp esi, dword [esp + 0x10]
ja 0x5784a9
push 0
add esi, eax
lea eax, [esp + 0x28]
push eax
push 0x400
lea ecx, [esi + ebx]
push ecx
push edi
call ebp
test eax, eax
jne 0x578482
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add esi, edx
push edi
mov word [esi + eax], 0xa0d
call dword [sym.imp.kernel32.dll_CloseHandle]
pop ebx
pop ebp
pop edi
lea eax, [esi + 2]
pop esi
add esp, 8
ret 0xc
cmp ecx, eax
jb 0x5784d6
mov ecx, dword [esi + 0x20]
jmp 0x5784d9
lea ecx, [esi + 0x20]
cmp dword [esi + 0x18], eax
jb 0x5784e3
mov eax, dword [esi + 4]
jmp 0x5784e6
lea eax, [esi + 4]
mov edi, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push edi
push 0x618874
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
mov eax, edi
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x578505
mov ecx, dword [esi + 0x14]
sub eax, edx
mov edx, dword [esi + 0x30]
add edx, ecx
pop edi
lea eax, [edx + eax + 0x31]
pop esi
add esp, 8
ret 0xc
mov eax, ebx
pop ebx
pop ebp
pop edi
pop esi
add esp, 8
ret 0xc
Function at 0x5786d0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ecx + 0xc]
push ebx
xor edx, edx
cmp eax, edx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
jne 0x578718
push 0x63837c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x618908
call sub.MSVCR71.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x578778
push 0x63837c
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 0x6188f4
call sub.MSVCR71.dll__CxxThrowException
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0xc], 0
mov eax, 0x578778
ret
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x578f10
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [ecx + 0x90]
xor edx, edx
test eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
jbe 0x578fb8
mov eax, dword [ecx + 0x8c]
push ebx
mov ebx, dword [eax]
cmp ebx, eax
je 0x578fb1
push ebp
mov ebp, dword [sym.imp.kernel32.dll_CreateFileA]
push esi
push edi
mov eax, dword [ebx + 8]
cmp byte [eax + 0x38], 0
je 0x578f90
cmp dword [eax + 0x34], 0x10
jb 0x578f54
mov eax, dword [eax + 0x20]
jmp 0x578f57
add eax, 0x20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call ebp
mov edi, eax
push 0
push edi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov esi, eax
push edi
add esi, 0x1800
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x578f95
mov esi, 0x2000
mov ebx, dword [ebx]
mov eax, dword [ecx + 0x8c]
add edx, esi
cmp ebx, eax
mov dword [esp + 0x10], edx
jne 0x578f40
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 8
ret
mov eax, edx
pop ebx
add esp, 8
ret
mov eax, edx
add esp, 8
ret
Function at 0x581320
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x581342
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x44], ecx
mov edx, dword [esi + 0x70]
push 1
add edx, 4
push edx
call dword [sym.imp.MSVCR71.dll_longjmp]
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x10]
mov byte [esi + 6], al
mov edx, dword [ecx + 0x58]
test edx, edx
je 0x581363
push eax
call fcn.005812a0
mov edx, dword [esi + 0x10]
push esi
call dword [edx + 0x58]
add esp, 8
push 1
call dword [sym.imp.MSVCR71.dll_exit]
int3
Function at 0x590020
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50c
mov eax, dword [0x644904]
xor eax, ebp
mov dword [esp + 0x508], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x10], eax
xor al, al
xor esi, esi
push edi
mov byte [esp + 0xf], al
mov dword [esp + 0x10], esi
test al, al
jne 0x590213
mov byte [esp + 0x28], al
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x128], 0
xor eax, eax
mov ecx, 0xf9
lea edi, [esp + 0x129]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea ecx, [esp + 0x2c]
push 0x61a5a4
push ecx
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x590201
push 0x2710
push 8
mov dword [esp + 0x20], 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x5901f6
push edi
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
push esi
push 0xc
xor eax, eax
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push 0x2d1400
push ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
je 0x59016a
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x59016a
lea ecx, [esp + 0x128]
push ecx
add eax, esi
push eax
call fcn.00590a60
lea edx, [esp + 0x130]
push edx
call fcn.00590c50
mov eax, dword [esp + 0x134]
add esp, 0xc
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
je 0x59016a
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x12c]
push edx
push eax
jmp 0x5901d8
xor eax, eax
push eax
mov ecx, 0x9c4
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
push esi
push eax
push eax
push 0x2d0c10
push ebx
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
je 0x5901e6
lea edx, [esi + 0x10]
push edx
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
lea ecx, [esp + 0x128]
push ecx
call fcn.00590c50
mov edx, dword [esp + 0x12c]
add esp, 4
push edx
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
je 0x5901e6
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x12c]
push ecx
push edx
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
mov byte [esp + 0xf], 1
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
mov al, byte [esp + 0xf]
inc esi
cmp esi, 0x10
mov dword [esp + 0x10], esi
jl 0x590050
mov ecx, dword [esp + 0x514]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c8895
mov esp, ebp
pop ebp
ret
Function at 0x67e000
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x61f848
call fcn.0067e21e
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x67e048
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x67e048
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x67e27b
cmp eax, 0x20b
je 0x67e25a
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x661088], 0xffffffff
or dword [0x66108c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x661080]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x66107c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x661084], eax
call fcn.0067e1cf
call fcn.005c8fe4
cmp dword [0x644930], ebx
jne 0x67e0ab
push fcn.005c8fe4
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0067e1bc
push 0x63e0e0
push 0x63e0dc
call sub.MSVCR71.dll__initterm
push 0x5c8f88
call fcn.0067e1a9
mov eax, dword [0x661078]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x661074]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x67e0ff
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x63e0d8
push section.sect_2
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x67e180
cmp al, bl
je 0x67e129
cmp dword [ebp - 0x20], ebx
jne 0x67e180
mov al, byte [esi]
cmp al, bl
je 0x67e13a
cmp al, 0x20
ja 0x67e13a
inc esi
mov dword [ebp - 0x24], esi
jmp 0x67e129
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x67e178
movzx eax, word [ebp - 0x54]
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.0042f220
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x67e171
push esi
call dword [sym.imp.MSVCR71.dll_exit]
push 0x5c8dc8
ret
mov eax, 0xa
jmp 0x67e154
cmp al, 0x22
jne 0x67e18f
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x67e1a2
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x67e117
cmp dword [ecx + 0x84], 0xe
jbe 0x67e048
xor eax, eax
cmp dword [ecx + 0xf8], ebx
setne al
mov dword [ebp - 0x1c], eax
jmp 0x67e04b
cmp dword [ecx + 0x74], 0xe
jbe 0x67e048
xor eax, eax
cmp dword [ecx + 0xe8], ebx
jmp 0x67e26f
Function at 0x47ebd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
fld dword [esp + 0x28]
fmul dword [0x533504]
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 0x104]
mov dword [esp + 0x20], 0x3f8eb90c
fst dword [esp + 4]
fstp dword [esp + 8]
fld dword [esi + 0x110]
fmul dword [0x534188]
cmp eax, 2
mov dword [esp + 0xc], 0x414b3333
mov dword [esp + 0x10], 0x414b3333
mov dword [esp + 0x14], 0x414b3333
jne 0x47ece4
fld dword [0x5333e0]
fdiv st(1)
push edi
push 0
push 0xc8
push 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
fstp dword [esp + 0x3c]
mov edi, dword [esp + 0x3c]
push edi
push 0
push 8
push 0x49480000
push eax
mov eax, dword [0x5c1158]
push ecx
add eax, 0x18
push edx
push eax
fstp st(0)
call fcn.00416920
push eax
push esi
call fcn.004fdf00
push 0
push eax
mov dword [esi + 0x108], eax
call fcn.004fe5d0
add esp, 0x3c
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push 0
push 0xc8
push 0
push edi
push 0
push 0x10
push 0x49480000
push ecx
mov ecx, dword [0x5c1160]
push edx
add ecx, 0x18
push eax
push ecx
call fcn.00416920
push eax
call fcn.004f0ee0
push eax
call fcn.004fdf00
push 0
push eax
mov dword [esi + 0x10c], eax
call fcn.004fe5d0
add esp, 0x3c
pop edi
pop esi
add esp, 0x20
ret
cmp eax, 1
jne 0x47ed49
fld dword [0x5333e0]
fdiv st(1)
push 0
push 0xc8
push 0
push ecx
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
fstp dword [esp]
push 0
push 8
push 0x49480000
push edx
mov edx, dword [0x5c1160]
push eax
add edx, 0x18
push ecx
push edx
fstp st(0)
call fcn.00416920
push eax
call fcn.004f0ee0
push eax
call fcn.004fdf00
push 0
push eax
mov dword [esi + 0x10c], eax
call fcn.004fe5d0
add esp, 0x3c
pop esi
add esp, 0x20
ret
fstp st(0)
pop esi
add esp, 0x20
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219