joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437670
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x437684
mov dword [esp + 0x18], 0x462af0
jmp fcn.004635b0
mov dword [esp + 0x18], 0x463070
jmp fcn.00463750

Function at 0x44c210
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.004fc970
mov eax, dword [0x588eb0]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x9c]
push ebx
mov ebx, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
push edi
mov edi, dword [esp + 0x9c]
je 0x44c285
cmp ebx, dword [esi]
je 0x44c27c
test edi, edi
je 0x44c262
cmp dword [esp + 0xa0], eax
jge 0x44c27c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004fbc95
add esp, 0x88
ret
mov eax, 1
mov dword [esi], ebx
jmp 0x44c28b
mov ebx, dword [esi]
test ebx, ebx
je 0x44c262
test edi, edi
push ebp
je 0x44c35d
push ebx
call fcn.00444ff0
mov ebp, eax
add esp, 4
cmp ebp, 0x80
jle 0x44c2bb
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.0042bff0
add esp, 0xc
mov eax, dword [esp + 0xa4]
cmp ebp, eax
jge 0x44c315
mov ecx, dword [esp + 0x10]
push ecx
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.00441fb0
add esp, 0xc
test eax, eax
je 0x44c418
mov edx, dword [esp + 0xa4]
push edx
push edi
push ebp
call fcn.00442160
add esp, 0xc
test eax, eax
je 0x44c418
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.00442170
add esp, 0xc
test eax, eax
je 0x44c418
jmp 0x44c33a
cmp eax, 0x80
ja 0x44c418
push eax
lea ecx, [esi + 0x50]
push edi
push ecx
call fcn.004fe150
mov edx, dword [esp + 0xb0]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], edx
mov edi, dword [edi]
cmp edi, 0x80
je 0x44c365
mov eax, 0x80
sub eax, edi
push eax
lea ecx, [edi + esi + 0x50]
push 0
push ecx
call fcn.004ffc00
add esp, 0xc
jmp 0x44c365
test eax, eax
je 0x44c404
xor eax, eax
jmp 0x44c370
mov dl, byte [esi + eax + 0x50]
xor dl, 0x36
mov byte [esp + eax + 0x14], dl
add eax, 1
cmp eax, 0x80
jl 0x44c370
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x1c]
push ebx
push ebp
call fcn.00441fb0
add esp, 0xc
test eax, eax
je 0x44c418
push ebx
call fcn.00444ff0
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.00442160
add esp, 0x10
test eax, eax
je 0x44c418
xor eax, eax
jmp 0x44c3c0
mov dl, byte [esi + eax + 0x50]
xor dl, 0x5c
mov byte [esp + eax + 0x14], dl
add eax, 1
cmp eax, 0x80
jl 0x44c3c0
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x34]
push ebx
push ebp
call fcn.00441fb0
add esp, 0xc
test eax, eax
je 0x44c418
push ebx
call fcn.00444ff0
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.00442160
add esp, 0x10
test eax, eax
je 0x44c418
lea edx, [esi + 0x1c]
push edx
add esi, 4
push esi
call fcn.00442300
add esp, 8
test eax, eax
jne 0x44c41c
xor eax, eax
jmp 0x44c421
mov eax, 1
mov ecx, dword [esp + 0x94]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004fbc95
add esp, 0x88
ret
Function at 0x471e70
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x471f60
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
jl 0x471ef2
movzx eax, byte [esi + 2]
xor edx, edx
mov dh, byte [esi]
add ecx, 1
add ecx, 1
add ecx, 1
mov dl, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 3], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 2], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], al
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x471f4b
movzx edx, byte [esi]
shl edx, 0x10
cmp edi, 2
jne 0x471f04
xor eax, eax
mov ah, byte [esi + 1]
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
add ecx, 1
cmp edi, 1
jne 0x471f36
lea edx, [edi + 0x3c]
jmp 0x471f43
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
add ecx, 1
mov byte [ecx], 0x3d
sub edi, 3
add ecx, 1
add ebp, 4
add esi, 3
test edi, edi
jg 0x471e90
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x494220
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x494239
mov esi, ebx
mov ebx, eax
jmp 0x49423b
mov esi, eax
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x10]
cmp eax, dword [edi + 8]
jg 0x49424b
mov eax, edi
jmp 0x494255
push eax
push edi
call fcn.0042d620
add esp, 8
test eax, eax
jne 0x49425d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x49427b
mov edx, dword [esi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [edi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [ebx + 4]
jl 0x494264
cmp eax, dword [esi + 4]
jge 0x494292
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [edi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [esi + 4]
jl 0x494280
mov eax, dword [esi + 4]
test eax, eax
mov dword [edi + 4], eax
jle 0x4942b5
mov ecx, dword [edi]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4942b2
sub eax, 1
test eax, eax
jg 0x4942a2
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
jne 0x4942c2
mov dword [edi + 0xc], 0
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x4a5390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52350f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x588eb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x4a5499
cmp ecx, eax
jne 0x4a5499
push 0xc
call fcn.004fbcb4
mov ecx, dword [ebp + 8]
mov esi, eax
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x10
mov dword [esi], ecx
call fcn.004fbcb4
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 4]
push eax
mov dword [ebp + 0xc], eax
mov dword [edi], 0
mov dword [edi + 4], eax
mov dword [edi + 8], eax
call fcn.004fc235
add esp, 4
mov dword [edi + 0xc], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.004fe150
add esp, 0xc
mov dword [esi + 4], edi
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
lea eax, [ebp - 0x18]
push eax
push 0
push esi
push 0x4a54c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
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
push dword [ebx + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.004a5540
add esp, 4
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 0x4a6860
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push esi
mov esi, dword [ebp + 0x10]
push edi
push esi
push eax
mov edi, ecx
mov dword [ebp - 4], 0xffffffff
push dword [edi + 0x54]
mov edx, dword [edi]
push 2
lea eax, [edx + 0x10]
push eax
lea eax, [edx + 8]
push eax
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004a75f0
test al, al
je 0x4a68e2
mov ecx, dword [ebx]
mov edx, 3
mov eax, 2
lock cmpxchg dword [ecx], edx
cmp eax, 2
jne 0x4a68e2
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [ebp + 8]
inc esi
mov eax, dword [eax]
cmp eax, esi
mov edx, dword [edi]
mov eax, dword [ebp + 8]
cmove esi, ecx
add edx, 8
lock cmpxchg dword [edx], esi
cmp eax, dword [ebp + 8]
je 0x4a69a7
mov eax, dword [ebx]
mov esi, dword [ebp + 0x10]
mov dword [eax], 2
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi]
lea eax, [ebp - 0xc]
push esi
push eax
push dword [edi + 0x54]
lea eax, [ecx + 0x10]
push 2
push eax
lea eax, [ecx + 8]
mov ecx, edi
push eax
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004a75f0
test al, al
je 0x4a6959
mov ecx, dword [ebx]
mov edx, 3
mov eax, 2
lock cmpxchg dword [ecx], edx
cmp eax, 2
jne 0x4a6959
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [ebp + 8]
inc esi
mov eax, dword [eax]
cmp eax, esi
mov edx, dword [edi]
mov eax, dword [ebp + 8]
cmove esi, ecx
add edx, 8
lock cmpxchg dword [edx], esi
cmp eax, dword [ebp + 8]
je 0x4a69a7
mov eax, dword [ebx]
mov esi, dword [ebp + 0x10]
mov dword [eax], 2
cmp byte [edi + 0x68], 0
jne 0x4a699c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
cmp eax, ecx
jb 0x4a6974
cmp ecx, 0xffffffff
jne 0x4a699c
push 0
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4a699c
test esi, esi
je 0x4a68f1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4a68f1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a7150
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5236c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x588eb0]
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, ecx
lea ecx, [ebp - 0x38]
call fcn.004ab8f0
lea eax, [edi + 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.004a4e50
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 4
push str._mem
cmp eax, 4
jb 0x4a71d3
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 4]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.004ff680
add esp, 0xc
mov byte [esi + 4], 0
jmp 0x4a71e4
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push 4
call fcn.004a4980
cmp byte [ebp + 8], 0
je 0x4a720c
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x30
push 0
push 4
push dword [ebp - 0x30]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [edi + 0x4c], eax
jmp 0x4a725c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, eax
nop word [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [edi + 0x4c], eax
test eax, eax
je 0x4a7245
cmp eax, 0xffffffff
jne 0x4a725c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, ebx
cmp eax, dword [ebp + 0xc]
jae 0x4a725c
cmp byte [edi + 0x68], 0
je 0x4a7220
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4a7284
cmp eax, 0xffffffff
je 0x4a7284
push 0x30
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi], eax
test eax, eax
je 0x4a7284
mov bl, 1
jmp 0x4a7286
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4a72b6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a72ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a730d
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test eax, eax
je 0x4a72d6
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x14
push dword [ebp - 0x34]
call fcn.004fbca6
push 0xc
push dword [ebp - 0x30]
call fcn.004fbca6
add esp, 0x10
mov al, bl
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.004fbc95
mov esp, ebp
pop ebp
ret 8
call fcn.00501cb1
int3
Function at 0x4a7320
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5236c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x588eb0]
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, ecx
lea ecx, [ebp - 0x38]
call fcn.004ab8f0
lea eax, [edi + 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.004a4e50
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 4
push str._sig
cmp eax, 4
jb 0x4a73a3
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 4]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.004ff680
add esp, 0xc
mov byte [esi + 4], 0
jmp 0x4a73b4
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push 4
call fcn.004a4980
cmp byte [ebp + 8], 0
je 0x4a73dc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 4
push 0
push 4
push dword [ebp - 0x30]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [edi + 0x50], eax
jmp 0x4a742c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, eax
nop word [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [edi + 0x50], eax
test eax, eax
je 0x4a7415
cmp eax, 0xffffffff
jne 0x4a742c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, ebx
cmp eax, dword [ebp + 0xc]
jae 0x4a742c
cmp byte [edi + 0x68], 0
je 0x4a73f0
mov eax, dword [edi + 0x50]
test eax, eax
je 0x4a743c
cmp eax, 0xffffffff
je 0x4a743c
mov bl, 1
jmp 0x4a743e
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4a746e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a7464
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a74c5
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test eax, eax
je 0x4a748e
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x14
push dword [ebp - 0x34]
call fcn.004fbca6
push 0xc
push dword [ebp - 0x30]
call fcn.004fbca6
add esp, 0x10
mov al, bl
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.004fbc95
mov esp, ebp
pop ebp
ret 8
call fcn.00501cb1
int3
Function at 0x4a75f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x28]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
push ebx
push edx
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
push eax
mov dword [ebp - 0x20], edx
mov dword [edi], eax
call fcn.004a74d0
test al, al
je 0x4a7733
mov eax, dword [ebx]
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp dword [eax], edx
je 0x4a7719
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
cmp dword [edi], eax
jne 0x4a766a
mov eax, dword [ebp - 0x14]
inc esi
cmp esi, dword [eax + 0x64]
ja 0x4a76a8
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
jmp 0x4a7685
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
mov dword [edi], eax
push eax
call fcn.004a74d0
test al, al
je 0x4a7733
xor esi, esi
mov eax, dword [ebx]
mov edx, dword [ebp + 0x1c]
cmp dword [eax], edx
jne 0x4a7650
mov eax, dword [ebx]
cmp dword [eax], edx
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp - 0x1c]
lock inc dword [eax]
mov eax, dword [ebx]
cmp dword [eax], edx
je 0x4a7713
mov eax, dword [ecx]
cmp dword [edi], eax
jne 0x4a7713
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x5c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
push dword [eax]
lea eax, [ebp - 0x10]
push 0
push eax
xor eax, eax
test ecx, ecx
setne al
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call esi
sub eax, edi
mov edi, dword [ebp - 0x18]
mov esi, dword [edi]
cmp esi, 0xffffffff
je 0x4a7710
mov edx, esi
xor ecx, ecx
sub edx, eax
cmp esi, eax
cmovae ecx, edx
mov dword [edi], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x1c]
lock dec dword [eax]
mov eax, dword [ebx]
cmp dword [eax], edx
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret 0x24
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fbc95
mov esp, ebp
pop ebp
ret 0x24
Function at 0x4aa060
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.004a9f60
mov edi, dword [ebp + 8]
push 0
push 0
push edi
call fcn.0050ac0d
push edi
call fcn.0050ac6f
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4aa0f6
push edi
call fcn.0050ad9c
add esp, 4
test eax, eax
je 0x4aa0f6
mov dword [esi + 0x34], 5
test dword [esi + 0x3c], 0x200
je 0x4aa0af
push dword [esi + 0x40]
call fcn.004fc23e
add esp, 4
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
test dword [esi + 0x48], 0x200
je 0x4aa0d8
push dword [esi + 0x4c]
call fcn.004fc23e
add esp, 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.0050ac0d
push edi
call fcn.0050b31e
push 0
push 0
push edi
mov ebx, eax
call fcn.0050ac0d
add esp, 0x1c
cmp ebx, 0xffffffff
jne 0x4aa17e
mov dword [esi + 0x34], 5
test dword [esi + 0x3c], 0x200
je 0x4aa136
push dword [esi + 0x40]
call fcn.004fc23e
add esp, 4
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
test dword [esi + 0x48], 0x200
je 0x4aa15f
push dword [esi + 0x4c]
call fcn.004fc23e
add esp, 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
pop ebx
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebp
ret 4
cmp ebx, 0xffffffff
jae 0x4aa11b
test ebx, ebx
jne 0x4aa190
mov dword [esi + 0x34], 0xf
jmp 0x4aa122
lea eax, [ebx + 1]
push eax
call fcn.004fc235
push edi
push ebx
push 1
push eax
mov dword [esi + 0x54], eax
call fcn.0050b4f5
add esp, 0x14
cmp eax, ebx
jne 0x4aa11b
mov eax, dword [esi + 0x54]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.004aa370
mov eax, dword [esi + 0x34]
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x4aba00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 0xf003f
xor esi, esi
mov dword [ebp - 4], 0
push esi
push str.SOFTWAREMadeForNetHTTPDebuggerPro
mov dword [edi], esi
push dword [0x58e0c8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4aba60
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 4
push eax
push edi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
test eax, eax
mov ecx, 1
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ad350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5239ab
mov eax, dword fs:[0]
push eax
mov eax, 0x8044
call fcn.004fc970
mov eax, dword [0x588eb0]
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 ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x24]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x28]
mov dword [ebp - 0x8048], ecx
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0x8050], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x804c], ecx
lea ecx, [ebp - 0x8040]
push eax
call fcn.004a2490
add esp, 4
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8028]
call fcn.004a2810
mov edx, dword [ebp - 0x8048]
cmp dword [edx + 0x14], 0x10
jb 0x4ad3dd
mov edx, dword [edx]
cmp dword [edi + 0x14], 0x10
jb 0x4ad3e5
mov edi, dword [edi]
cmp dword [ebx + 0x14], 0x10
jb 0x4ad3ed
mov ebx, dword [ebx]
mov esi, dword [ebp - 0x804c]
lea ecx, [ebp - 0x8028]
cmp dword [ebp - 0x8014], 0x10
lea eax, [ebp - 0x8040]
cmovae ecx, dword [ebp - 0x8028]
push dword [esi + 0x2c]
cmp dword [ebp - 0x802c], 0x10
push dword [esi + 0x28]
cmovae eax, dword [ebp - 0x8040]
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push edi
push ebx
push ecx
push eax
push str.Url:__s_r_nStatus:__s_r_nUser:__s_r_nApp:__s_r_nIpAddr:__s_r_nIs64Bit:__d_r_nIsClient:__d_r_nRawSize:__d_r_nUnzipSize:__d_r_nTimings:__I64d:_I64d:_I64d:_I64d:_I64d:_I64d
lea eax, [ebp - 0x8010]
push 0x8000
push eax
call fcn.004ab890
lea esi, [ebp - 0x8010]
add esp, 0x60
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4ad471
push 0x573308
push dword [ebp - 0x8050]
lea eax, [ebp - 0x8044]
sub esi, ecx
push eax
call fcn.0050a816
add esp, 0xc
test eax, eax
jne 0x4ad4c2
push dword [ebp - 0x8044]
lea eax, [ebp - 0x8010]
push 1
push esi
push eax
call fcn.0050be9b
push dword [ebp - 0x8044]
call fcn.0050a8d3
add esp, 0x14
mov esi, 1
jmp 0x4ad4c4
xor esi, esi
mov edx, dword [ebp - 0x8014]
cmp edx, 0x10
jb 0x4ad4fa
mov ecx, dword [ebp - 0x8028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ad4f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad56b
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov edx, dword [ebp - 0x802c]
mov dword [ebp - 0x8018], 0
mov dword [ebp - 0x8014], 0xf
mov byte [ebp - 0x8028], 0
cmp edx, 0x10
jb 0x4ad54b
mov ecx, dword [ebp - 0x8040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ad541
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad570
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov eax, esi
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.004fbc95
mov esp, ebp
pop ebp
ret 0x30
call fcn.00501cb1
call fcn.00501cb1
int3
Function at 0x4ae630
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4ae661
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4ae650
pop edi
mov eax, edx
pop esi
pop ebp
ret 8