joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4052d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x3004
call fcn.0040cc00
push ebp
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x100d]
mov byte [esp + 0x100c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 8], 0x1000
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x3010]
push 0x412334
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
test ebp, ebp
jne 0x40533f
pop edi
pop ebp
add esp, 0x3004
ret
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebp
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
lea edi, [esp + 0x10]
mov ecx, ebp
mov eax, dword [0x415038]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test eax, eax
pop esi
jne 0x405392
push str.Crypt32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x405392
push str.CryptStringToBinaryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x415038], eax
mov edx, dword [esp + 0x3014]
push 0
lea eax, [esp + 0xc]
push 0
lea ecx, [esp + 0x1014]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push ebp
push eax
call dword [0x415038]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x100c]
push ecx
push edx
call fcn.00405200
add esp, 8
pop edi
pop ebp
add esp, 0x3004
ret

Function at 0x407a30
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], 1
mov eax, dword [esi + 4]
test eax, eax
jl 0x407a48
call fcn.00407a80
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi + 4], eax
pop esi
test eax, eax
jge 0x407a5f
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 1
push 6
push eax
call sub.WS2_32.dll_setsockopt
neg eax
sbb eax, eax
neg eax
dec eax
pop ecx
ret

Function at 0x407ab0
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jge 0x407ac8
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
push esi
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x407b15
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x407abe
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x407b0f
pop edi
pop esi
add esp, 0x10
ret 8
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x20]
push eax
call sub.WS2_32.dll_htons
mov edx, dword [edi + 4]
lea ecx, [esp + 8]
push 0x10
push ecx
push edx
mov word [esp + 0x16], ax
call sub.WS2_32.dll_connect
neg eax
sbb eax, eax
pop edi
neg eax
dec eax
pop esi
add esp, 0x10
ret 8
Function at 0x407b50
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push 4
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov edx, dword [esi + 4]
push ecx
push 0x1006
push 0xffff
push edx
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x407b80
xor eax, eax
pop esi
ret 4
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
push 4
push eax
push 0x1005
push 0xffff
push ecx
call sub.WS2_32.dll_setsockopt
inc eax
pop esi
neg eax
sbb eax, eax
ret 4
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x406ac2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x406ad1
pop dword [ebp - 0x20]
mov eax, 0x406ad1
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x2d7931a
add dword [ebp - 0x30], 0x4b7ab231
mov dword [ebp - 0x2c], 0xe817ae37
sub dword [ebp - 0x2c], 0xb5e461f2
mov dword [ebp - 0x28], 0xe0a25968
sub dword [ebp - 0x28], 0x9456153a
mov dword [ebp - 0x24], 0x4099122b
add dword [ebp - 0x24], 0xbf66edd5
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6e9afb57
sub eax, 0x6e5a2b03
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x5d7bbf3
sub dword [ebp - 0x30], 0x9165529d
mov dword [ebp - 0x2c], 0x33bbeed8
sub dword [ebp - 0x2c], 0xf24f8d63
mov dword [ebp - 0x28], 0xa9207e34
sub dword [ebp - 0x28], 0x45b111c8
mov dword [ebp - 0x24], 0xab77456d
add dword [ebp - 0x24], 0x5488ba93
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x39d52
push 0
call eax
mov ecx, 0x482d
mov edi, eax
mov esi, 0xc43446ac
sub esi, 0xc3f296ac
add esi, dword [ebp - 0x20]
mov ebx, 0x843ef887
add ebx, 0xd374c88
xor dword [ebp - 0x14], 0x4cedc4e
mov edx, dword [esi]
xor dword [ebp - 0x14], 0x71147b41
add edx, ebx
xor dword [ebp - 0x1c], eax
mov dword [edi], edx
sub dword [ebp - 4], 0xaf45def8
add edi, 0xa5beb093
sub edi, 0xa5beb08f
add esi, 0x38357e03
sub esi, 0x38357dff
loop 0x406be3
add eax, 0xbc04049c
sub eax, 0xbc02f115
mov ebx, eax
add eax, 5
mov ecx, 0xdd240c0e
sub ecx, 0xdce40c0e
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x401980
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, eax
cmp edi, 3
jl 0x401a14
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx*4]
sub eax, edx
neg eax
add edi, eax
push ebx
lea ebx, [ebx]
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + 0x6d79b0]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movzx eax, byte [eax + 0x6d79b0]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movzx eax, byte [eax + 0x6d79b0]
mov byte [ecx + 2], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + 0x6d79b0]
mov byte [ecx + 3], al
add ecx, 4
add esi, 3
dec edx
jne 0x4019b0
pop ebx
test edi, edi
jle 0x401a76
movzx edx, byte [esi]
shr edx, 2
movzx eax, byte [edx + 0x6d79b0]
mov byte [ecx], al
mov al, byte [esi]
and al, 3
shl al, 4
cmp edi, 1
jle 0x401a3b
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
mov dl, byte [eax + 0x6d79b0]
mov byte [ecx + 1], dl
cmp edi, 2
jge 0x401a5b
mov al, 0x3d
pop edi
mov byte [ecx + 2], al
mov word [ecx + 3], 0x3d
pop esi
pop ebp
ret
movzx eax, byte [esi + 1]
and eax, 0xf
mov al, byte [eax*4 + 0x6d79b0]
pop edi
mov byte [ecx + 2], al
mov word [ecx + 3], 0x3d
pop esi
pop ebp
ret
pop edi
mov byte [ecx], 0
pop esi
pop ebp
ret

