joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413a40
Capabilities:
Set console window title

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x4c
mov dword [esp], 0x4ed064
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4ed1a4]
sub esp, 4
mov dword [esp], 0x4f01c0
mov dword [esp + 0x38], eax
mov eax, dword [0x4ed1a0]
mov dword [esp + 0x3c], eax
call sym._strlen
mov ebp, eax
test ebx, ebx
jle 0x413c58
test edi, edi
jg 0x413ba8
test ebx, ebx
jle 0x413c58
mov dword [esp + 8], ebx
mov dword [esp + 4], str.CI_d:FP__
mov dword [esp], 0x4f01c0
call sym.sprintf_char__char_const__..._
cmp esi, 2
je 0x413bcd
cmp esi, 1
je 0x413c48
cmp esi, 2
jle 0x413bd7
mov eax, dword [0x26b16f0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jle 0x413cc0
mov esi, dword [eax + 4]
xor eax, eax
jmp 0x413aeb
add eax, 1
cmp eax, ecx
je 0x413cc0
mov edx, dword [esi + eax*4]
cmp ebx, dword [edx + 0x18c]
jne 0x413ae0
mov eax, dword [edx + 0x92c]
or eax, dword [edx + 0x928]
mov ebx, 0x4c1008
je 0x413b1d
cmp dword [edx + 0x194], 3
mov ebx, 0x4c1000
mov eax, 0x4c1004
cmovge ebx, eax
mov dword [esp + 4], 0x2c
mov dword [esp], str.LSProbe_TCP_Server_
call sym._strchr
mov dword [esp + 0xc], 0x4f01c0
mov dword [esp + 8], ebx
mov dword [esp + 4], str.__LSProbe__s__s
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov dword [esp + 4], 0x3a
mov dword [esp], str.LSProbe_TCP_Server_
call sym._strchr
mov byte [eax], 0x20
mov dword [esp], str.LSProbe_TCP_Server_
call sym._strlen
mov dword [esp], str.LSProbe_TCP_Server_
mov byte [eax + 0x4b001f], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
sub esp, 4
mov dword [esp], 0x4ed064
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
sub esp, 4
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.CI_d:FP_d_
mov dword [esp], 0x4f01c0
call sym.sprintf_char__char_const__..._
cmp esi, 2
jne 0x413ab6
mov edx, dword [0x25f154c]
test edx, edx
je 0x413c48
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x3c]
add ebp, eax
mov eax, dword [0x4ed1a0]
test eax, eax
jle 0x413c78
mov dword [esp], 2
call dword [0x4bd01c]
mov dword [esp + 0x20], 0x4ee1c0
mov dword [esp + 0x1c], 0x4f01c0
mov dword [esp + 0x18], 0x4ed1c0
mov dword [esp + 0x14], 0x4ee1c0
mov dword [esp + 0x10], 0x4f01c0
mov dword [esp + 0xc], 0x4c1028
mov dword [esp + 8], ebp
mov dword [esp + 4], str._r_s_r_s_s_s_r_s_s
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
jmp 0x413ac8
mov dword [0x25f154c], ebx
jmp 0x413abf
mov dword [esp + 4], str.CI_:FP__
mov dword [esp], 0x4f01c0
call sym.sprintf_char__char_const__..._
jmp 0x413aad
mov dword [esp], 2
call dword [0x4bd01c]
mov dword [esp + 0x14], 0x4ee1c0
mov dword [esp + 0x10], 0x4f01c0
mov dword [esp + 0xc], 0x4c1028
mov dword [esp + 8], ebp
mov dword [esp + 4], str._r_s_r_s_s
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
jmp 0x413ac8
mov dword [esp + 4], 0x2c
mov dword [esp], str.LSProbe_TCP_Server_
call sym._strchr
mov dword [esp + 8], 0x4f01c0
mov dword [esp + 4], str.__LSProbe____s
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
jmp 0x413b4d
Function at 0x440150
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x110
mov dword [esp + 4], 0x4c2d2b
mov dword [esp], 0x4ed0a0
call sym._fopen
test eax, eax
je 0x4401e7
mov edi, eax
mov eax, dword [0x4ed080]
mov ebx, 0x64
cmp eax, 0x64
cmovge ebx, eax
sub ebx, 0x64
cmp eax, ebx
jle 0x4401d7
lea esi, [esp + 0x10]
nop
mov eax, dword [0x4ed1ac]
mov eax, dword [eax + ebx*4]
mov dword [esp + 4], 0x4c2d2e
add ebx, 1
mov dword [esp], esi
mov dword [esp + 8], eax
call sym.sprintf_char__char_const__..._
mov dword [esp], esi
call sym._strlen
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._fwrite
cmp dword [0x4ed080], ebx
jg 0x440190
mov dword [esp], edi
call sym._fflush
mov dword [esp], edi
call sym._fclose
add esp, 0x110
pop ebx
pop esi
pop edi
ret

