joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e032f58
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x90
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x74], 0x1e240
mov byte [ebp - 0x70], 0x19
mov byte [ebp - 0x6f], 0xac
mov byte [ebp - 0x6e], 0x34
mov byte [ebp - 0x6d], 0x38
mov byte [ebp - 0x6c], 0x59
mov byte [ebp - 0x6b], 0x14
mov byte [ebp - 0x6a], 0xff
mov byte [ebp - 0x69], 0x50
mov byte [ebp - 0x68], 0xe0
mov byte [ebp - 0x67], 0x14
mov byte [ebp - 0x66], 0xf6
mov byte [ebp - 0x65], 0x1a
mov byte [ebp - 0x64], 0x73
mov byte [ebp - 0x63], 0x23
mov byte [ebp - 0x62], 0xa6
mov byte [ebp - 0x61], 0x33
mov byte [ebp - 0x60], 0xfa
mov byte [ebp - 0x5f], 0xdb
mov byte [ebp - 0x5e], 0x89
mov byte [ebp - 0x5d], 0x8b
mov byte [ebp - 0x5c], 0xab
mov byte [ebp - 0x5b], 0xf4
mov byte [ebp - 0x5a], 0x46
mov byte [ebp - 0x59], 0xd5
mov byte [ebp - 0x58], 0x4e
mov byte [ebp - 0x57], 0x21
mov byte [ebp - 0x56], 0xd8
mov byte [ebp - 0x55], 0x11
mov byte [ebp - 0x54], 0xfc
mov byte [ebp - 0x53], 6
mov byte [ebp - 0x52], 0x73
mov byte [ebp - 0x51], 0x23
mov byte [ebp - 0x50], 0xa5
mov byte [ebp - 0x4f], 0x82
mov byte [ebp - 0x4e], 0xc
mov byte [ebp - 0x4d], 0x87
mov byte [ebp - 0x4c], 0x5c
mov byte [ebp - 0x4b], 0xd8
mov byte [ebp - 0x4a], 0x1a
mov byte [ebp - 0x49], 0x65
mov byte [ebp - 0x48], 0xff
mov byte [ebp - 0x47], 0xcf
mov byte [ebp - 0x46], 0xaf
lea edx, [ebp - 0x44]
mov eax, 0
mov ecx, 0xc
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x1e240
jmp 0x6e033085
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x10]
xor eax, edx
mov byte [ebp - 0x11], al
movsx eax, byte [ebp - 0x11]
mov dword [esp + 4], 0xfffffffd
mov dword [esp], eax
call sym.caesar_cipher_char__int_
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call method.mlcg.prng_unsigned_int_
mov dword [ebp - 0x10], eax
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x2a
jbe 0x6e033040
lea eax, [ebp - 0x12]
mov ecx, eax
call fcn.6dfe8430
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x12]
mov dword [esp + 4], edx
lea edx, [ebp - 0x44]
add edx, 4
mov dword [esp], edx
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x12]
mov ecx, eax
call sym.std::allocator_char_::allocator__
jmp 0x6e0330d4
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret 4
Function at 0x402390
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov ecx, 0x400
mov esi, 0x5838e0
mov edi, 0x5ad374
rep movsd dword es:[edi], dword [esi]
xor eax, eax
xor esi, esi
lea ecx, [ecx]
movsx ecx, byte [eax + 0x5848e8]
inc eax
shl ecx, 8
cmp eax, 8
jl 0x4023c2
xor eax, eax
movsx edx, byte [eax + 0x5848e8]
or edx, ecx
inc eax
shl edx, 8
cmp eax, 8
jl 0x4023d6
xor eax, eax
movsx ecx, byte [eax + 0x5848e8]
or ecx, edx
inc eax
shl ecx, 8
cmp eax, 8
jl 0x4023ea
xor eax, eax
movsx edx, byte [eax + 0x5848e8]
or edx, ecx
inc eax
shl edx, 8
cmp eax, 8
jl 0x4023fe
xor eax, eax
mov ecx, dword [esi + 0x583898]
xor ecx, edx
mov dword [esi + 0x5ae374], ecx
add esi, 4
cmp esi, 0x48
jl 0x4023b0
xor eax, eax
xor edx, edx
mov esi, 0x5ae378
lea ecx, [ecx]
push edx
push eax
call fcn.00402240
mov dword [esi - 4], eax
mov dword [esi], edx
add esi, 8
cmp esi, 0x5ae3c0
jl 0x402420
mov esi, 0x5ad378
lea esp, [esp]
mov edi, 0x80
push edx
push eax
call fcn.00402240
mov dword [esi - 4], eax
mov dword [esi], edx
add esi, 8
dec edi
jne 0x402445
cmp esi, 0x5ae378
jl 0x402440
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407d20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x554d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5abbf4]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push esi
mov eax, dword [0x5abbf4]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
xor eax, eax
mov ecx, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov byte [esp + 0x8c], al
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
cmp bl, al
jne 0x407dc6
sub ecx, esi
mov eax, ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00407eb0
lea esi, [esp + 0x14]
lea ebx, [esp + 0x90]
call fcn.00407f70
xor esi, esi
lea ebx, [esp + 0x6c]
movzx eax, byte [esp + esi + 0x90]
push eax
push 0x585370
push ebx
call fcn.0052defb
inc esi
add esp, 0xc
add ebx, 2
cmp esi, 0x10
jl 0x407df1
call fcn.00427d38
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407e2b
push 0x80004005
call fcn.00401fe0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0xb0], 0
test ecx, 0xffff0000
jne 0x407e6a
mov edx, ecx
movzx esi, dx
push esi
call fcn.00427c27
test eax, eax
je 0x407e87
push esi
push eax
mov ecx, edi
call fcn.00401cc0
jmp 0x407e87
lea eax, [esp + 0x6c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407e71
sub eax, edx
push eax
lea eax, [esp + 0x70]
push eax
mov ecx, edi
call fcn.00402030
mov eax, edi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0052d5c8
mov esp, ebp
pop ebp
ret
Function at 0x41a870
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1007c
call fcn.00532970
mov eax, dword [0x5abbf4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00429645
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x1005c], eax
xor eax, eax
mov dword [ebp - 0x1007c], eax
mov dword [ebp - 0x10078], eax
mov dword [ebp - 0x10074], eax
mov dword [ebp - 0x10070], eax
mov dword [ebp - 0x1006c], eax
mov dword [ebp - 0x10068], eax
mov dword [ebp - 0x10064], eax
mov dword [ebp - 0x10060], eax
mov eax, dword [ebp + 8]
mov ecx, 0xf
lea esi, [ebp + 8]
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [ebp + 0x44]
mov edx, 2
push eax
mov dword [ebp - 0x10058], 0xffffffff
mov byte [ebp - 0x54], cl
mov word [ebp - 0x14], dx
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [ebp - 0x4c]
push ecx
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x41aa69
mov ebx, dword [sym.imp.WS2_32.dll_shutdown]
push 0
push 0
push eax
call dword [sym.imp.WS2_32.dll_accept]
mov esi, eax
cmp esi, 0xffffffff
je 0x41aa69
cmp byte [ebp - 0x54], 0
mov edi, dword [ebp - 0x1005c]
je 0x41a979
mov eax, dword [edi + 0xd28]
lea edx, [edi + 0xd50]
push edx
push eax
call fcn.0041abe0
add esp, 8
test eax, eax
jns 0x41a973
push 2
push esi
call ebx
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x41aa5d
cmp byte [ebp - 0x54], 0
jne 0x41a9c4
mov edx, dword [edi + 0xd20]
lea ecx, [edi + 0xd50]
push ecx
push edx
call fcn.0041abe0
add esp, 8
test eax, eax
jns 0x41a9a4
push 2
push esi
call ebx
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x41aa5d
cmp byte [ebp - 0x54], 0
jne 0x41a9c4
cmp dword [0x5b64b4], 0
jne 0x41a9c4
push 2
push esi
call ebx
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x41aa5d
push 6
push 1
push 2
mov dword [ebp - 0x10078], esi
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x41a9f8
push 2
push esi
call ebx
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x41aa5d
cmp byte [ebp - 0x54], 0
mov dword [ebp - 0x1007c], edi
je 0x41aa0c
inc dword [0x5b64ac]
jmp 0x41aa12
inc dword [0x5b64b0]
mov eax, dword [ebp - 0x10058]
cmp eax, 0x800
jge 0x41aa3d
inc eax
mov dword [ebp - 0x10058], eax
shl eax, 5
lea edi, [ebp + eax - 0x10054]
mov ecx, 8
lea esi, [ebp - 0x1007c]
rep movsd dword es:[edi], dword [esi]
push 0
push 0
lea ecx, [ebp - 0x10058]
push ecx
push 0x41a3a0
push 0
push 0
call dword [0x558350]
inc dword [0x5b64a8]
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
jne 0x41a926
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0052d5c8
mov esp, ebp
pop ebp
ret
Function at 0x41aa80
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5abbf4]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
call fcn.00429645
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov edx, dword [ebp + 0xc]
mov ecx, 2
push edx
mov edi, eax
mov word [ebp - 0x18], cx
call dword [sym.imp.WS2_32.dll_htons]
push 6
push 1
push 2
mov word [ebp - 0x16], ax
mov dword [ebp - 0x14], 0
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x41ab08
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0052d5c8
mov esp, ebp
pop ebp
ret
push 5
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x41aae6
cmp byte [ebp + 0x10], 0
je 0x41ab24
mov dword [edi + 0xd3c], esi
jmp 0x41ab2a
mov dword [edi + 0xd40], esi
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41ab37
mov edx, dword [ebp + 0x10]
push edx
sub esp, 0x3c
mov ecx, 0xf
lea esi, [ebp - 0x54]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0041a870
mov ecx, dword [ebp - 8]
add esp, 0x40
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0052d5c8
mov esp, ebp
pop ebp
ret
Function at 0x420720
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x420727
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x4207fd
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x583468]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x583468]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x583468]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x583468]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x583468]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x583468]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x583468]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x583468]
add ecx, 8
sub edx, 8
dec esi
jne 0x420740
pop edi
test edx, edx
je 0x42081a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x583468]
inc ecx
dec edx
jne 0x420801
not eax
pop esi
ret

Function at 0x420820
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x583468]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x583468]
mov dword [edx + 8], ecx
ret

Function at 0x420870
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x583468]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x583468]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x4259e0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x425acb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x425a17
cmp dword [esi + 0x40], edi
jae 0x425a17
push eax
call fcn.00426f55
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x425a2f
lea eax, [edi + edi]
push eax
call fcn.00426f60
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.005349e0
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x425ac8
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x581c88]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x581c88]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x425a47
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x425b0a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x425aef
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.005349e0
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x425b2c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x5582e4]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4a5ab1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0042f3bd
call fcn.004283ba
cmp eax, esi
pop esi
jne 0x4a5acd
mov ecx, 0x5b2028
jmp fcn.0044ea4e
ret
Function at 0x422be3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x422c18
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x422c15
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x422c21
add edx, 0x28
cmp edx, esi
jne 0x422c03
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x422c1e

Function at 0x423521
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x423560
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x423560
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x423560
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x423560
cmp dword [ecx + 0x74], 0xe
jbe 0x423560
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42f0f8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43ffe8
push 0x43ffe0
push str.FlsAlloc
push 0x1f
call fcn.0042ef82
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42f12c
push dword [ebp + 8]
mov ecx, esi
call dword [0x43c15c]
call esi
jmp 0x42f132
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42f176
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43fff8
push 0x43fff0
push str.FlsGetValue
push 0x21
call fcn.0042ef82
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42f1ad
push dword [ebp + 8]
mov ecx, esi
call dword [0x43c15c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42f1b5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x440000
push 0x43fff8
push str.FlsSetValue
push 0x22
call fcn.0042ef82
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42f1ef
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43c15c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x430bb6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00422ae0
mov eax, dword [0x448400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0042dbce
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x430bf8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x430d54
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0043b1f0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4499e8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0043073f
mov ecx, dword [esi*4 + 0x4499e8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x430d4d
cmp eax, dword [ecx + edi + 0x24]
jne 0x430d4d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430d4d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043073f
add esp, 0x14
test edx, edx
jl 0x430d4d
jg 0x430cc3
test eax, eax
jb 0x430d4d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x430d4d
jl 0x430cdd
cmp dword [ebp - 0x1008], eax
ja 0x430d4d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x430cfb
test ebx, ebx
je 0x430d34
cmp ecx, edi
jae 0x430d34
mov al, byte [ecx]
cmp al, 0xd
jne 0x430d15
lea eax, [edi - 1]
cmp ecx, eax
jae 0x430d21
cmp byte [ecx + 1], 0xa
jne 0x430d21
inc ecx
jmp 0x430d21
movzx eax, al
movsx eax, byte [eax + 0x448db0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x430cfb
cmp edx, ebx
jne 0x430cfb
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x430d52
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004237e2
leave
ret
Function at 0x4314d1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x448400]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x43151c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0043166c
test al, al
jne 0x431516
sub edx, 2
cmp edx, edi
jne 0x4314fc
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x43153e
lea eax, [edi + 2]
cmp edx, eax
je 0x43153e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043141d
add esp, 0x10
jmp 0x431638
push esi
lea ecx, [ebp - 0x255]
call fcn.0043166c
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x431581
push dword [ebp - 0x25c]
jmp 0x43152e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4315be
cmp word [ebp - 0x226], 0
je 0x4315df
cmp word [ebp - 0x226], ax
jne 0x4315be
cmp word [ebp - 0x224], 0
je 0x4315df
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043141d
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43162b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x431598
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x431613
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x431638
push 0x43124d
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004380f0
add esp, 0x10
jmp 0x431608
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004237e2
leave
ret

Function at 0x4321d8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4321e9
pop esi
ret
push ebx
push edi
push esi
call fcn.004321a1
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00432a16
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x432211
push ebx
push esi
push edi
call fcn.004247c0
add esp, 0xc
push 0
call fcn.0042e1b7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4325e1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432226
Function at 0x4350a6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042e58c
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x435115
cmp esi, dword [ebp - 4]
je 0x435110
cmp dword [ebp + 0xc], 0
je 0x435110
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4350ed
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00434bf8
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x435117
xor eax, eax
inc eax
jmp 0x435117
xor eax, eax
pop edi
pop esi
leave
ret