joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4412f6
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor esi, esi
cmp word [eax], si
push edi
mov dword [ebp - 0xc], esi
je 0x4413f2
push esi
push esi
push 3
push esi
push esi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44132d
xor eax, eax
jmp 0x44141e
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
push eax
push 1
push edi
call dword [0x46770c]
lea eax, [ebp - 0xc]
push eax
push 0x467904
push esi
push esi
push dword [ebp - 0x10]
call dword [0x4673c4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x441326
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x30]
push eax
push 0x18
push dword [ebp - 8]
call dword [0x467098]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], esi
mov eax, dword [ebp + 0x10]
jne 0x4413d1
cmp dword [eax], esi
jne 0x4413d1
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
push 0x2000
push dword [eax]
push dword [ecx]
push esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4413f5
mov dword [ebp - 8], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x48]
cmp eax, esi
je 0x441406
push eax
call dword [0x46710c]
mov eax, dword [ebp - 8]
push eax
push esi
mov dword [edi + 0x48], eax
mov edi, dword [edi]
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x452cc4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x452d01
cmp dword [ebp + 0x14], edi
je 0x452d01
cmp ecx, edi
jne 0x452d08
call fcn.00455f7c
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00455f1d
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x452d1c
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x452d3d
cmp ebx, 0xffffffff
je 0x452d2c
push ebx
push edi
push ecx
call fcn.00451700
add esp, 0xc
cmp esi, edi
je 0x452ce9
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x452ce9
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x452d59
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x452d60
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x452e51
test word [esi + 0xc], 0x10c
je 0x452db4
mov eax, dword [esi + 4]
test eax, eax
je 0x452db4
jl 0x452eb2
cmp ebx, eax
mov edi, ebx
jb 0x452d85
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x452e59
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0045bf54
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x452e49
cmp ebx, dword [ebp - 0xc]
jb 0x452e21
cmp dword [ebp - 0xc], 0
je 0x452dde
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x452dd3
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x452dda
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x452de9
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x452de9
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x452e85
push eax
push dword [ebp - 8]
push esi
call fcn.00453763
pop ecx
push eax
call fcn.0045be57
add esp, 0xc
test eax, eax
je 0x452ec4
cmp eax, 0xffffffff
je 0x452eb2
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x452e49
push esi
call fcn.0045b776
cmp eax, 0xffffffff
pop ecx
je 0x452eb6
cmp dword [ebp - 4], 0
je 0x452e85
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x452d68
mov eax, dword [ebp + 0x14]
jmp 0x452d03
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x452e70
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00451700
add esp, 0xc
call fcn.00455f7c
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x452cf9
cmp dword [ebp + 0xc], 0xffffffff
je 0x452e9b
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00451700
add esp, 0xc
call fcn.00455f7c
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x452cf9
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x452d03
or dword [esi + 0xc], 0x10
jmp 0x452eb6
Function at 0x45628a
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x476c70]
je 0x4562a5
inc edi
cmp edi, 0x17
jb 0x456296
cmp edi, 0x17
jae 0x456425
push ebp
push 3
call fcn.00461715
cmp eax, 1
pop ecx
je 0x4563f1
push 3
call fcn.00461715
test eax, eax
pop ecx
jne 0x4562d9
cmp dword [0x476388], 1
je 0x4563f1
cmp ebx, 0xfc
je 0x456424
push 0x469730
mov ebx, 0x314
push ebx
mov ebp, 0x478be8
push ebp
call fcn.00461439
add esp, 0xc
test eax, eax
je 0x45630f
push esi
push esi
push esi
push esi
push esi
call fcn.00455e21
add esp, 0x14
push 0x104
mov esi, 0x478c01
push esi
push 0
mov byte [0x478d05], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x456353
push 0x469718
push 0x2fb
push esi
call fcn.00461439
add esp, 0xc
test eax, eax
je 0x456353
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00455e21
add esp, 0x14
push esi
call fcn.00451ee0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x456398
push esi
call fcn.00451ee0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x478efc
push 0x469714
sub ecx, eax
push ecx
push eax
call fcn.00461386
add esp, 0x14
test eax, eax
je 0x456398
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00455e21
add esp, 0x14
jmp 0x45639a
xor esi, esi
push 0x469710
push ebx
push ebp
call fcn.004612c5
add esp, 0xc
test eax, eax
je 0x4563ba
push esi
push esi
push esi
push esi
push esi
call fcn.00455e21
add esp, 0x14
push dword [edi*8 + 0x476c74]
push ebx
push ebp
call fcn.004612c5
add esp, 0xc
test eax, eax
je 0x4563dc
push esi
push esi
push esi
push esi
push esi
call fcn.00455e21
add esp, 0x14
push 0x12010
push 0x4696e8
push ebp
call fcn.00461558
add esp, 0xc
jmp 0x456424
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x456424
cmp ebp, 0xffffffff
je 0x456424
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x476c74]
push dword [esi]
call fcn.00451ee0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x461037
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x476dec]
jne 0x461041
repz ret
jmp fcn.00464809