Function at 0x405b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dba63
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x714bc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
xor edi, edi
mov word [esi + 0xe], ax
mov dword [ebp - 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 0x400
mov byte [ebp - 4], 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
cmp dword [esi + 0x10], edi
jne 0x405c22
push 0x14
call fcn.004b9bc9
add esp, 4
cmp eax, edi
je 0x405c1a
mov dword [eax], edi
mov dword [eax + 4], 0x10000
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
jmp 0x405c1c
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40ca90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dce2e
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x714bc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004c9295
mov dword [ebp - 4], 0
mov dword [esi], 0x6dbfb4
call fcn.004ba35d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cae6
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 1
call fcn.004ba35d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cb13
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x40], eax
push 0
push 0x6d7a78
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
call fcn.00401f70
xor edi, edi
push edi
push 0x6d7a78
lea ecx, [esi + 0x2c]
mov dword [esi + 0x3c], edi
call fcn.00401f70
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x444bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dbc0b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x714bc0]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov eax, dword [0x714bc0]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x7c]
lea eax, [esp + 0x24]
push eax
push 0x18
push ecx
mov edi, 1
call dword [fcn.005e5170]
movzx edx, word [esp + 0x34]
movzx eax, word [esp + 0x36]
imul edx, eax
cmp edx, 8
jg 0x444d10
lea ecx, [esp + 0x14]
call fcn.004c4264
push 0
mov dword [esp + 0x454], 0
call dword [fcn.005e519c]
push eax
lea ecx, [esp + 0x18]
call fcn.004c4760
lea eax, [ebx + 0x78]
test eax, eax
je 0x444c5f
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004c4ac5
lea edx, [esp + 0x3c]
push edx
push 0x100
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push 0
push eax
call dword [0x5e51fc]
push 0x408
call fcn.004b9bf8
mov esi, eax
add esp, 4
mov dword [esi], 0x1000300
lea ecx, [esp + 0x3d]
lea eax, [esi + 5]
mov edi, 0x100
movzx edx, byte [ecx + 1]
mov byte [eax - 1], dl
movzx edx, byte [ecx]
mov byte [eax], dl
movzx edx, byte [ecx - 1]
mov byte [eax + 1], dl
mov byte [eax + 2], 0
add ecx, 4
add eax, 4
dec edi
jne 0x444ca6
push esi
call dword [0x5e51f8]
push eax
lea ecx, [ebx + 0x80]
call fcn.004c4a34
push esi
mov edi, eax
call fcn.004b9c03
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x444cef
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.004c4ac5
lea ecx, [esp + 0x14]
mov dword [esp + 0x450], 0xffffffff
call fcn.004c47e1
jmp 0x444d46
mov ecx, dword [ebx + 0x20]
push ecx
call dword [fcn.005e59b0]
push eax
call fcn.004c474c
mov esi, eax
mov edx, dword [esi + 4]
push edx
call dword [0x5e51f4]
push eax
lea ecx, [ebx + 0x80]
call fcn.004c4a34
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x20]
push eax
push ecx
call dword [fcn.005e59c8]
mov eax, edi
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.005ae4db
mov esp, ebp
pop ebp
ret 4
Function at 0x447320
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd7f3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x714bc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004c4264
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi], 0x6e482c
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], 0x66c698
mov byte [ebp - 4], 1
lea edi, [esi + 0x20]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
mov dword [esi + 0x30], eax
cmp eax, ecx
je 0x44740b
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [fcn.005e519c]
push eax
mov ecx, esi
call fcn.004c4760
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [fcn.005e5198]
push eax
lea ecx, [esi + 0x10]
call fcn.004c4a34
lea eax, [esi + 0x10]
test eax, eax
je 0x4473d7
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.004c4ac5
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.004c43e6
mov edx, dword [ebx + 8]
push edx
call dword [0x5e51dc]
push eax
push edi
mov ecx, esi
call fcn.004c75b2
jmp 0x44741d
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4531f0
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x454460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x714bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x5e6084]
mov eax, dword [0x5e607c]
push ebx
mov dword [ebp - 0xc], edx
mov edx, dword [0x5e606c]
push esi
mov dword [ebp - 0x14], eax
mov al, byte [0x5e6088]
push edi
mov edi, ecx
mov ecx, dword [0x5e6080]
mov dword [ebp - 0x30], edx
movzx edx, word [0x5e6078]
mov dword [ebp - 0x10], ecx
mov ecx, dword [0x5e6068]
mov byte [ebp - 8], al
mov eax, dword [0x5e6070]
mov dword [ebp - 0x34], ecx
mov ecx, dword [0x5e6074]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x5e605c]
mov word [ebp - 0x24], dx
movzx edx, word [0x5e6064]
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x5e6060]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
mov word [ebp - 0x18], dx
mov dword [ebp - 0x1c], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4544e7
sub eax, edx
mov edx, eax
lea ecx, [ebp - 0x14]
lea esi, [ebp + edx - 0x14]
mov eax, ecx
cmp eax, esi
jae 0x454512
nop
mov al, cl
lea ebx, [ebp - 0x14]
sub al, bl
imul dl
add al, 0x29
xor byte [ecx], al
inc ecx
cmp ecx, esi
jb 0x454500
lea eax, [ebp - 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454518
sub eax, edx
mov edx, eax
lea ecx, [ebp - 0x34]
lea esi, [ebp + edx - 0x34]
mov eax, ecx
cmp eax, esi
jae 0x454542
mov al, cl
lea ebx, [ebp - 0x34]
sub al, bl
imul dl
add al, 0x29
xor byte [ecx], al
inc ecx
cmp ecx, esi
jb 0x454530
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [0x5e53d8]
push eax
call dword [fcn.005e54c8]
mov dword [edi + 4], eax
lea eax, [ebp - 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454560
sub eax, edx
push eax
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.005b1e40
lea eax, [ebp - 0x34]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454580
sub eax, edx
push eax
lea ecx, [ebp - 0x34]
push 0
push ecx
call fcn.005b1e40
lea eax, [ebp - 0x20]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4545a0
sub eax, edx
mov edx, eax
lea ecx, [ebp - 0x20]
lea esi, [ebp + edx - 0x20]
mov eax, ecx
cmp eax, esi
jae 0x4545ca
mov al, cl
lea ebx, [ebp - 0x20]
sub al, bl
imul dl
add al, 0x29
xor byte [ecx], al
inc ecx
cmp ecx, esi
jb 0x4545b8
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x20]
push ecx
call dword [0x5e53dc]
mov ecx, dword [ebp - 4]
xor edx, edx
cmp eax, 0xffffffff
setne dl
xor ecx, ebp
mov dword [edi + 8], edx
pop edi
pop esi
pop ebx
call fcn.005ae4db
mov esp, ebp
pop ebp
ret
Function at 0x455110
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x714bc0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [fcn.005e553c]
push eax
call dword [fcn.005e506c]
test eax, eax
je 0x455156
lea ecx, [ebp - 0x20]
push ecx
push 0x5e60fc
push 0
call dword [fcn.005e5064]
test eax, eax
jne 0x455166
mov edx, dword [ebp - 0x18]
push edx
call dword [fcn.005e5504]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ae4db
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [fcn.005e5068]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [fcn.005e5504]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.005ae4db
mov esp, ebp
pop ebp
ret
Function at 0x4699d0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x5e544c]
push edi
push 1
call esi
push eax
call dword [fcn.005e5440]
mov ecx, dword [0x717a98]
push 0xce
mov dword [ebp - 8], eax
call fcn.00454950
shrd eax, edx, 8
and eax, 0xff
shr edx, 8
mov dword [ebp - 0xc], eax
call esi
push eax
call dword [fcn.005e5390]
push 2
mov dword [ebp - 4], eax
call esi
push eax
call dword [fcn.005e5394]
push 1
call dword [fcn.005e5a6c]
mov ebx, dword [0x5e5a68]
rdtsc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call ebx
lea edi, [eax + 0x32]
mov edi, edi
call ebx
cmp eax, edi
jbe 0x469a40
rdtsc
push 1
mov edi, eax
mov ebx, edx
call dword [fcn.005e5a64]
mov eax, dword [ebp - 4]
push eax
call esi
push eax
call dword [fcn.005e5394]
mov ecx, dword [ebp - 8]
push ecx
call esi
push eax
call dword [fcn.005e5440]
sub edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
sbb ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
mov eax, ebx
and ebx, 0x7fffffff
mov dword [ebp - 0x10], ebx
fild qword [ebp - 0x14]
and eax, 0x80000000
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x14]
fchs
faddp st(1)
fld qword [0x6e7138]
fdiv st(1), st(0)
fdivp st(1)
fmul qword [0x5e7898]
fild dword [ebp - 0xc]
test edx, edx
jns 0x469abb
fadd qword [0x6e7150]
pop edi
fdivp st(1)
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480730
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cea98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x714bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
call fcn.004ba35d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48077a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi + 0x10]
push ecx
lea edx, [ebp - 0x2c]
push 0x62bb50
push edx
mov dword [ebp - 4], 0
call fcn.00405f80
mov ebx, dword [ebp - 0x2c]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
push ebx
call dword [fcn.005e5528]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4807e7
add ebx, 0xfffffff0
mov dword [ebp - 4], eax
lea eax, [ebx + 0xc]
or ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4807e0
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
xor eax, eax
jmp 0x4808cf
xor eax, eax
push eax
lea ecx, [ebp - 0x20]
push ecx
push 8
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push esi
call dword [fcn.005e53cc]
test eax, eax
jne 0x480850
push esi
call dword [fcn.005e5504]
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48084c
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
xor eax, eax
jmp 0x4808cf
mov eax, dword [ebp - 0x24]
push eax
call fcn.005aed6b
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push eax
mov dword [edi], eax
call fcn.005b1e40
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi]
add esp, 0x10
push 0
lea edx, [ebp - 0x20]
push edx
push eax
push ecx
push 0xc
lea edx, [ebp - 0x1c]
push edx
push 0x2d1400
push esi
call dword [fcn.005e53cc]
test eax, eax
jne 0x4808a7
push esi
call dword [fcn.005e5504]
mov eax, dword [edi]
push eax
call fcn.005aed31
add esp, 4
mov dword [edi], 0
jmp 0x480829
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4808ca
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ae4db
mov esp, ebp
pop ebp
ret 4
Function at 0x4b3230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x714bc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jne 0x4b325f
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ae4db
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0x34353637
mov dword [ebp - 0x14], 0x30313233
mov dword [ebp - 0x10], 0x2c2d2e2f
mov dword [ebp - 0xc], 0x28292a2b
mov word [ebp - 8], 0x8a0
mov byte [ebp - 6], bl
cmp al, bl
je 0x4b32b2
push eax
mov byte [esi + 0xd], al
call fcn.004b3120
mov ecx, esi
mov byte [esi + 0xc], al
call fcn.004b30b0
pop esi
mov ebx, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ae4db
mov esp, ebp
pop ebp
ret 4
push edi
mov eax, 0x37
lea edi, [ebp - 0x18]
jmp 0x4b32c0
push eax
mov ecx, esi
mov byte [esi + 0xd], al
call fcn.004b3120
mov ecx, esi
mov byte [esi + 0xc], al
call fcn.004b30b0
test eax, eax
jne 0x4b32e3
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4b32c0
jmp 0x4b32e8
mov ebx, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005ae4db
mov esp, ebp
pop ebp
ret 4

Function at 0x4b3890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x714bc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jne 0x4b38bf
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ae4db
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0x34353637
mov dword [ebp - 0x14], 0x30313233
mov dword [ebp - 0x10], 0x2c2d2e2f
mov dword [ebp - 0xc], 0x28292a2b
mov word [ebp - 8], 0xa0
cmp al, bl
je 0x4b390d
push eax
mov byte [esi + 0xd], al
call fcn.004b3780
mov byte [esi + 0xc], al
call fcn.004b3710
pop esi
mov ebx, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ae4db
mov esp, ebp
pop ebp
ret 4
push edi
mov eax, 0x37
lea edi, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [esi + 0xd], al
call fcn.004b3780
mov byte [esi + 0xc], al
call fcn.004b3710
test eax, eax
jne 0x4b3937
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4b3916
jmp 0x4b393c
mov ebx, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005ae4db
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004c10a4
call fcn.00444970
cmp eax, esi
pop esi
jne 0x58d3a1
mov ecx, 0x75a300
jmp fcn.004d4fc7
ret