Function at 0x440250
Capabilities:
Set console window title

Disassembly:
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
cmp ecx, 0xffffffff
je 0x440280
test ecx, ecx
jne 0x440270
cmp dword [0x25f154c], eax
je 0x440272
xor eax, eax
ret
jle 0x44026d
jmp sym._setPromptString.part.0
cmp dword [0x25f154c], eax
sete al
movzx eax, al
ret
Function at 0x44b440
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + 0x35c]
mov esi, dword [ebx + 0x308]
imul esi, dword [ebx + 0x2f8]
mov ecx, dword [eax]
cmp dword [0x4f0270], esi
jb 0x44b480
test esi, esi
jne 0x44b4dd
mov eax, 1
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x4f0278]
lea ebp, [esi*4]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], ebp
mov dword [esp], eax
call sym._realloc
mov ecx, dword [esp + 0x10]
test eax, eax
mov dword [0x4f0278], eax
je 0x44b5ee
mov eax, dword [0x4f0274]
mov dword [esp + 4], ebp
mov dword [esp + 0x10], ecx
mov dword [esp], eax
call sym._realloc
mov ecx, dword [esp + 0x10]
test eax, eax
mov dword [0x4f0274], eax
je 0x44b620
mov dword [0x4f0270], esi
test esi, esi
je 0x44b46c
mov dword [esp + 4], 0
mov ebp, dword [0x4f0278]
mov dword [esp + 8], 0
mov dword [esp], ebx
mov dword [esp + 0x1c], ecx
call sym._getTrigTempValue
mov eax, dword [ebx + 0x374]
fstp dword [ebp]
movzx edx, word [eax]
mov eax, edx
and edx, 7
shr ax, 3
and eax, 8
or eax, edx
mov edx, dword [0x4f0274]
movzx eax, ax
mov dword [edx], eax
cmp esi, 1
jle 0x44b46c
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
mov edi, 1
xor ebp, ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x40], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x40]
lea esi, [esi]
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ecx + 0x35c]
lea esi, [edi*4]
mov dword [esp + 0x40], ecx
mov ebx, dword [ebx + esi]
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
cmp ebx, eax
mov dword [esp], ecx
setne al
movzx eax, al
add dword [esp + 0x18], eax
mov eax, dword [0x4f0278]
add eax, esi
mov dword [esp + 0x1c], eax
call sym._getTrigTempValue
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
fstp dword [eax]
mov eax, dword [ecx + 0x374]
movzx eax, word [eax + edx*2]
mov edx, eax
and eax, 7
shr dx, 3
and edx, 8
or eax, edx
mov edx, dword [0x4f0274]
add edi, 1
movzx eax, ax
adc ebp, 0
mov dword [edx + esi], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
xor eax, edi
xor esi, ebp
or esi, eax
jne 0x44b560
jmp 0x44b46c
mov eax, dword [ebx + 0x190]
mov dword [0x4f0270], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d_d:generateTriggerframeADCTempAndModeArray__realloc_sweep_adcTemp_list_failed_n
mov dword [esp + 4], eax
call sym._pprintf
or eax, 0xffffffff
jmp 0x44b471
mov eax, dword [ebx + 0x190]
mov dword [0x4f0270], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d_d:generateTriggerframeADCTempAndModeArray__realloc_sweep_mode_list_failed_n
mov dword [esp + 4], eax
call sym._pprintf
or eax, 0xffffffff
jmp 0x44b471
Function at 0x45f5b0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push edi
push esi
push ebx
sub esp, 0x40
mov dword [esp + 8], 0
mov edi, dword [esp + 0x50]
mov dword [esp + 4], 1
mov dword [esp], 2
call dword [sym.imp.WS2_32.dll_socket]
sub esp, 0xc
test eax, eax
js 0x45f6b3
mov ebx, eax
lea eax, [esp + 0x2b]
mov byte [esp + 0x2b], 1
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xfffffffb
mov dword [esp + 4], 0xffff
mov dword [esp], ebx
call esi
sub esp, 0x14
cmp eax, 0xffffffff
je 0x45f703
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 6
mov dword [esp], ebx
call esi
sub esp, 0x14
test eax, eax
js 0x45f6f2
mov eax, 2
mov word [esp + 0x30], ax
movzx eax, di
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_htons]
sub esp, 4
mov word [esp + 0x32], ax
mov dword [esp], 0
call dword [sym.imp.WS2_32.dll_htonl]
sub esp, 4
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.WS2_32.dll_bind]
sub esp, 0xc
test eax, eax
js 0x45f6c4
add esp, 0x40
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp], str.socket
call sym._perror
call sym._exit_programm
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], 2
mov ebx, eax
call dword [0x4bd01c]
mov dword [esp + 8], ebx
mov dword [esp + 4], str._nmake_socket___error:__d_n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
call sym._exit_programm
mov dword [esp], str.setIPPROTO_TCP_TCP_NODELAY__failed
call sym._perror
call sym._exit_programm
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], 2
mov ebx, eax
call dword [0x4bd01c]
mov dword [esp + 8], ebx
mov dword [esp + 4], str._nsetsockopt_for_SO_EXCLUSIVEADDRUSE_failed_with_error:__d_n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
call sym._exit_programm
lea esi, [esi]
lea esi, [esi]
nop
Function at 0x4657c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov dword [esp + 4], 0
mov dword [esp], str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 8
add esp, 0x1c
ret
Function at 0x466c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov eax, 0x103c
push edi
push esi
push ebx
call fcn.0049fac0
sub esp, eax
mov edi, dword [esp + 0x1050]
lea esi, [esp + 0x30]
mov eax, dword [edi + 0x1cc]
test byte [eax], 8
je 0x466dba
mov eax, dword [esp + 0x1058]
mov edx, dword [esp + 0x1058]
add eax, esi
mov dword [esp + 0x2c], eax
test edx, edx
jle 0x466e48
mov ebp, dword [esp + 0x1054]
xor ebx, ebx
jmp 0x466ca8
mov dword [esp + 8], edi
add ebx, 1
mov dword [esp + 4], 0x4c81ad
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
cmp dword [esp + 0x1058], ebx
je 0x466cdb
movsx edi, byte [ebp + ebx]
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_isprint]
mov ecx, eax
lea eax, [esi + ebx]
test ecx, ecx
jne 0x466c88
mov dword [esp + 4], 0x4c81b0
add ebx, 1
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
cmp dword [esp + 0x1058], ebx
jne 0x466ca8
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.__HEX:__
mov edi, dword [esp + 0x1050]
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [esp + 0x1058]
mov ebp, dword [esp + 0x1054]
mov dword [esp + 0x1050], edi
add eax, 8
lea ebx, [esi + eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1058]
mov edi, ebx
add eax, ebp
mov ebx, eax
lea esi, [esi]
movzx eax, byte [ebp]
mov dword [esp], edi
add ebp, 1
add edi, 3
mov dword [esp + 4], str._02x
mov dword [esp + 8], eax
call sym.sprintf_char__char_const__..._
cmp ebx, ebp
jne 0x466d28
mov eax, dword [esp + 0x1058]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x1050]
lea eax, [eax + eax*2]
lea eax, [edx + eax - 1]
mov ebx, dword [edi + 0x900]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
lea eax, [ebx + 0x201c]
mov dword [esp + 8], str.EMU_send:
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2018]
mov dword [esp], eax
call sym._dbgsprintToOutbuf
mov dword [ebx + 0x2018], eax
mov eax, dword [edi + 0x900]
mov eax, dword [eax + 0x2018]
mov dword [esp], eax
call sym._pprintf
mov eax, dword [edi + 0x900]
mov eax, dword [eax + 0x2018]
mov byte [eax], 0
mov eax, dword [esp + 0x1058]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1054]
mov dword [esp + 0x30], 0
mov dword [esp + 4], eax
mov eax, dword [edi + 0x900]
mov eax, dword [eax + 0x2024]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x466e10
add esp, 0x103c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 0x900]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x190]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x18c]
mov dword [esp], str.ERROR:_d_d:emuWrite__:error_writing_to__s_n
mov dword [esp + 4], eax
call sym._pprintf
add esp, 0x103c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.__HEX:__
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, 7
jmp 0x466d63
Function at 0x47f810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov esi, dword [esp + 0x38]
mov dword [esp + 0x13], 0x33323130
mov dword [esp + 0x17], 0x37363534
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x1b], 0x42413938
mov dword [esp + 0x1f], 0x46454443
mov byte [esp + 0x23], 0
test esi, esi
jne 0x47f880
xor ebx, ebx
test ebp, ebp
je 0x47f86e
mov eax, dword [esp + 0x3c]
mov ebx, 1
mov byte [eax], 0x30
cmp ebx, ebp
jae 0x47f86e
mov eax, dword [esp + 0x3c]
mov byte [eax + ebx], 0
add esp, 0x24
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp al, 8
je 0x47f968
cmp al, 0x10
je 0x47f8d0
cmp al, 2
je 0x47f950
test esi, esi
jns 0x47f980
test dl, dl
je 0x47f980
neg esi
test ebp, ebp
je 0x47f99d
mov eax, dword [esp + 0x3c]
mov edi, 0xa
mov ecx, 0x3b9aca00
mov ebx, 1
mov byte [eax], 0x2d
jmp 0x47f8dc
mov edi, 0x10
mov ecx, 0x10000000
xor ebx, ebx
mov eax, ecx
cmp esi, ecx
jae 0x47f998
lea esi, [esi]
lea esi, [esi]
xor edx, edx
div edi
cmp eax, esi
ja 0x47f8f0
mov dword [esp], edi
mov ecx, eax
jmp 0x47f933
movsx eax, al
mov edi, dword [esp + 0x3c]
add ebx, 1
movzx edx, byte [esp + eax + 0x13]
imul eax, ecx
mov byte [edi + ebx - 1], dl
mov edi, dword [esp]
xor edx, edx
sub esi, eax
mov eax, ecx
div edi
cmp ecx, edi
jb 0x47f862
cmp ebp, ebx
jbe 0x47f862
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
cmp ebx, ebp
jb 0x47f900
add esp, 0x24
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, 2
mov ecx, Ordinal_4
xor ebx, ebx
jmp 0x47f8dc
mov edi, 8
mov ecx, 0x40000000
xor ebx, ebx
jmp 0x47f8dc
mov edi, 0xa
mov ecx, 0x3b9aca00
xor ebx, ebx
jmp 0x47f8dc
mov dword [esp], edi
jmp 0x47f933
xor ebx, ebx
mov edi, 0xa
mov ecx, 0x3b9aca00
jmp 0x47f8dc
Function at 0x47fa30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x3f], 0x33323130
mov dword [esp + 0x43], 0x37363534
mov ebx, dword [esp + 0x84]
mov edi, eax
mov dword [esp + 0x18], eax
mov ecx, edx
mov eax, dword [esp + 0x80]
or ecx, edi
mov dword [esp + 0x1c], edx
mov ebp, edx
mov byte [esp + 0x20], al
mov dword [esp + 0x47], 0x42413938
mov dword [esp + 0x4b], 0x46454443
mov byte [esp + 0x4f], 0
jne 0x47fac0
mov edx, dword [esp + 0x7c]
xor ebp, ebp
test edx, edx
je 0x47faae
mov eax, dword [esp + 0x78]
mov ebp, 1
mov byte [eax], 0x30
nop
cmp ebp, dword [esp + 0x7c]
jae 0x47faae
mov eax, dword [esp + 0x78]
mov byte [eax + ebp], 0
add esp, 0x5c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
cmp al, 8
je 0x47fc30
cmp al, 0x10
je 0x47fb28
cmp al, 2
je 0x47fc30
mov eax, edi
test edx, edx
jns 0x47fc40
test bl, bl
je 0x47fc40
neg eax
adc edx, 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
xor ebp, ebp
neg edx
mov dword [esp + 0x1c], edx
test eax, eax
je 0x47fb0b
mov eax, dword [esp + 0x78]
mov ebp, 1
mov byte [eax], 0x2d
mov byte [esp + 0x20], 0xa
mov esi, 0xa
xor edi, edi
mov ebx, 0x89e80000
mov ecx, 0x8ac72304
jmp 0x47fb50
xor ebx, ebx
mov ecx, 0x10000000
mov eax, edi
cmp eax, ebx
mov eax, edx
sbb eax, ecx
jae 0x47fc60
movsx esi, byte [esp + 0x20]
xor ebp, ebp
mov edi, esi
sar edi, 0x1f
lea esi, [esi]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call sym.___udivdi3
mov ebx, eax
mov ecx, edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp eax, ebx
mov eax, edx
sbb eax, ecx
jb 0x47fb50
movsx eax, byte [esp + 0x20]
mov esi, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
sar eax, 0x1f
mov dword [esp + 0x24], eax
jmp 0x47fbf6
movsx ecx, al
mov edi, dword [esp + 0x78]
add ebp, 1
movzx eax, byte [esp + ecx + 0x3f]
mov byte [edi + ebp - 1], al
mov eax, ecx
cdq
mov dword [esp + 4], esi
mov edi, edx
mov edx, esi
mov dword [esp], ebx
imul edx, ecx
imul edi, ebx
add edi, edx
mul ebx
add edx, edi
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
sbb dword [esp + 0x1c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call sym.___udivdi3
cmp ebx, dword [esp + 0x2c]
sbb esi, dword [esp + 0x24]
jb 0x47faa0
cmp dword [esp + 0x7c], ebp
jbe 0x47faa0
mov ebx, eax
mov esi, edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___udivdi3
cmp ebp, dword [esp + 0x7c]
jb 0x47fb90
add esp, 0x5c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
mov ecx, Ordinal_4
mov eax, edi
mov edx, ebp
jmp 0x47fb31
mov byte [esp + 0x20], 0xa
mov eax, dword [esp + 0x18]
mov ebx, 0x89e80000
mov ecx, 0x8ac72304
mov edx, dword [esp + 0x1c]
jmp 0x47fb31
xor ebp, ebp
jmp 0x47fb78
Function at 0x4992e0
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push edi
xor eax, eax
mov ecx, 0x10
sub esp, 0x88
lea edi, [esp + 0x40]
mov dword [esp + 0x15], 0x6f727245
mov dword [esp + 0x19], 0x6c632072
mov dword [esp + 0x1d], 0x696e6165
mov dword [esp + 0x21], 0x7520676e
mov dword [esp + 0x25], 0x70732070
mov dword [esp + 0x29], 0x6b5f6e69
mov dword [esp + 0x2d], 0x20737965
mov dword [esp + 0x31], 0x20726f66
mov dword [esp + 0x35], 0x65726874
mov dword [esp + 0x39], 0x206461
mov dword [esp + 0x3d], 0
mov dword [esp + 0x7c], 0
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__ultoa]
cmp byte [esp + 0x3c], 0
je 0x4993bb
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x49938d
cmp eax, 0x6a
je 0x4993aa
mov ecx, eax
add eax, 1
cmp byte [edx + eax], 0
jne 0x499388
cmp eax, 0x6a
je 0x4993aa
add ecx, 2
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + ecx + 0x15], 0
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub esp, 4
call sym._abort
mov ecx, 0x28
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x4993a0

Function at 0x499710
Capabilities:
Allocate thread local storage

Disassembly:
push edi
mov eax, 0x26c26b4
push esi
push ebx
sub esp, 0x10
call dbg.enterOnceObject
lea esi, [eax + 4]
mov ebx, eax
mov dword [esp], esi
call dbg.pthread_mutex_lock
mov edi, dword [0x26c26b4]
test edi, edi
jne 0x499778
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4bcf8c], eax
cmp eax, 0xffffffff
je sym.__pthread_once_raw.part.0.constprop.0.cold
mov dword [0x26c26b4], 1
mov dword [esp], esi
call dbg.pthread_mutex_unlock
test ebx, ebx
je 0x499768
mov eax, ebx
call sym._leaveOnceObject.part.0
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop edi
ret
cmp edi, 1
je 0x499755
mov dword [esp], 2
call dword [0x4bd01c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x26c26b4
mov dword [esp + 4], str._once__p_is__d_n
mov dword [esp], eax
call sym._fprintf_3
jmp 0x499755
Function at 0x4997b0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
call sym._pop_pthread_mem
mov edx, dword [entry3]
test edx, edx
je 0x4998e0
mov ebx, eax
test eax, eax
je 0x4998e0
mov dword [eax + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x18], eax
sub esp, 0x10
lea eax, [ebx + 0x38]
mov dword [esp], eax
call dbg.pthread_spin_destroy
cmp eax, 1
je 0x4998ec
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x14], 0
call ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
call ebp
lea edx, [ebx + 0x14]
mov dword [esp + 8], edi
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je sym.___pthread_self_lite.part.0.cold
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], eax
movzx eax, byte [ebx + 0x20]
sub esp, 4
and eax, 0xffffffcf
or eax, 0x10
mov byte [ebx + 0x20], al
mov eax, dword [0x4bcf8c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x4998f1
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x2c
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._replace_spin_keys.part.0
jmp sym.___pthread_self_lite.part.0.cold

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

Disassembly:
sub esp, 0x1c
cmp dword [0x26c26b4], 1
je 0x499911
call sym.__pthread_once_raw.part.0.constprop.0
mov eax, dword [0x4bcf8c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x499930
add esp, 0x1c
ret
add esp, 0x1c
jmp sym.___pthread_self_lite.part.0
Function at 0x499a7a
Capabilities:
Set thread local storage value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov eax, dword [ecx]
mov esi, eax
mov dword [ebp - 0x1c], eax
call dbg._fpreset
mov dword [esp], 0x4bcf84
lea ebx, [esi + 0x1c]
call dbg.pthread_mutex_lock
mov dword [esp], ebx
call dbg.pthread_mutex_lock
cmp dword [0x26c26b4], 1
je 0x499ab5
call sym.__pthread_once_raw.part.0.constprop.0
mov esi, dword [ebp - 0x1c]
mov eax, dword [0x4bcf8c]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x3c], eax
mov dword [esp], ebx
call dbg.pthread_mutex_unlock
lea eax, [esi + 0x70]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.__setjmp3
test eax, eax
je 0x499b7f
mov dword [esp], 0x4bcf84
call dbg.pthread_mutex_lock
mov esi, dword [ebp - 0x1c]
lea ebx, [esi + 0x1c]
mov dword [esp], ebx
call dbg.pthread_mutex_lock
mov eax, esi
mov esi, dword [esi + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x499b28
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
je 0x499bd2
mov dword [esp], ebx
call dbg.pthread_mutex_unlock
mov dword [esp], ebx
call dbg.pthread_mutex_destroy
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], 0xffffffff
mov dword [eax + 0x68], 1
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp], 0x4bcf84
call dbg.pthread_mutex_unlock
test eax, eax
jne 0x499bc9
mov dword [esp], 0
call ebx
push eax
jmp 0x499b63
mov dword [esp], 0x4bcf84
call dbg.pthread_mutex_unlock
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
test eax, eax
je 0x499c0f
mov edx, dword [edx + 4]
mov dword [esp], edx
call eax
mov ebx, eax
mov dword [esp], 0x4bcf84
call dbg.pthread_mutex_lock
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], ebx
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x499b04
call sym.__pthread_cleanup_dest.part.0
jmp 0x499b04
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov edi, dword [ebp - 0x1c]
mov dword [edi], 0xdeadbeef
mov dword [esp], ebx
call dbg.pthread_mutex_unlock
mov dword [esp], ebx
call dbg.pthread_mutex_destroy
mov eax, edi
call sym._push_pthread_mem
mov eax, dword [0x4bcf8c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
jmp 0x499b5d
mov ebx, pe_nt_image_headers32
jmp 0x499b9f