joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e0420
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [esp + 0x48]
xor eax, eax
test ebp, ebp
mov ebx, dword [esp + 0x44]
je 0x4e046c
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4e04d7
test ebx, ebx
je 0x4e04a0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebx
sub esp, 8
lea esi, [esp + 0x18]
push esi
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 8]
push eax
call fcn.0046e730
add esp, 0x10
test eax, eax
je 0x4e0480
mov eax, dword [eax + 8]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
cld
mov ecx, 4
mov edi, 0x531d50
mov esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e04e5
jmp 0x4e04a0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x531d54
sub esp, 8
lea edx, [esp + 0x18]
push edx
mov ebp, dword [esp + 0x4c]
mov ebx, dword [ebp + 8]
push ebx
call fcn.0046e730
mov edx, eax
add esp, 0x10
xor eax, eax
test edx, edx
je 0x4e046c
mov eax, dword [edx + 8]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push ebp
call sub.msvcrt.dll_getenv
add esp, 0x10
jmp 0x4e046c
sub esp, 0xc
push ebp
call sub.msvcrt.dll_getenv
add esp, 0x10
test eax, eax
jne 0x4e046c
jmp 0x4e04a0

Function at 0x4e2bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xc
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 4]
cmp dword [ecx + 4], eax
jge 0x4e2c76
mov dword [esp + 8], edx
mov edx, dword [esp + 8]
mov esi, dword [edx + 4]
mov edx, dword [esp + 0x20]
cmp esi, dword [edx + 8]
mov dword [esp + 4], ecx
jg 0x4e2c92
mov ebx, dword [esp + 4]
mov ebp, dword [ebx + 4]
xor edx, edx
cmp ebp, 0
jle 0x4e2c1e
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov edi, dword [ebx]
mov ebx, dword [ecx]
mov ecx, dword [eax]
mov esi, esi
lea edi, [edi]
mov eax, dword [ecx + edx*4]
xor eax, dword [ebx + edx*4]
mov dword [edi + edx*4], eax
inc edx
cmp ebp, edx
jg 0x4e2c10
cmp esi, edx
jle 0x4e2c3b
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 8]
mov ebx, dword [ebp]
mov ecx, dword [edi]
nop
mov eax, dword [ecx + edx*4]
mov dword [ebx + edx*4], eax
inc edx
cmp esi, edx
jg 0x4e2c30
test esi, esi
mov ebx, esi
mov ecx, esi
jle 0x4e2cab
mov edx, dword [esp + 0x20]
mov edi, dword [edx]
lea edx, [edi + esi*4 - 4]
lea esi, [esi]
mov esi, dword [edx]
sub edx, 4
test esi, esi
jne 0x4e2c62
lea ebx, [ecx - 1]
test ebx, ebx
mov ecx, ebx
jg 0x4e2c50
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], ebx
add esp, 0xc
pop ebx
pop esi
pop edi
mov eax, 1
pop ebp
ret
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov edx, dword [esp + 8]
mov esi, dword [edx + 4]
mov edx, dword [esp + 0x20]
cmp esi, dword [edx + 8]
jle 0x4e2be7
sub esp, 8
push esi
push edx
call fcn.00477690
add esp, 0x10
mov ecx, dword [esp + 8]
mov esi, dword [ecx + 4]
jmp 0x4e2be7
mov ebp, dword [esp + 0x20]
mov dword [ebp + 4], esi
add esp, 0xc
pop ebx
pop esi
pop edi
mov eax, 1
pop ebp
ret
Function at 0x4f14e0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4f1516
mov dword [0x53e030], eax
mov edx, 0x4f14c0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004f1bb0
test eax, eax
sete al
movzx eax, al
mov dword [0x504e60], eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [0x504e60], eax
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0xc]
sub esp, 0x68
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 0x4ef6e0
mov dword [ebp - 0x24], 0x4f4580
mov dword [ebp - 0x1c], 0x4f16c0
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call fcn.004f2150
cmp dword [0x504e60], 0
mov dword [ebp - 0x44], 0x53e040
je 0x4f16a0
jl 0x4f16e0
mov dword [ebp - 0x3c], 1
mov eax, dword [0x53e030]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x54]
sub esp, 4
test eax, eax
mov dword [ebp - 0x48], eax
je 0x4f1783
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
lea esi, [esi]
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.004f2230
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [0x53e070]
mov eax, 0xffffffff
test edx, edx
je 0x4f16fa
mov eax, dword [0x504e64]
test eax, eax
je 0x4f173a
xor eax, eax
test eax, eax
jne 0x4f1730
mov edi, dword [0x504e60]
test edi, edi
js 0x4f1730
mov dword [ebp - 0x44], 0x53e040
mov ebx, dword [0x504e60]
test ebx, ebx
je 0x4f16a0
jmp 0x4f164e
xor esi, esi
mov dword [0x504e60], esi
jmp 0x4f1708
mov dword [esp], 0x504e68
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x4f17c1
mov eax, dword [0x504e64]
test eax, eax
jne 0x4f16f8
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x3c], 1
call eax
sub esp, 4
mov eax, dword [0x504e64]
test eax, eax
je 0x4f175d
jmp 0x4f16f8
mov dword [esp], 8
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4f17b5
mov dword [esp + 4], eax
mov eax, dword [0x53e030]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x4f17ea
test edx, edx
je 0x4f17d5
mov dword [ebp - 0x3c], 1
call fcn.004f1060
call fcn.004f14e0
mov eax, 1
mov dword [0x504e64], eax
jmp 0x4f16f8
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x4f1696
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x4f17b1
Function at 0x4f1a50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.004f2010
call fcn.004f1cb0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x4f1a88
jmp 0x4f1b26
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x4f1a87
cmp cl, 0x22
je 0x4f1ae0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x4f1b00
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x4f1b00
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x4f1ac0
jmp 0x4f1b00
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x4f1ae0
cmp cl, 0x22
je 0x4f1b62
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x4f1b20
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x4f1b10
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x4f1b44
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004035d0
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x4f1b00