Function at 0x461558
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00455898
xor ebx, ebx
cmp dword [0x479228], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x46162e
push 0x46b4d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x46170e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46b4c4
push edi
call esi
cmp eax, ebx
je 0x46170e
push eax
call fcn.0045582a
mov dword [esp], 0x46b4b4
push edi
mov dword [0x479228], eax
call esi
push eax
call fcn.0045582a
mov dword [esp], 0x46b4a0
push edi
mov dword [0x47922c], eax
call esi
push eax
call fcn.0045582a
mov dword [0x479230], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044fa96
test eax, eax
pop ecx
pop ecx
je 0x4615fc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455e21
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x46162e
push 0x46b484
push edi
call esi
push eax
call fcn.0045582a
cmp eax, ebx
pop ecx
mov dword [0x479238], eax
je 0x46162e
push 0x46c178
push edi
call esi
push eax
call fcn.0045582a
pop ecx
mov dword [0x479234], eax
mov eax, dword [0x479234]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4616b3
cmp dword [0x479238], ecx
je 0x4616b3
push eax
call fcn.004558a1
push dword [0x479238]
mov esi, eax
call fcn.004558a1
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4616b3
cmp edi, ebx
je 0x4616b3
call esi
cmp eax, ebx
je 0x461680
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x461680
test byte [ebp - 0x18], 1
jne 0x4616b3
lea eax, [ebp - 0x10]
push eax
call fcn.0044facd
test eax, eax
pop ecx
je 0x46169b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455e21
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4616aa
or dword [ebp + 0x10], 0x200000
jmp 0x4616ee
or dword [ebp + 0x10], 0x40000
jmp 0x4616ee
mov eax, dword [0x47922c]
cmp eax, dword [ebp - 8]
je 0x4616ee
push eax
call fcn.004558a1
cmp eax, ebx
pop ecx
je 0x4616ee
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4616ee
mov eax, dword [0x479230]
cmp eax, dword [ebp - 8]
je 0x4616ee
push eax
call fcn.004558a1
cmp eax, ebx
pop ecx
je 0x4616ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x479228]
call fcn.004558a1
cmp eax, ebx
pop ecx
je 0x46170e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x461710
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x62b81ad3
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov eax, dword [0x62b9e050]
test eax, eax
je 0x62b81ae5
call eax
mov dword [esp], 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [esp + 8], 0xe
mov dword [esp + 0xc], eax
mov ebx, eax
mov dword [esp + 4], 1
mov dword [esp], str.out_of_memory_n
call sym._fwrite
mov dword [esp], ebx
call sym._fflush
mov dword [esp], 1
call sym._exit

