joyce8/EMBER2024-capa huggingface dataset:
Function at 0x527670
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2c
mov edx, dword [ebp + 8]
fld dword [edx + 0x30]
push ebx
fld dword [ecx + 0x18]
fmul dword [edx + 8]
fld dword [ecx + 0x14]
fmul dword [edx + 4]
faddp st(1)
fld dword [edx]
fmul dword [ecx + 0x10]
faddp st(1)
fadd dword [ecx + 0x1c]
fsub st(1)
fstp dword [esp + 8]
fld dword [edx + 0x18]
fmul dword [ecx + 0x18]
fld dword [edx + 0x14]
fmul dword [ecx + 0x14]
faddp st(1)
fld dword [edx + 0x10]
fmul dword [ecx + 0x10]
faddp st(1)
fadd dword [ecx + 0x1c]
fsubrp st(1)
fcom dword [0x641de0]
fnstsw ax
test ah, 1
je 0x527845
fld dword [esp + 8]
fsub st(1)
fstp dword [esp + 0xc]
fstp st(0)
fld dword [esp + 0xc]
fcomp dword [edx + 0x34]
fnstsw ax
test ah, 5
jnp 0x527847
fld dword [esp + 8]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
jp 0x527701
fld dword [0x641de0]
jmp 0x527709
fld dword [esp + 8]
fdiv dword [esp + 0xc]
fld dword [0x6419bc]
fsub st(1)
fld st(1)
fmul dword [edx + 0x10]
fld st(1)
fmul dword [edx]
faddp st(1)
fld st(2)
fmul dword [edx + 0x14]
fld st(2)
fmul dword [edx + 4]
faddp st(1)
fstp dword [esp + 0x14]
fld st(2)
fmul dword [edx + 0x18]
fld st(2)
fmul dword [edx + 8]
faddp st(1)
fstp dword [esp + 0x18]
fxch st(1)
fmul dword [edx + 0xc]
fld st(2)
fmul dword [edx + 0x1c]
faddp st(1)
fstp dword [esp + 0x1c]
fsub dword [ecx + 0x20]
fld dword [esp + 0x14]
fsub dword [ecx + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fsub dword [ecx + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fsub dword [ecx + 0x2c]
fstp dword [esp + 0x1c]
fabs
fld dword [esp + 0x14]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fabs
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fabs
fstp dword [esp + 0x1c]
fcomp dword [ecx + 0x30]
fnstsw ax
test ah, 0x41
jp 0x52779e
mov bl, 1
jmp 0x5277a0
xor bl, bl
fld dword [esp + 0x14]
mov byte [esp + 6], 1
fcomp dword [ecx + 0x34]
fnstsw ax
test ah, 0x41
jnp 0x5277b8
mov byte [esp + 6], 0
fld dword [esp + 0x18]
fcomp dword [ecx + 0x38]
fnstsw ax
test ah, 0x41
jp 0x5277ca
mov dl, 1
jmp 0x5277cc
xor dl, dl
fld dword [esp + 0x1c]
mov byte [esp + 7], 1
fcomp dword [ecx + 0x3c]
fnstsw ax
test ah, 0x41
jnp 0x5277e4
mov byte [esp + 7], 0
xor eax, eax
mov al, byte [esp + 6]
shl edx, 1
neg ebx
shl ebx, 3
shl eax, 2
or edx, eax
mov eax, dword [esp + 7]
or edx, ebx
or edx, eax
and edx, 0xe
cmp dl, 0xe
jne 0x527845
mov eax, dword [ecx + 0x10]
fstp dword [esp + 0x24]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [ecx]
push eax
mov dword [esp + 0x28], 0xffffffff
call dword [edx]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fstp st(0)
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x52abc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov dx, word [esi]
mov word [eax + 0x38], dx
movzx edx, word [esi + 2]
and edx, 0xffffff00
shl edx, 0x14
push edi
mov dword [esp + 0x10], 0x3f800000
mov edi, dword [esp + 0x10]
or edi, edx
mov edx, edi
mov dword [eax + 0x30], edx
xor edx, edx
mov dl, byte [esi + 2]
fld dword [ecx + 0x30]
mov dword [esp + 0x10], edi
pop edi
pop esi
shr edx, 1
and edx, 0x78
add edx, 0x65cf70
fmul dword [edx]
fstp dword [eax + 0x10]
fld dword [ecx + 0x34]
fmul dword [edx + 4]
fstp dword [eax + 0x14]
fld dword [ecx + 0x38]
fmul dword [edx + 8]
fstp dword [eax + 0x18]
fld dword [ecx + 0x3c]
fmul dword [edx + 0xc]
fstp dword [eax + 0x1c]
fld dword [eax + 0x10]
fld dword [eax + 0x14]
fld dword [eax + 0x18]
fld st(0)
fmul dword [ecx + 0x90]
fld st(2)
fmul dword [ecx + 0x80]
faddp st(1)
fld st(3)
fmul dword [ecx + 0x70]
faddp st(1)
fadd dword [ecx + 0xa0]
fstp dword [eax]
fld st(0)
fmul dword [ecx + 0x94]
fld st(2)
fmul dword [ecx + 0x84]
faddp st(1)
fld st(3)
fmul dword [ecx + 0x74]
faddp st(1)
fadd dword [ecx + 0xa4]
fstp dword [eax + 4]
fmul dword [ecx + 0x98]
fxch st(1)
fmul dword [ecx + 0x88]
faddp st(1)
fxch st(1)
fmul dword [ecx + 0x78]
faddp st(1)
fadd dword [ecx + 0xa8]
fstp dword [eax + 8]
mov dword [eax + 0xc], 0
ret 8
Function at 0x533ea0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x6c
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
push esi
jae 0x533ed4
mov dword [ecx], 0x65d098
rdtsc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00532500
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.00533030
mov ecx, dword [0x96186c]
mov esi, eax
cmp ecx, dword [0x961870]
jae 0x533f2a
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x539cb0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
mov eax, dword [0x961870]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x96186c]
cmp ecx, eax
push edi
jae 0x539ce2
mov dword [ecx], 0x65d318
rdtsc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov eax, dword [esi + 0xcc]
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebp]
mov dword [esi + 0x150], ecx
mov edx, dword [ebp + 4]
mov dword [esi + 0x154], edx
mov edx, dword [eax]
lea ebx, [esi + 0x140]
mov ecx, ebx
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
fld dword [ebp]
fmul dword [esi + 0x180]
fstp dword [esi + 0x170]
mov ecx, dword [esi + 0x170]
fild dword [esi + 0x17c]
fmul dword [ebp + 4]
fstp dword [esi + 0x174]
mov dword [esi + 0x198], ecx
mov edx, dword [esi + 0x174]
mov dword [esi + 0x19c], edx
fild dword [esi + 0x17c]
fmul dword [esi + 0x170]
fstp dword [esi + 0x1a0]
fld dword [esi + 0x180]
fmul dword [esi + 0x174]
fstp dword [esi + 0x1a4]
mov eax, dword [esi + 0x24]
test eax, eax
mov byte [esi + 0x12c], 1
jle 0x539d8b
mov ecx, esi
call fcn.00539690
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
mov byte [esi + 0x12d], 1
jle 0x539e3d
nop
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + edi*4]
push ebx
push eax
call fcn.00540230
mov eax, dword [esi + 0xac]
test eax, eax
je 0x539e31
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x539de7
mov dword [ecx], str.TtIslandPostCollideCb
rdtsc
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
mov eax, dword [esi + 8]
mov byte [esi + 0x12d], 0
mov ecx, dword [eax + edi*4]
push ebp
push ecx
push esi
call fcn.005411d0
mov byte [esi + 0x12d], 1
mov ecx, dword [0x96186c]
mov eax, dword [0x961870]
add esp, 0xc
cmp ecx, eax
jae 0x539e31
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x539da0
mov eax, dword [esi + 0x24]
test eax, eax
mov byte [esi + 0x12d], 0
mov byte [esi + 0x12c], 0
jle 0x539e59
mov ecx, esi
call fcn.00539690
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x539e6a
mov ecx, esi
call fcn.00539c40
mov eax, dword [esi + 0x100]
test eax, eax
je 0x539e7b
mov ecx, esi
call fcn.00537180
mov eax, dword [esi + 0x24]
test eax, eax
jle 0x539e89
mov ecx, esi
call fcn.00539690
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x539eb3
mov dword [ecx], str.StPostCollideCB
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
push ebp
push esi
call fcn.005410b0
mov ecx, dword [0x96186c]
mov eax, dword [0x961870]
add esp, 8
cmp ecx, eax
pop edi
pop esi
pop ebp
pop ebx
jae 0x539eec
mov dword [ecx], 0x65b984
rdtsc
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
pop ecx
ret 4
Function at 0x53d730
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
mov eax, dword [0x961870]
push ebx
push esi
mov esi, dword [0x96186c]
cmp esi, eax
push edi
jae 0x53d767
mov dword [esi], str.TtPhantom::castRay
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
add esi, 0xc
mov dword [0x96186c], esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x40], eax
mov al, byte [esi + 0x20]
xor edx, edx
test al, al
mov dword [esp + 0x44], edx
je 0x53d794
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xd0]
cmp eax, edx
je 0x53d794
add eax, 0x10
mov dword [esp + 0x44], eax
jmp 0x53d798
mov dword [esp + 0x44], edx
mov eax, dword [ecx + 0x84]
dec eax
mov ebx, dword [ecx + 0x80]
mov edi, dword [ebp + 0xc]
js 0x53d89b
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x53d889
mov eax, dword [eax + 8]
fld dword [esi]
fsub dword [eax + 0x50]
add eax, 0x20
fld dword [esi + 4]
push edi
fsub dword [eax + 0x34]
fld dword [esi + 8]
fsub dword [eax + 0x38]
fld st(0)
fmul dword [eax + 8]
fld st(2)
fmul dword [eax + 4]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x24]
fld st(0)
fmul dword [eax + 0x18]
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fld st(3)
fmul dword [eax + 0x10]
faddp st(1)
fstp dword [esp + 0x28]
fmul dword [eax + 0x28]
fxch st(1)
fmul dword [eax + 0x24]
faddp st(1)
fxch st(1)
fmul dword [eax + 0x20]
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esi + 0x10]
fsub dword [eax + 0x30]
fld dword [esi + 0x14]
fsub dword [eax + 0x34]
fld dword [esi + 0x18]
fsub dword [eax + 0x38]
fld st(0)
fmul dword [eax + 8]
fld st(2)
fmul dword [eax + 4]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fstp dword [esp + 0x34]
fld st(0)
fmul dword [eax + 0x18]
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fld st(3)
fmul dword [eax + 0x10]
faddp st(1)
fstp dword [esp + 0x38]
fmul dword [eax + 0x28]
fxch st(1)
fmul dword [eax + 0x24]
faddp st(1)
fxch st(1)
fmul dword [eax + 0x20]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
faddp st(1)
push eax
fstp dword [esp + 0x44]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov al, byte [esp + 0x1c]
test al, al
je 0x53d889
mov ecx, dword [ebx]
mov dword [edi + 0x20], ecx
mov eax, dword [esp + 0x18]
add ebx, 4
dec eax
mov dword [esp + 0x18], eax
jne 0x53d7b3
mov eax, dword [edi + 0x20]
test eax, eax
je 0x53d8b1
mov edx, dword [eax + 8]
push edi
add edx, 0x20
push edx
mov ecx, edi
call fcn.0054ce90
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x53d8db
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x53f3e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x4c]
mov eax, dword [edi + 0x50]
mov ecx, esi
lea ebx, [ecx + eax*4]
cmp esi, ebx
je 0x53f40f
mov ebp, dword [esp + 0x18]
add ebp, 0x10
lea ecx, [ecx]
mov ecx, dword [esi]
mov edx, dword [ecx]
push ebp
call dword [edx + 0x14]
add esi, 4
cmp esi, ebx
jne 0x53f400
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x53f4a9
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x53f444
mov dword [ecx], str.TtIntegrate
rdtsc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov ebx, dword [edi + 0x40]
dec ebx
js 0x53f47d
mov ebp, dword [esp + 0x18]
add ebp, 0x10
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx + ebx*4]
mov ecx, dword [edi + 0x20]
mov esi, dword [edx + 0x3c]
mov eax, dword [esi]
add ecx, 0xe0
push ecx
push ebp
mov ecx, esi
call dword [eax + 8]
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 4]
dec ebx
jns 0x53f451
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x53f4d9
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx + 4], eax
add ecx, 0xc
pop ebp
mov dword [0x96186c], ecx
pop ebx
pop ecx
ret 4
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x40]
push eax
mov eax, dword [edi + 0x3c]
push ecx
mov ecx, dword [edi + 0x20]
push edx
push eax
mov eax, dword [esp + 0x28]
push edi
add ecx, 0xe0
push ecx
lea edx, [eax + 0x50]
push edx
lea ecx, [eax + 0x20]
push ecx
add eax, 0x10
push eax
call fcn.0054bc10
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x5400d0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
mov eax, dword [0x961870]
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x96186c]
cmp ecx, eax
push edi
jae 0x540109
mov dword [ecx], str.TtNarrowPhase
rdtsc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
push 0x40
lea ecx, [esp + 0x30]
call fcn.0053f9f0
mov eax, dword [esi + 0x6c]
dec eax
mov ebx, dword [esi + 0x68]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ecx
js 0x54018f
inc eax
mov dword [esp + 0x28], eax
lea ebx, [ebx]
mov eax, dword [ebx + 8]
test eax, eax
je 0x540181
mov edx, dword [esp + 0x10]
mov dword [edx + 4], 0
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ebp + 8]
push edx
sub edi, 0x10
push edi
sub esi, 0x10
push esi
call dword [eax + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x540181
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
push edi
push esi
call dword [edx + 0xc]
mov eax, dword [esp + 0x28]
add ebx, 0x10
dec eax
mov dword [esp + 0x28], eax
jne 0x540130
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x9617f0]
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0xf
and eax, 0xfffffff0
je 0x5401bf
mov edx, dword [ecx + 0x14]
mov esi, dword [esp + 0x38]
cmp esi, edx
je 0x5401b6
test edx, edx
jne 0x5401bf
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 0x28]
jmp 0x5401cf
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub esi, eax
add edx, eax
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x34]
test eax, eax
js 0x5401f5
mov ecx, dword [0x9617f0]
mov edx, dword [ecx]
and eax, 0x7fffffff
lea eax, [eax + eax*2]
push 0x12
shl eax, 4
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [edx + 0x14]
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x54021f
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5880a3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x665ca4
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x5880fa
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x5880fa
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x5880fa
xor eax, eax
inc eax
jmp 0x5880fc
xor eax, eax
leave
ret 0x10

Function at 0x5882ce
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x98
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0x78], esi
push edi
mov edi, ecx
jne 0x5882ef
mov eax, 0x8876086c
jmp 0x5883e2
cmp dword [ebp + 0x7c], esi
je 0x588371
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x18], 2
je 0x588351
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push 0xfde9
call ebx
mov dword [ebp + 0x6c], eax
add eax, 3
and eax, 0xfffffffc
call fcn.006021b0
mov dword [ebp + 0x7c], esp
push esi
push esi
push dword [ebp + 0x6c]
push dword [ebp + 0x7c]
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push 0xfde9
call ebx
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], esi
cmp dword [ebp + 0x7c], esi
je 0x588371
push esi
push 0x10000000
push 3
push esi
push 1
push connect
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x58838a
push esi
push 0x10000000
push 3
push esi
push 1
push connect
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x5883d0
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x5883d0
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
je 0x5883d0
cmp eax, esi
je 0x5883dd
push esi
push esi
push esi
push 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
jne 0x5883e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x5883e2
mov dword [edi + 8], esi
xor eax, eax
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
Function at 0x5bedc0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x114
push ebx
push ebp
mov ebp, dword [esp + 0x128]
push esi
push ebp
call fcn.005be020
add esp, 4
test eax, eax
je 0x5bede9
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
mov eax, dword [0x9671d8]
push 0x401be
push 0x60
call dword [eax + 0x108]
mov esi, eax
add esp, 8
test esi, esi
je 0x5bef24
push edi
mov edi, dword [esp + 0x128]
mov dword [esi + 0x14], 0x5be840
mov dword [esi + 0x18], 0x5bef30
mov dword [esi + 0x28], 0x5be860
mov dword [esi + 0x2c], 0x5be9b0
mov dword [esi + 0x30], 0x5be9d0
mov dword [esi + 0x34], 0x5beb50
mov dword [esi + 0x38], 0x5bec80
mov dword [esi + 0x3c], fcn.005becc0
mov dword [esi + 0x40], 0x5bedb0
mov dword [esi + 0x44], 0x5be780
mov dword [esi + 0x48], 0x5bef50
mov dword [esi + 0x4c], 0x5bef70
mov ecx, dword [0x9671d8]
push 0x401be
push 0x60
push edi
call dword [ecx + 0x114]
add esp, 0xc
mov dword [esi + 0x5c], eax
test edi, edi
jle 0x5bee8f
add eax, 0x38
mov ecx, edi
mov dword [eax], esi
add eax, 0x60
dec ecx
jne 0x5bee87
mov ebx, dword [esp + 0x12c]
push ebx
push ebp
push edi
push esi
call fcn.005be5b0
add esp, 0x10
cmp eax, 1
mov eax, dword [0x9671d8]
pop edi
je 0x5beed3
mov edx, dword [esi + 0x5c]
push edx
call dword [eax + 0x10c]
mov ecx, dword [0x9671d8]
push esi
call dword [ecx + 0x10c]
add esp, 8
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
lea edx, [esp + 0x1c]
push ebx
push edx
call dword [eax + 0xcc]
mov edx, dword [0x9671d8]
lea ecx, [esp + 0x24]
push 0x6b18c4
push ecx
call dword [edx + 0xd4]
add esp, 0x10
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push eax
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov ecx, dword [esp + 0xc]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x58], eax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret

Function at 0x5ce060
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0xffffffffffffffff
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ax, word [esi + 6]
cmp ax, word [esi + 8]
jne 0x5ce094
cmp word [esi + 0xa], 0
je 0x5ce094
mov ecx, dword [esi + 0xc]
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor eax, eax
pop esi
ret
and eax, 0xffff
mov ecx, dword [esp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
mov dword [eax], ecx
xor eax, eax
xor edx, edx
mov ax, word [esi + 6]
mov dx, word [esi + 4]
inc eax
cmp eax, edx
jne 0x5ce0d6
xor eax, eax
xor ecx, ecx
mov cx, word [esi + 8]
cmp eax, ecx
jne 0x5ce0e6
mov word [esi + 0xa], 1
mov edx, dword [esi + 0xc]
push 0
push 1
push edx
mov word [esi + 6], ax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov eax, 1
pop esi
ret
Function at 0x5df74d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0xa4
call dword [0x6b4928]
mov ebx, eax
test ebx, ebx
pop ecx
je 0x5df7ea
mov eax, dword [ebp + 8]
and dword [ebx + 0x80], 0
or dword [ebx + 0x84], 0xffffffff
and dword [ebx + 0xa0], 0
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5df784
sub eax, esi
cmp eax, 0x7f
jle 0x5df795
push 0x7f
pop eax
mov esi, dword [ebp + 8]
lea ecx, [eax + 1]
mov eax, ecx
push edi
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx + 0x88]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x5df310
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [ebx + 0xa0], eax
pop edi
jne 0x5df7e7
push 1
mov ecx, ebx
call fcn.005dfb62
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x5e1880
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x5e18a0
push 0xd1
push str..md5.c
push str.md___NULL
call fcn.005e9ed0
add esp, 0xc
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
ret