joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484a25
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x484b3d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x484b3d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a2307
mov esi, eax
test esi, esi
je 0x484b3d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x484b3d
mov ecx, esi
call fcn.004849b0
cmp edi, eax
jge 0x484b3d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x484ac3
mov dword [esp + 0x34], 1
jmp 0x484b1e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x484b3d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00483f90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4a2cab
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a2ce3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a0c98
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a0c70
jmp 0x4a2cef
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a439d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a43df
call fcn.004aa08c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a43df
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a43d6
xor eax, eax
jmp 0x4a43e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a43ed
pop edi
pop esi
pop ebx
ret 4
Function at 0x4aa5bc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4aa5ea
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aa608
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004aa522
jmp 0x4aa608
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4aa608
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004aa522
test edi, edi
mov eax, edi
jne 0x4aa5f2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0xf01c93
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
mov ecx, 0x44ff479c
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x404a42
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x404a51
pop dword [ebp - 8]
mov eax, 0xbdfe5a83
sub eax, 0xbdbe1032
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x6e7e860a
add dword [ebp - 0x18], 0xdfd3bf41
mov dword [ebp - 0x14], 0x7b0a682a
sub dword [ebp - 0x14], 0x48d71be5
mov dword [ebp - 0x10], 0xd6460e98
add dword [ebp - 0x10], 0x76063596
mov dword [ebp - 0xc], 0x6a2a967e
add dword [ebp - 0xc], 0x95d56982
lea eax, [ebp - 0x18]
push eax
mov eax, 0xd865e2f5
sub eax, 0xd82512a9
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x1d5e96fe
add dword [ebp - 0x18], 0x5713d258
mov dword [ebp - 0x14], 0x1032b60
add dword [ebp - 0x14], 0x40693615
mov dword [ebp - 0x10], 0xb426d326
sub dword [ebp - 0x10], 0x50b766ba
mov dword [ebp - 0xc], 0xb01b2b8
sub dword [ebp - 0xc], 0xb01b2b8
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x1ac39c36
add eax, 0xe57d3412
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3afba
push 0
call eax
mov ecx, 0x4e0d
xor edi, edi
add edi, eax
mov ebx, 0xd2b486
sub ebx, 0x910486
add ebx, dword [ebp - 8]
mov esi, 0x393ec7cf
sub esi, 0x4d9d8747
xor dword [ebp - 4], 0xb01fd2a1
mov edx, dword [ebx]
xor dword [ebp - 4], 0xc44989d8
sub edx, esi
sub dword [ebp - 4], 0x6dc970ce
mov dword [edi], edx
mov dword [ebp - 4], 0xd72d2588
add edi, 0xbf6595de
sub edi, 0xbf6595da
add ebx, 0x86f1fd4d
add ebx, 0x790e02b7
loop 0x404b6f
add eax, 0x549a7638
add eax, 0xab66b4cf
xor ebx, ebx
add ebx, eax
add eax, 0xe19d4d2
sub eax, 0xe19d4cd
mov ecx, 0x88974b4e
add ecx, 0x77a8b4b2
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0xa54058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a541a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa5407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa5406a
add dl, dl
jne 0xa54089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa540dc
xor eax, eax
add dl, dl
jne 0xa54096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa5417d
add dl, dl
jne 0xa540a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa540b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa540bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa540c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa540d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa54075
mov eax, 1
add dl, dl
jne 0xa540ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa540f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa540e1
sub eax, ebx
mov ebx, 1
jne 0xa54128
mov ecx, 1
add dl, dl
jne 0xa5410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa54119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa54105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa54075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa5413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa5414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa54136
cmp eax, 0x7d00
jae 0xa5416d
cmp eax, 0x500
jb 0xa54168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa54075
cmp eax, 0x7f
ja 0xa54170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa54075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa5419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa54075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402a60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x83f4
call fcn.004597d0
mov eax, dword [0x477040]
xor eax, esp
mov dword [esp + 0x83f0], eax
push ebx
push esi
push edi
push 0x23c
lea eax, [esp + 0xb4]
mov dword [esp + 0x14], edx
mov esi, ecx
push 0
push eax
mov dword [esp + 0x18], esi
call fcn.00412c00
add esp, 0xc
lea eax, [esp + 0x18]
push 0x98
push 0
push eax
call fcn.00412c00
add esp, 0xc
lea eax, [esp + 0x2f0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.UnRAR.dll
lea eax, [esp + 0x2f4]
push 0x104
push eax
call fcn.00429290
add esp, 0xc
lea eax, [esp + 0x2f0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x402b21
lea eax, [esp + 0x2f0]
push eax
push str.Error_loading_UnRAR.dll_from__s_n
call fcn.004017b0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x83f0]
xor ecx, esp
call fcn.004103f0
mov esp, ebp
pop ebp
ret
push str.RAROpenArchiveEx
lea eax, [esp + 0x3fc]
mov dword [esp + 0x1c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], 0x4000
mov dword [esp + 0x28], 1
mov dword [esp + 0x44], 0x402eb0
mov dword [esp + 0x48], 0
call esi
lea ecx, [esp + 0x18]
push ecx
call eax
mov ecx, dword [esp + 0x24]
mov edi, eax
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x402b92
push 0
call fcn.00402c80
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x83f0]
xor ecx, esp
call fcn.004103f0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x38]
call fcn.00402de0
cmp dword [esp + 0x34], 1
jne 0x402bb7
lea eax, [esp + 0x3f8]
push eax
push str._nComment:_n_ls_n
call fcn.004017b0
add esp, 8
push str.RARReadHeader
push ebx
call esi
lea ecx, [esp + 0xb0]
mov dword [esp + 0x14], eax
push ecx
push edi
call eax
mov esi, eax
test esi, esi
jne 0x402c42
nop dword [eax]
nop dword [eax + eax]
lea eax, [esp + 0x1b4]
push eax
push str._nExtracting___45s
call fcn.004017b0
add esp, 8
push str.RARProcessFile
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push dword [esp + 0x14]
push 2
push edi
call eax
test eax, eax
jne 0x402c32
push 0x471da4
call fcn.004017b0
add esp, 4
lea eax, [esp + 0xb0]
push eax
push edi
call dword [esp + 0x1c]
mov esi, eax
test esi, esi
je 0x402be0
jmp 0x402c42
mov edx, dword [esp + 0xc]
mov ecx, eax
push 2
call fcn.00402c80
add esp, 4
mov edx, dword [esp + 0xc]
mov ecx, esi
push 1
call fcn.00402c80
add esp, 4
push str.RARCloseArchive
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
call eax
mov ecx, dword [esp + 0x83fc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004103f0
mov esp, ebp
pop ebp
ret
Function at 0x403120
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x477040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
call fcn.004292b0
mov esi, eax
add esp, 4
test esi, esi
je 0x403160
push esi
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x403171
push esi
call fcn.00428c70
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004103f0
mov esp, ebp
pop ebp
ret
mov dl, 0xa1
mov dword [ebp - 0x38], 0xc8e5fda1
mov dword [ebp - 0x34], 0xd5c2c4d3
xor eax, eax
mov byte [ebp - 0x30], 0
nop word [eax + eax]
mov cl, byte [ebp + eax - 0x37]
xor cl, dl
mov byte [eax + 0x479734], cl
inc eax
cmp eax, 7
jb 0x403190
mov ecx, 0x479734
mov byte [0x47973b], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4031b1
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x2c]
push 0x479734
push eax
call fcn.004181c0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004103f0
mov esp, ebp
pop ebp
ret

Function at 0x4031f0
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x477040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
call fcn.004292b0
add esp, 4
mov esi, eax
push esi
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4032a7
test esi, esi
je 0x4032a7
mov dl, 7
mov dword [ebp - 0x38], 0x6e435b07
mov dword [ebp - 0x34], 0x73646275
xor eax, eax
mov dword [ebp - 0x30], 0x36365f
mov cl, byte [ebp + eax - 0x37]
xor cl, dl
mov byte [eax + 0x4796dc], cl
inc eax
cmp eax, 0xa
jb 0x403244
mov ecx, 0x4796dc
mov byte [0x4796e6], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403265
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x2c]
push 0x4796dc
push eax
call fcn.004181c0
add esp, 0xc
push 0x471a84
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
call esi
lea ecx, [ebp - 0x2c]
push ecx
push eax
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004103f0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004103f0
mov esp, ebp
pop ebp
ret
Function at 0x408e10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x408e6d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x408e30
mov eax, dword [esi]
jmp 0x408f4b
cmp eax, 0x4e0
jb 0x408f4b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x408e86
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x408ed1
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x40b730
jl 0x40b727
cmp dword [ebp + 0xc], 0
ja 0x40b730
xor eax, eax
xor edx, edx
jmp 0x40b872
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x40b752
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0040b880
jmp 0x40b872
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
call fcn.0040a200
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x40b7c2
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00407ba0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040a9c0
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00405950
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.0040a980
nop
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x40b863
mov ecx, dword [ebp - 8]
call fcn.0040a5e0
mov dword [ebp - 0x20], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x40b832
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0042a5b0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x40b830
xor eax, eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
sbb edx, eax
mov eax, ecx
jmp 0x40b872
jmp 0x40b7de
cmp dword [ebp - 4], 0
jbe 0x40b863
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.0042a5b0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x415de0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.004159f0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x415e12
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x45c1a4]
call dword [ebp - 8]
jmp 0x415e1c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x43a7f0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00439fe0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43a824
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x45c1a4]
call dword [ebp - 8]
jmp 0x43a82a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4

Function at 0x43a880
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0043a020
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43a8b4
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x45c1a4]
call dword [ebp - 8]
jmp 0x43a8be
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x43a8d0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0043a040
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43a908
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [0x45c1a4]
call dword [ebp - 8]
jmp 0x43a916
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8

Function at 0x43a920
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0043a0c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43a960
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x45c1a4]
call dword [ebp - 8]
jmp 0x43a97e
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0043ab70
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret 0x10