Function at 0x62b8259d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, edx
and ebx, 0xfffff000
sub esp, 0xc
mov eax, dword [ebx + 4]
cmp eax, 0xfd0
jle 0x62b825d3
mov eax, dword [ebx + 8]
cmp eax, ecx
je 0x62b8264d
add esp, 0xc
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp sym._addToSharedFreeListBigChunks__system_u6634
cmp dword [ebx + 8], ecx
je 0x62b825e6
add esp, 0xc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp sym._addToSharedFreeList__system_u6677
sub dword [ecx + 0x1074], eax
mov ecx, dword [ebx + 0x14]
mov dword [edx], ecx
mov dword [ebx + 0x14], edx
mov edx, dword [ebx + 0x18]
lea ecx, [edx + eax]
cmp edx, eax
jl 0x62b82630
mov dword [ebx + 0x18], ecx
cmp ecx, 0xfd0
jne 0x62b8265d
mov ecx, 0x10
cdq
idiv ecx
mov edx, ebx
lea eax, [esi + eax*4]
call sym._listRemove__system_u6897
mov dword [ebx + 4], 0x1000
add esp, 0xc
mov ecx, esi
pop ebx
pop esi
pop edi
pop ebp
jmp sym._freeBigChunk__system_u6553_8
mov edi, 0x10
cdq
idiv edi
mov edx, dword [esi + eax*4]
mov dword [ebx + 0xc], edx
test edx, edx
je 0x62b82645
mov dword [edx + 0x10], ebx
mov dword [esi + eax*4], ebx
mov dword [ebx + 0x18], ecx
jmp 0x62b8265d
add esp, 0xc
mov edx, ebx
mov ecx, eax
pop ebx
pop esi
pop edi
pop ebp
jmp sym._deallocBigChunk__system_u6623_8
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x62b826f3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp], 0x62b960fc
call sym.___emutls_get_address
mov edx, dword [ebp + 8]
leave
mov ecx, eax
jmp sym._rawDealloc__system_u6964_8
Function at 0x62b82d77
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._dollar___systemZdollars_u11_8
push ecx
mov edi, edx
push ecx
mov dword [ebp - 0x2c], eax
mov dword [esp], 0x62b960ec
call sym.___emutls_get_address
cmp byte [eax], 0
mov dword [ebp - 0x3c], eax
jne 0x62b82ed4
mov dword [esp], ebx
mov dword [esp + 4], esi
call sym._dollar___systemZdollars_u11_8
push ebx
push ebx
mov ecx, dword [ebp - 0x3c]
mov ebx, edx
mov dword [ebp - 0x30], eax
cmp byte [ecx], 0
jne 0x62b82ed4
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._dollar___systemZdollars_u11_8
push ecx
mov esi, edx
push ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
cmp byte [ecx], 0
jne 0x62b82ed4
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x38]
lea ecx, [eax + ecx + 0x1f]
call sym._rawNewString_4
mov ecx, dword [0x62b974d4]
mov dword [ebp - 0x1c], edx
mov edx, dword [0x62b974d0]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
call sym._appendString
mov edx, dword [ebp - 0x2c]
mov ecx, edi
lea eax, [ebp - 0x20]
call sym._appendString
mov edx, dword [0x62b9744c]
mov ecx, dword [0x62b97450]
lea eax, [ebp - 0x20]
call sym._appendString
mov edx, dword [ebp - 0x30]
mov ecx, ebx
lea eax, [ebp - 0x20]
call sym._appendString
mov edx, dword [0x62b97438]
mov ecx, dword [0x62b9743c]
lea eax, [ebp - 0x20]
call sym._appendString
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
mov ecx, esi
call sym._appendString
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call sym._sysFatal__system_u4825
test esi, esi
je 0x62b82ea9
bt dword [esi], 0x1e
jb 0x62b82ea9
mov dword [esp], esi
call sym._deallocImpl__system_u1765
test ebx, ebx
je 0x62b82ebb
bt dword [ebx], 0x1e
jb 0x62b82ebb
mov dword [esp], ebx
call sym._deallocImpl__system_u1765
test edi, edi
je 0x62b82ed4
bt dword [edi], 0x1e
jb 0x62b82ed4
mov dword [ebp + 8], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym._deallocImpl__system_u1765
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x62b83f4e
Capabilities:
Write file on windows

Disassembly:
cmp dword [0x62b9e048], 0
jne 0x62b83f59
jmp sym._writeToStdErr__system_u3961_8
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
call sym._cstrToNimstr_4
mov dword [esp], eax
mov ebx, edx
mov dword [esp + 4], edx
call dword [0x62b9e048]
push ecx
push ecx
test ebx, ebx
je 0x62b83f88
bt dword [ebx], 0x1e
jb 0x62b83f88
mov dword [esp], ebx
call sym._deallocImpl__system_u1765
mov dword [esp], 0x62b960ec
call sym.___emutls_get_address
cmp byte [eax], 0
je 0x62b83fba
mov byte [eax], 0
mov dword [esp], 0x62b9606c
call sym.___emutls_get_address
mov ecx, eax
mov eax, dword [eax]
mov edx, dword [eax + 0x1c]
xor eax, eax
mov dword [esp], eax
call sym._eqcopy___stdZtypedthreads_u171_12
push edx
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x62b83fbf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, str.SIGINT:_Interrupted_by_Ctrl_C._n
sub esp, 0x14
mov eax, dword [ebp + 8]
cmp eax, 2
je 0x62b84001
mov ebx, str.SIGSEGV:_Illegal_storage_access.__Attempt_to_read_from_nil___n
cmp eax, 0xb
je 0x62b84001
mov ebx, str.SIGABRT:_Abnormal_termination._n
cmp eax, 0x16
je 0x62b84001
mov ebx, str.SIGFPE:_Arithmetic_error._n
cmp eax, 8
je 0x62b84001
cmp eax, 4
mov ebx, str.SIGILL:_Illegal_operation._n
mov eax, str.unknown_signal_n
cmovne ebx, eax
mov dword [esp], ebx
call sym._strlen
mov ecx, ebx
mov edx, eax
call sym._showErrorMessage__system_u3966_8
mov dword [esp], 1
call sym._exit

