joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417790
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x103
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x167]
push ebx
push ecx
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 0x168], 0
call fcn.004561f0
push esi
push 0x56d528
mov ecx, 0x104
lea edi, [ebp - 0x168]
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1c8], 0x67452301
mov dword [ebp - 0x1c4], 0xefcdab89
mov dword [ebp - 0x1c0], 0x98badcfe
mov dword [ebp - 0x1bc], 0x10325476
call fcn.00417660
mov eax, edi
add esp, 0x14
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417820
sub eax, edx
lea edx, [ebp - 0x168]
push edx
lea esi, [ebp - 0x1d0]
call fcn.0041fae0
mov eax, esi
call fcn.0041fbf0
mov eax, esi
call fcn.0041fbf0
mov ecx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x178]
mov edx, dword [ebp - 0x170]
push 0x40
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x60]
push ebx
push ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
call fcn.004561f0
add esp, 0x10
movzx edx, byte [ebp + ebx - 0x1c]
xor eax, eax
push edx
push 0x56d918
lea ecx, [eax + 8]
lea edi, [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.00417660
lea eax, [ebp - 0x60]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4178a3
sub eax, edx
mov ecx, 0x40
sub ecx, eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1d4], ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4178c0
sub eax, esi
mov dword [ebp - 0x1dc], eax
cmp eax, ecx
lea eax, [ebp - 0x1dc]
jl 0x4178df
lea eax, [ebp - 0x1d4]
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x60]
push 0x40
push edx
call fcn.0045a68b
inc ebx
add esp, 0x10
cmp ebx, 0x10
jl 0x41787c
mov edi, dword [ebp - 0x1d8]
test edi, edi
je 0x41792b
mov esi, dword [ebp + 0xc]
push esi
push 0
push edi
call fcn.004561f0
lea eax, [ebp - 0x60]
push eax
push 0x56d528
lea ecx, [esi - 1]
call fcn.00417660
push esi
push edi
call fcn.0045a674
add esp, 0x1c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045633d
mov esp, ebp
pop ebp
ret
Function at 0x417d50
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d18
call fcn.004585a0
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x2d14], eax
cmp eax, ebx
je 0x417ec0
push esi
push edi
xor edi, edi
mov dword [ebp - 0x2d0c], ebx
mov dword [ebp - 0x2d10], edi
jmp 0x417d90
push edi
lea eax, [ebp - 0x204]
push 0x56d920
push eax
mov eax, 0x200
call fcn.004176c0
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x417e99
xor eax, eax
push 0x2710
lea edx, [ebp - 0x2cfc]
push ebx
mov dword [ebp - 0x2d08], eax
mov dword [ebp - 0x2d04], eax
push edx
mov dword [ebp - 0x2d18], ebx
mov dword [ebp - 0x2d00], eax
mov dword [ebp - 0x2d08], ebx
mov dword [ebp - 0x2d04], ebx
call fcn.004561f0
add esp, 0xc
push ebx
lea eax, [ebp - 0x2d18]
push eax
push 0x2710
lea ecx, [ebp - 0x2cfc]
push ecx
push 0xc
lea edx, [ebp - 0x2d08]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x417e84
push 0x3e8
lea eax, [ebp - 0x5ec]
push ebx
push eax
call fcn.004561f0
mov eax, dword [ebp - 0x2ce4]
add esp, 0xc
lea edi, [ebp - 0x5ec]
lea ecx, [ebp - 0x2cfc]
call fcn.0041f170
push 0x7ffffffe
mov ecx, edi
push ecx
mov ecx, dword [ebp - 0x2d14]
mov edx, 0x64
call fcn.00417730
cmp eax, ebx
jne 0x417e84
mov dword [ebp - 0x2d0c], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d0c], ebx
jne 0x417ea9
mov edi, dword [ebp - 0x2d10]
inc edi
cmp edi, 0x10
mov dword [ebp - 0x2d10], edi
jl 0x417d90
mov eax, dword [ebp - 0x2d0c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045633d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045633d
mov esp, ebp
pop ebp
ret
Function at 0x4181d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x4f4], edi
test edi, edi
je 0x4183b8
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004561f0
add esp, 0xc
lea ecx, [ebp - 0x4e0]
push ecx
push 8
push 0
push 0x56d998
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418385
mov ecx, dword [ebp - 0x4e0]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
xor esi, esi
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x4e4]
push edx
lea eax, [ebp - 0x2d4]
push eax
push esi
push ecx
mov dword [ebp - 0x4e4], 0x104
call ebx
test eax, eax
jne 0x418376
mov edi, 1
jmp 0x418270
mov ecx, dword [ebp - 0x4e0]
lea edx, [ebp - 0x4e8]
push edx
push edi
push 0
lea eax, [ebp - 0x2d4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41833c
lea edx, [ebp - 0x4f0]
push edx
mov edx, dword [ebp - 0x4e8]
lea eax, [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0x4ec]
push ecx
push 0
push 0x56da0c
push edx
mov dword [ebp - 0x4ec], edi
mov dword [ebp - 0x4f0], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41832f
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004561f0
lea ecx, [ebp - 0x4dc]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.004180c0
add esp, 0x10
test eax, eax
je 0x41832f
cmp byte [ebp - 0x68], 0
je 0x418316
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x41832f
push 0x7ffffffe
lea ecx, [ebp - 0xcc]
push ecx
mov edx, 0x64
lea ecx, [ebp - 0x68]
call fcn.00417730
mov edx, dword [ebp - 0x4e8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x4e0]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0x2d4]
push ecx
add esi, edi
push esi
push edx
mov dword [ebp - 0x4e4], 0x104
call ebx
test eax, eax
je 0x418270
mov edi, dword [ebp - 0x4f4]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [ebp - 0x68], 0
je 0x4183b8
push 0x7ffffffe
lea ecx, [ebp - 0x68]
push ecx
mov edx, 0x64
mov ecx, edi
call fcn.00417730
xor edx, edx
test eax, eax
setge dl
pop edi
mov eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045633d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0045633d
mov esp, ebp
pop ebp
ret
Function at 0x4185d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x418710
cmp edi, 0x20
jb 0x418710
push 0x400
lea eax, [ebp - 0x508]
push 0
push eax
mov dword [ebp - 0x510], 1
mov dword [ebp - 0x50c], 0x400
call fcn.004561f0
add esp, 0xc
lea ecx, [ebp - 0x50c]
push ecx
lea edx, [ebp - 0x508]
push edx
lea eax, [ebp - 0x510]
push eax
push 0x56da40
push 0x56da44
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x418710
lea eax, [ebp - 0x508]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418660
sub eax, edx
cmp eax, 0x40
jne 0x418710
push 0x20
lea ecx, [ebp - 0x508]
push ecx
lea edx, [eax + 0x40]
lea ecx, [ebp - 0x88]
call fcn.00417730
push 0x7ffffffe
lea edx, [ebp - 0x4e8]
push edx
mov edx, 0x80
lea ecx, [ebp - 0x108]
call fcn.00417730
push 0x400
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.004561f0
add esp, 0xc
lea ecx, [ebp - 0x508]
push 0x400
push ecx
lea ecx, [ebp - 0x88]
call fcn.00417790
add esp, 8
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x418710
lea ecx, [ebp - 0x88]
push ecx
mov edx, edi
mov ecx, esi
call fcn.00417580
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045633d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0045633d
mov esp, ebp
pop ebp
ret
Function at 0x41b490
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push 0x44
mov esi, eax
lea eax, [esp + 0x24]
push edi
push eax
mov dword [esp + 0x18], edi
call fcn.004561f0
add esp, 0xc
cmp byte [esi + 8], 0
mov dword [esp + 0x20], 0x44
je 0x41b4cd
mov dword [esp + 0x28], 0x56d3c4
xor ecx, ecx
cmp byte [esi + 1], cl
mov dword [esp + 0x4c], 1
setne cl
dec ecx
and ecx, 5
mov word [esp + 0x50], cx
cmp dword [esi + 0xc], edi
je 0x41b4f0
mov edi, 0x1000004
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x41b580
push 0
push eax
lea edx, [esp + 0x14]
push edx
or edi, 0x400
mov dword [esp + 0x18], 0
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x41b56e
cmp dword [ebx + 0x18], 8
jb 0x41b533
mov eax, dword [ebx + 4]
jmp 0x41b536
lea eax, [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
movzx edx, byte [esi + 2]
push 0
push ecx
push edi
push edx
push 0
push 0
push eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ecx, dword [esp + 0xc]
push ecx
mov edi, eax
call sub.USERENV.dll_DestroyEnvironmentBlock
test edi, edi
jne 0x41b5b3
lea ecx, [esp + 0x10]
call fcn.00416e40
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x18], 8
jb 0x41b58b
mov eax, dword [ebx + 4]
jmp 0x41b58e
lea eax, [ebx + 4]
lea edx, [esp + 0x10]
push edx
movzx edx, byte [esi + 2]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push edi
push edx
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jmp 0x41b56c
mov eax, dword [esi + 0xc]
xor edi, edi
cmp eax, edi
je 0x41b60d
mov ecx, dword [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x41b602
mov eax, dword [esp + 0x10]
push 1
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
test al, al
je 0x41b56e
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x10]
call fcn.00416e40
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x41b61f
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x41b634
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x41b645
push eax
call esi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x41b650
push eax
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b6e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10004
call fcn.004585a0
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x56daf8
push eax
call fcn.00412ee0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b725
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045633d
mov esp, ebp
pop ebp
ret
push esi
push 0x10000
lea eax, [ebp - 0x10004]
push 1
push eax
call fcn.00457fd3
add esp, 0x10
test eax, eax
jbe 0x41b76e
test edi, edi
je 0x41b753
push eax
lea ecx, [ebp - 0x10004]
push ecx
mov ecx, edi
call fcn.00408b10
push esi
push 0x10000
lea edx, [ebp - 0x10004]
push 1
push edx
call fcn.00457fd3
add esp, 0x10
test eax, eax
ja 0x41b740
push esi
call fcn.00457cb7
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0045633d
mov esp, ebp
pop ebp
ret
Function at 0x41cbd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, word [edi + 0x14]
lea eax, [eax + edi + 0x18]
lea esi, [eax + 0xc]
mov dword [ebp - 4], eax
cmp ebx, dword [esi]
jae 0x41cbf8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, word [edi + 6]
xor eax, eax
test ecx, ecx
ja 0x41cc13
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
lea edx, [eax + 1]
cmp edx, ecx
jne 0x41cc1f
mov edi, dword [edi + 0x50]
jmp 0x41cc22
mov edi, dword [esi + 0x28]
cmp ebx, dword [esi]
jb 0x41cc2e
cmp dword [ebp + 0xc], edi
jb 0x41cc41
mov ebx, dword [ebp + 0xc]
mov eax, edx
add esi, 0x28
cmp eax, ecx
jb 0x41cc10
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8 + 0x14]
sub eax, dword [edx + ecx*8 + 0xc]
lea ecx, [edx + ecx*8]
add eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ed30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
call fcn.0041ee10
test al, al
je 0x41ed9d
mov eax, dword [0x576b7c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test eax, eax
jne 0x41ed54
call fcn.00423590
mov ecx, dword [0x5f5784]
cmp dword [eax + ecx*4], 0
jne 0x41ed9c
push esi
push 0xc8
call fcn.004560e4
add esp, 4
test eax, eax
je 0x41ed7f
mov edx, dword [ebp + 8]
push edx
call fcn.0041ec00
mov esi, eax
jmp 0x41ed81
xor esi, esi
mov eax, dword [0x576b7c]
push eax
call edi
test eax, eax
jne 0x41ed92
call fcn.00423590
mov ecx, dword [0x5f5784]
mov dword [eax + ecx*4], esi
pop esi
pop edi
pop ebp
ret

Function at 0x4229b0
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x423590
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x576b7c], 0xffffffff
push ebx
push esi
push edi
mov dword [ebp - 4], 0
jne 0x4235ce
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0xffffffffffffffff
mov esi, eax
push esi
push 0x576b7c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 0xffffffff
je 0x4235ce
push esi
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0x100
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004561f0
mov edx, dword [0x576b7c]
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x100
call fcn.0045565c
mov ebx, eax
add esp, 4
mov ecx, 0x40
lea esi, [ebp - 0x108]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x576b7c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x576b7c]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x423746
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x423745
push esi
push edi
mov ecx, 0x40
mov esi, ebx
lea edi, [ebp - 0x104]
lea eax, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x576b7c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.00456149
add esp, 4
mov edi, 0x40
mov esi, dword [0x576b80]
dec esi
xor ebx, ebx
xor dl, dl
cmp esi, ebx
jle 0x42372c
mov eax, dword [ebp + esi*4 - 0x104]
cmp eax, ebx
je 0x423727
mov ecx, dword [esi*4 + 0x5f1320]
cmp ecx, ebx
je 0x423727
push eax
mov dword [ebp + esi*4 - 0x104], ebx
call ecx
add esp, 4
mov dl, 1
dec esi
cmp esi, ebx
jg 0x423702
dec edi
cmp edi, ebx
jle 0x423735
test dl, dl
jne 0x4236f3
mov edx, dword [0x576b7c]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424210
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
xor esi, esi
mov eax, dword [edx + 0x3c]
movzx ecx, word [eax + edx + 6]
add eax, edx
cmp edi, ecx
jae 0x42425e
movzx ecx, word [eax + 0x14]
add ecx, esi
lea eax, [ecx + eax + 0x18]
test eax, eax
je 0x42425e
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x42424a
add ecx, edx
cmp ecx, ebx
ja 0x424258
mov ebx, dword [eax + 8]
add ebx, ecx
mov ecx, ebx
mov ebx, dword [ebp + 8]
cmp ecx, ebx
ja 0x424260
inc edi
add esi, 0x28
jmp 0x424221
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x424357
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x3c]
mov edx, dword [edi]
mov edx, dword [edx]
add eax, ecx
mov eax, dword [eax + 0x78]
push esi
push eax
mov ecx, edi
call edx
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x4243fc
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x424390
mov word [ebx], ax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x20]
mov eax, dword [edi]
mov edx, dword [eax]
push ecx
mov ecx, edi
call edx
mov ebx, eax
mov eax, dword [esi + 0x18]
lea eax, [ebx + eax*4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
cmp ebx, eax
je 0x4243fc
jmp 0x4243b3
mov eax, dword [ebp - 4]
sub eax, ebx
sar eax, 2
cdq
sub eax, edx
mov edx, dword [edi]
mov edx, dword [edx]
sar eax, 1
lea esi, [ebx + eax*4]
mov eax, dword [esi]
push eax
mov ecx, edi
call edx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
test dl, dl
je 0x4243e1
cmp dl, byte [eax]
jne 0x4243e1
mov dl, byte [ecx + 1]
inc ecx
inc eax
test dl, dl
jne 0x4243d4
movzx edx, byte [eax]
movzx eax, byte [ecx]
sub eax, edx
je 0x424406
test eax, eax
jle 0x4243f4
lea ebx, [esi + 4]
jmp 0x4243f7
mov dword [ebp - 4], esi
cmp ebx, dword [ebp - 4]
jne 0x4243b0
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx + 0x24]
mov eax, dword [edi]
mov edx, dword [eax]
push ecx
mov ecx, edi
call edx
sub esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
sar esi, 2
mov ax, word [eax + esi*2]
add ax, word [ebx + 0x10]
pop esi
mov word [ecx], ax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x424440
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x424450
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42444d
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x42444d
mov edx, 0x10b
cmp word [eax + 0x18], dx
sete al
ret
Function at 0x426e50
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
mov edx, 0x1400
cmp dx, si
je 0x426ef3
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 9
lea eax, [ebp - 0x18]
push eax
movzx edi, si
push 0x59
push edi
call ebx
cmp eax, 1
jle 0x426ef3
dec eax
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.0040ab20
mov ecx, dword [ebp - 0x1c]
call fcn.004053e0
and esi, 0xfc00
xor edx, edx
cmp dx, si
je 0x426ee0
push 9
lea eax, [ebp - 0x18]
push eax
push 0x5a
push edi
call ebx
cmp eax, 1
jle 0x426ee0
dec eax
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0040ab20
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045633d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0045633d
mov esp, ebp
pop ebp
ret
Function at 0x42efde
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push dword [ebp + 0x14]
call fcn.0043221b
pop ecx
test al, al
jne 0x42f096
push esi
call fcn.0040aa00
mov esi, eax
mov eax, dword [esi]
push 0x4cae28
mov ecx, esi
call dword [eax + 8]
test al, al
jne 0x42f017
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x42f095
push edi
push 0x4c96b4
lea ecx, [ebp - 0x2c]
call fcn.00401dd0
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push 0x4cae18
mov ecx, esi
call dword [eax + 0xc]
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402c90
push 0x40
lea eax, [ebp - 0x6c]
push edi
push eax
mov dword [ebp - 0x70], 0x44
call fcn.004561f0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
push edi
push 0x400
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42f08c
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0xc]
call edi
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
pop edi
pop esi
mov al, 1
leave
ret