Function at 0x4f2040
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x53e0d0]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4f2080
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call fcn.004f1bb0
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x4f2430
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, 0x2c
mov eax, dword [0x53e0d0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4f250c
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x4f2521
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x4f24e0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x4f2478
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x4f2488
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x4f24d3
test edx, edx
jne 0x4f24c6
test ecx, ecx
je 0x4f2470
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call ecx
cmp eax, 6
je 0x4f2530
cmp eax, 8
je 0x4f2470
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x4f2462
call fcn.004f1dd0
mov eax, dword [0x53e0d0]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jns 0x4f2454
call fcn.004f20a0
mov eax, dword [0x53e0d0]
jmp 0x4f2454
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.004f23a0
cmp eax, 7
jne 0x4f24cb
mov eax, dword [0x53e0d0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x4f2583
mov edi, dword [eax + 0x30]
test edi, edi
js 0x4f25ae
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x4f258f
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.004f1dd0
mov eax, dword [0x53e0d0]
jmp 0x4f2561
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4f2572
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4f2572
call fcn.004f20a0
mov eax, dword [0x53e0d0]
jmp 0x4f2568
Function at 0x4f2810
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, 0x1c
mov eax, dword [0x53e0d0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4f28a4
mov esi, dword [eax + 0x30]
test esi, esi
js 0x4f28c0
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x4f28e0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x4f2898
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004f23a0
cmp eax, 7
jne 0x4f295f
mov eax, dword [0x53e0d0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x4f2936
mov edx, dword [eax + 0x30]
test edx, edx
js 0x4f2950
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x4f2910
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004f25c0
jmp 0x4f2855
call fcn.004f1dd0
mov eax, dword [0x53e0d0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x4f2830
lea esi, [esi]
call fcn.004f20a0
mov eax, dword [0x53e0d0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x4f283b
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x4f283e
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4f2887
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4f2887
call fcn.004f1dd0
mov eax, dword [0x53e0d0]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x4f2879
nop
lea esi, [esi]
call fcn.004f20a0
mov eax, dword [0x53e0d0]
jmp 0x4f2879
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x4f2970
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x4f2a02
mov eax, dword [0x53e0d0]
test eax, eax
je 0x4f29f6
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x4f2a71
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x4f2a17
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.004f25c0
cmp eax, 7
jne 0x4f2a8f
mov eax, dword [0x53e0d0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x4f2a62
mov edx, dword [eax + 0x30]
test edx, edx
js 0x4f2a80
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x4f2a43
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.004f1dd0
mov eax, dword [0x53e0d0]
jmp 0x4f2992
mov dword [esp], edi
call fcn.004f2430
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x4f29a7
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4f29e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4f29e5
call fcn.004f1dd0
mov eax, dword [0x53e0d0]
jmp 0x4f29d0
call fcn.004f20a0
mov eax, dword [0x53e0d0]
jmp 0x4f299d
call fcn.004f20a0
mov eax, dword [0x53e0d0]
jmp 0x4f29db
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x402c00
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x442070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
push 0x43d69c
push ebx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.00419c07
mov edi, eax
add esp, 8
test edi, edi
jne 0x402c68
push ebx
push str._s_cant_be_opened_n
call fcn.00401440
add esp, 8
jmp 0x402cbd
push edi
push 0x400
lea eax, [ebp - 0x40c]
push 1
push eax
call fcn.00419dea
add esp, 0x10
test eax, eax
je 0x402cad
push eax
lea eax, [ebp - 0x40c]
mov ecx, esi
push eax
call fcn.00402a50
push edi
push 0x400
lea eax, [ebp - 0x40c]
push 1
push eax
call fcn.00419dea
add esp, 0x10
test eax, eax
jne 0x402c83
mov ecx, esi
call fcn.00402b00
push edi
call fcn.00419f10
add esp, 4
mov ecx, dword [ebp - 8]
lea eax, [esi + 0x68]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411852
mov esp, ebp
pop ebp
ret 4

Function at 0x4031d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fd92
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x442070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0xf0], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0xec], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xb8], 0x67452301
mov dword [ebp - 0xb4], 0xefcdab89
mov dword [ebp - 0xb0], 0x98badcfe
mov dword [ebp - 0xac], 0x10325476
jb 0x403281
mov eax, dword [esi]
jmp 0x403283
mov eax, esi
push 0
push 0x43d620
mov byte [eax], 0
call fcn.00407660
mov dword [ebp - 4], 0
cmp byte [edi], 0
mov dword [ebp - 0xec], 1
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x4032be
xor ecx, ecx
jmp 0x4032cc
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4032c3
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00407660
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0xe8]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.00419456
add esp, 8
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x14]
setne bl
cmp eax, 0x10
jb 0x40330c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004081d0
test bl, bl
je 0x403342
push edi
lea ecx, [ebp - 0xb8]
call fcn.00402c00
mov edx, eax
cmp byte [edx], 0
jne 0x403327
xor ecx, ecx
jmp 0x403339
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403330
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00407660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411852
mov esp, ebp
pop ebp
ret
Function at 0x404a80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ff98
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x442070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x48], eax
mov al, byte [edi + 0x14]
mov byte [ebp - 0x44], al
lea eax, [edi + 0x18]
push eax
call fcn.00408300
movq xmm0, qword [edi + 0x24]
mov eax, dword [edi + 0x2c]
movq qword [ebp - 0x34], xmm0
movq xmm0, qword [edi + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x38]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x48]
test eax, eax
je 0x404bf8
lea ebx, [edi + 0x4c]
cmp eax, ebx
je 0x404bf1
inc dword [edi + 0x58]
mov eax, dword [edi + 0x60]
sub eax, dword [edi + 0x5c]
sar eax, 2
cmp dword [edi + 0x58], eax
jae 0x404b48
mov ecx, edi
call fcn.004070c0
mov dword [edi + 0x48], eax
jmp 0x404bf8
mov dword [edi + 0x58], 0
mov edx, dword [edi + 8]
test edx, edx
je 0x404bae
mov eax, dword [edi + 0x18]
mov esi, dword [eax + 4]
cmp dword [eax], esi
jne 0x404b85
cmp esi, dword [edi + 4]
je 0x404ba7
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x10]
push dword [edi]
or eax, 0x20
or eax, 0x40
push eax
push dword [edi + 4]
push esi
call fcn.00409700
add esp, 0x10
test al, al
jne 0x404bae
inc esi
push dword [edi]
or dword [edi + 0xc], 0x100
lea ecx, [edi + 0x10]
push dword [edi + 0xc]
mov edx, dword [edi + 8]
push dword [edi + 4]
push esi
call fcn.00409700
add esp, 0x10
test al, al
jne 0x404bae
mov dword [edi + 8], 0
cmp dword [edi + 8], 0
mov ecx, edi
je 0x404bc0
call fcn.004070c0
mov dword [edi + 0x48], eax
jmp 0x404bf8
call fcn.004071c0
test al, al
je 0x404bf1
cmp byte [ebp - 0x20], 0
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
je 0x404bdb
mov ecx, esi
mov eax, edx
jmp 0x404bdf
xor ecx, ecx
xor eax, eax
sub eax, ecx
je 0x404bf1
mov byte [edi + 0x54], 1
mov dword [ebx], esi
mov dword [edi + 0x50], edx
mov dword [edi + 0x48], ebx
jmp 0x404bf8
mov dword [edi + 0x48], 0
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x404c1b
mov ecx, dword [ebp - 0x38]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004082a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4071f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4301cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x442070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0
push dword [esi]
mov edx, dword [esi + 8]
push dword [esi + 0xc]
push dword [esi + 4]
push dword [esi]
call fcn.00409700
add esp, 0x10
test al, al
mov eax, esi
jne 0x4072b2
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407bf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4301f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x442070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x407d1e
cmp byte [ebx + 0x3d], 0
je 0x407d1e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x407c49
xor al, al
jmp 0x407d20
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407590
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x407caf
sub eax, 1
je 0x407cb3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x407d06
xor bl, bl
jmp 0x407d08
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x407ce8
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0041b161
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x407cab
cmp byte [ebx + 0x3d], 0
je 0x407d06
test esi, esi
jne 0x407c71
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00407890
jmp 0x407c6e
mov bl, 1
cmp ecx, 0x10
jb 0x407d1a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004081d0
mov al, bl
jmp 0x407d20
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411852
mov esp, ebp
pop ebp
ret