Function at 0x62b844f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sym._PreMain
leave
jmp sym._nimTestErrorFlag_0

Function at 0x62b846a4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], 0x62b97564
call sym._fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._vfprintf
call sym._abort

Function at 0x62b8501c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x62b8503b
mov eax, 0
jmp 0x62b8507f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x62b8505e
mov eax, 0
jmp 0x62b8507f
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x62b8507a
mov eax, 0
jmp 0x62b8507f
mov eax, 1
leave
ret
Function at 0x62b85081
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x62b850e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x62b850d8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x62b850d8
mov eax, dword [ebp - 4]
jmp 0x62b850f4
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x62b850b5
mov eax, 0
leave
ret

Function at 0x62b8bef3
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
add esp, 0xffffff80
cmp dword [ebp + 8], 0
je 0x62b8c00c
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._pthread_spin_destroy
cmp eax, 1
jne 0x62b8c002
mov dword [ebp - 0x77], 0x6f727245
mov dword [ebp - 0x73], 0x6c632072
mov dword [ebp - 0x6f], 0x696e6165
mov dword [ebp - 0x6b], 0x7520676e
mov dword [ebp - 0x67], 0x70732070
mov dword [ebp - 0x63], 0x6b5f6e69
mov dword [ebp - 0x5f], 0x20737965
mov dword [ebp - 0x5b], 0x20726f66
mov dword [ebp - 0x57], 0x65726874
mov dword [ebp - 0x53], 0x206461
lea eax, [ebp - 0x4f]
mov ecx, 0x43
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov dword [esp + 8], 0xa
lea edx, [ebp - 0x77]
add edx, 0x27
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
call eax
mov dword [ebp - 0xc], 0x27
jmp 0x62b8bfb8
add dword [ebp - 0xc], 1
lea edx, [ebp - 0x77]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x62b8bfcf
mov eax, dword [ebp - 0xc]
cmp eax, 0x69
jbe 0x62b8bfb4
mov eax, dword [ebp - 0xc]
cmp eax, 0x69
ja 0x62b8bfed
lea edx, [ebp - 0x77]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0xc]
add eax, 1
mov byte [ebp + eax - 0x77], 0
lea eax, [ebp - 0x77]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call eax
sub esp, 4
call sym._abort
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
jmp 0x62b8c00d
nop
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret
Function at 0x62b8ce02
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call eax
mov dword [0x62b96200], eax
mov eax, dword [0x62b96200]
cmp eax, 0xffffffff
jne 0x62b8ce23
call sym._abort
nop
leave
ret

Function at 0x62b8cf93
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x1c], 0xffffffff
mov dword [esp + 4], sym._pthread_tls_init
mov dword [esp], 0x62b9ea8c
call sym.__pthread_once_raw
mov eax, dword [0x62b96200]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
sub esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x62b8cfda
mov eax, dword [ebp - 0x20]
jmp 0x62b8d125
call sym._pop_pthread_mem
mov dword [ebp - 0x20], eax
mov eax, dword [entry3]
test eax, eax
je 0x62b8cff1
cmp dword [ebp - 0x20], 0
jne 0x62b8cffb
mov eax, 0
jmp 0x62b8d125
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x24], 1
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventA]
call eax
sub esp, 0x10
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 0x20]
lea edx, [eax + 0x38]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._replace_spin_keys
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x64], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x20]
lea edi, [eax + 0x14]
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call eax
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call eax
sub esp, 0x1c
test eax, eax
jne 0x62b8d0cd
call sym._abort
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
call eax
sub esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x68], 0
mov eax, dword [ebp - 0x20]
movzx edx, byte [eax + 0x20]
and edx, 0xffffffcf
or edx, 0x10
mov byte [eax + 0x20], dl
mov eax, dword [0x62b96200]
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
test eax, eax
jne 0x62b8d122
call sym._abort
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret