joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002754f
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10027825
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x732836c1
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7327a687
push 0xffffffffffffffff
call fcn.1001e74f
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100275b9
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100275d1
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x10027819
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100277ed
Function at 0x1003701f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10037041
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10037041
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10037041
ret
cmp word [ebx + 4], 0x14c
jne 0x10037041
test word [ebx + 0x16], 2
je 0x10037041
test word [ebx + 0x16], 0x100
je 0x10037041
cmp word [ebx + 0x18], 0x10b
jne 0x10037041
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10037041
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100370cd
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10037061
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001dfac
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10037041
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x100370cd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10037041
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10037041
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10037041
ret
cmp word [ebx + 4], 0x14c
jne 0x10037041
test word [ebx + 0x16], 2
je 0x10037041
test word [ebx + 0x16], 0x100
je 0x10037041
cmp word [ebx + 0x18], 0x10b
jne 0x10037041
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10037041
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100370cd
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10037061
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001dfac
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10037041
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10037184
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100371dd
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10037184
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10037193
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043ce36
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100371e4
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001e05a
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10037283
add edi, 4
add eax, 2
dec ecx
jne 0x100371c9
call 0x10037230
loope 0x10037226
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10037280
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10037291
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10037244
cmp eax, ecx
ja 0x10037244
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100372ce
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100372c4
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e539
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10037193
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100371dd
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10037184
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10037193
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043ce36
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100371e4
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001e05a
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10037283
add edi, 4
add eax, 2
dec ecx
jne 0x100371c9
call 0x10037230
loope 0x10037226
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10037280
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10037291
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10037244
cmp eax, ecx
ja 0x10037244
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100372ce
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100372c4
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e539
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x639658a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x79f656fb
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
jne 0x570172
xor eax, 0x2e095eb4
cmp eax, dword [esp + 4]
jmp 0x57019c
cld
sub esi, edx
clc
add cl, 0x71
mov esi, esi
mov esi, dword [edx + 0x20]
add esi, ebx
or ecx, 0xffffffff
lodsd eax, dword [esi]
jmp 0x5702dc
xchg dword [esp], eax
sub dword [esp], eax
xchg ah, ah
xchg ah, ah
movzx eax, byte [edi]
jmp 0x57014b
cld
inc edi
clc
nop
not al
not al
lea edi, [edi]
sub dword [esp], eax
cmp byte [edi], 0
nop
pop eax
jmp 0x57005a
cld
mov edx, edx
je 0x5702b0
xor eax, eax
nop
not ah
not ah
push eax
shl eax, 4
jmp 0x5700a7
jne 0x57007f
lea eax, [ebp + ecx - 0x14]
mov edi, dword [edx + 0x1c]
mov esi, dword [edx + 0x24]
add esi, ebx
cld
clc
add edi, ebx
jmp 0x5701cc
cld
lea edx, [0x66852c45]
mov eax, dword [esi + ecx*2]
and eax, 0xffff
mov esi, dword [edi + eax*4]
add dh, al
test dh, bh
mov ch, 0xd2
add esi, ebx
sbb ecx, edx
mov ecx, 0x8c793e02
ret 4
ret
mov eax, dword [ebx + 0x3c]
or edi, 0x79
mov edx, dword [eax + ebx + 0x78]
mov ah, bh
lea edx, [edx + ebx]
jmp 0x57006e
mov edi, 0xcd5bef18
or bh, bh
xchg edi, edi
nop
not al
not al
inc ecx
not dl
not dl
lea edi, [eax + ebx]
nop
not esi
not esi
nop
cmp ecx, dword [edx + 0x18]
jmp 0x570162
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x407467
pop dword [ebp - 0x40]
mov eax, 0x407467
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xecbceed7
sub dword [ebp - 0x50], 0x9e6aa98c
mov dword [ebp - 0x4c], 0xed264037
add dword [ebp - 0x4c], 0x450d0c0e
mov dword [ebp - 0x48], 0x8f845f86
sub dword [ebp - 0x48], 0x43381b58
mov dword [ebp - 0x44], 0x31754a75
add dword [ebp - 0x44], 0xce8ab58b
lea eax, [ebp - 0x50]
push eax
mov eax, 0xc2cb8e44
sub eax, 0xc28b0dcc
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x86352cc3
add dword [ebp - 0x50], 0xee3d3c93
mov dword [ebp - 0x4c], 0x8abdefb
sub dword [ebp - 0x4c], 0xc73f7d86
mov dword [ebp - 0x48], 0x2f740ceb
sub dword [ebp - 0x48], 0xcc04a07f
mov dword [ebp - 0x44], 0x7a35b310
sub dword [ebp - 0x44], 0x7a35b310
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x34bd0
push 0
call eax
mov ecx, 0x350f89a2
add ecx, 0xcaf0b4ea
mov esi, eax
mov edi, 0x451400
add edi, dword [ebp - 0x40]
mov ebx, 0x9b06f662
add ebx, 0x798eb100
mov dword [ebp - 8], 0x7622e05
mov edx, dword [edi]
mov dword [ebp - 0x34], 0x148c504b
xor edx, ebx
xor dword [ebp - 0x2c], ebx
mov dword [esi], edx
xor dword [ebp - 0x20], 0x9e7181b7
add esi, 0x1acf0cff
sub esi, 0x1acf0cfb
add edi, 0x3e389ac8
add edi, 0xc1c7653c
loop 0x407579
add eax, 0xed03
mov ebx, eax
add eax, 5
mov ecx, 0xca35af34
add ecx, 0x360a50cc
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x404dd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
je 0x404df0
test byte [eax + 4], 8
jne 0x404fc0
mov eax, dword [0x4e0d1c]
test eax, eax
je 0x404fcd
mov edi, dword [ebp + 0xc]
mov eax, dword [0x4e07c0]
mov esi, dword [eax + edi*4]
mov ebx, dword [esi + 0xc0]
cmp dword [ebx + 0x2cc], 0
jne 0x404e2e
push 0x214
push str..._.._src_kmp_csupport.c
push str.assertion_failure
call fcn.00410950
add esp, 0xc
mov edx, dword [ebx + 0x704]
test edx, edx
je 0x404e98
mov eax, dword [edx]
cmp eax, dword [ebx + 0x2cc]
jne 0x404e98
mov ecx, dword [ebx + 0x2c0]
push edx
mov eax, dword [ecx]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0xe0]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x34], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x38], ecx
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x3c], ecx
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x40], ecx
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x44], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x48], ecx
mov eax, dword [edx + 0x28]
mov dword [ebx + 0x704], eax
call fcn.004154c0
add esp, 4
mov edx, dword [ebx + 0x198]
dec dword [ebx + 0x2d8]
mov ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ecx + 0xa0]
mov dword [edx + 0x10], eax
call fcn.004154c0
add esp, 4
dec dword [ebx + 0x2cc]
jne 0x404fac
cmp dword [0x459524], 0
je 0x404ef9
movsx eax, byte [ebx + 0x1d4]
test eax, eax
je 0x404ef9
call fcn.00412070
lea eax, [ebx + 0x1d6]
push eax
call fcn.00412050
lea eax, [ebx + 0x1d8]
push eax
call fcn.00412080
add esp, 8
mov eax, dword [ebx + 0x190]
mov dword [esi + 0x40], eax
mov edx, dword [ebx + 0x180]
mov dword [esi + 0x10], edx
mov ecx, dword [ebx + 0x190]
push esi
mov edx, dword [ecx + 0x1c8]
mov dword [esi + 0x54], edx
mov ecx, dword [ebx + 0x190]
mov edx, dword [ecx + 0x2c0]
mov ecx, dword [edx]
mov dword [esi + 0x58], ecx
mov edx, dword [eax + 0x2cc]
mov dword [esi + 0x5c], edx
mov ebx, dword [ebx + 0x180]
shl ebx, 5
add ebx, dword [eax + 0x198]
mov dword [esi + 0x4c], ebx
call fcn.00410b80
add esp, 4
mov edx, dword [esi + 0xe0]
movzx eax, byte [edx + 6]
test al, 0x20
je 0x404f7e
push 0x26f
push str..._.._src_kmp_csupport.c
push str.assertion_failure
call fcn.00410950
add esp, 0xc
mov edx, dword [esi + 0xe0]
movzx eax, byte [edx + 6]
or eax, 0x20
mov byte [edx + 6], al
cmp dword [0x459548], 0
je 0x404fac
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x19c]
test eax, eax
mov dword [esi + 0xdc], eax
je 0x404fac
mov eax, dword [eax + 0x104]
mov byte [esi + 0xe4], al
cmp dword [0x4e0e58], 0
je 0x404fc0
push 0
push edi
call fcn.00414170
add esp, 8
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call fcn.0040fc30
jmp 0x404dfd
Function at 0x4217f0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0x4e0fdc], 0
jne 0x421816
push 0x25e
push str..._.._src_z_Windows_NT_util.c
push str.assertion_failure
call fcn.00410950
add esp, 0xc
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
push edx
push dword [0x4e0d08]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x42188c
push 0x40074
lea eax, [ebp - 0x10]
push eax
call fcn.00416410
add esp, 8
mov ecx, dword [ebp - 0x10]
lea edx, [esp + 4]
mov eax, dword [ebp - 0xc]
mov dword [esp], 2
mov dword [edx], ecx
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
lea eax, [esp + 0x14]
mov edx, dword [0x4e0ea0]
mov dword [eax], edx
mov edx, dword [0x4e0ea4]
mov dword [eax + 4], edx
mov ecx, dword [0x4e0ea8]
mov edx, dword [0x4e0eac]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00416830
mov esp, ebp
pop ebp
ret
Function at 0x421e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
mov dword [ebx + 0x14], eax
jl 0x421e7f
mov edx, dword [0x4e0e5c]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x421e7f
mov edx, dword [0x4e07c0]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x421e7f
cmp edx, dword [ecx + 0x14]
je 0x421f4f
mov edx, dword [0x4e0d40]
xor ecx, ecx
imul edx, eax
lea eax, [ebp - 0x10]
push eax
push 0x10000
push ebx
add edx, dword [ebp + 0x10]
push 0x4219a0
push edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x421ebe
mov dword [ebx + 0xc], eax
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push 0x40088
lea eax, [ebp - 0x30]
push eax
call fcn.00416410
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.00418700
add esp, 0x10
mov ecx, dword [ebp - 0x28]
lea esi, [esp + 4]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
mov dword [esp], 2
mov dword [esi + 8], ecx
lea ecx, [esp + 0x14]
mov edi, dword [ebp - 0x20]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], edx
mov dword [esi + 0xc], ebx
mov dword [ecx], edi
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
lea eax, [esp + 0x24]
mov ebx, dword [0x4e0ea0]
mov esi, dword [0x4e0ea4]
mov dword [ecx + 4], edi
mov dword [ecx + 0xc], edx
mov dword [eax], ebx
mov dword [eax + 4], esi
mov ebx, dword [0x4e0ea8]
mov esi, dword [0x4e0eac]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
call fcn.00416830
jmp 0x421eb1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
xor edx, edx
lea ecx, [ebx + 0xc]
push edx
push edx
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x421f93
push 0x607
push str..._.._src_z_Windows_NT_util.c
push str.assertion_failure
call fcn.00410950
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x1c], eax
cmp dword [0x459518], 2
jge 0x421eb1
push ebx
mov dword [ebx + 4], 0
lea eax, [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 8], 1
call fcn.004070a0
add esp, 4
jmp 0x421eb1
Function at 0x422000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 4], ebx
call fcn.00405760
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4e0fd0], eax
test eax, eax
je 0x42210c
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffd
lea ecx, [ebp - 8]
push ecx
mov dword [ebx + 0x10], eax
mov edx, dword [0x4e0d3c]
test edx, edx
mov dword [ebx + 0x14], eax
jne 0x422049
mov edx, 0x10000
mov eax, dword [0x4594ec]
cmp eax, edx
push 0x10000
push ebx
ja 0x42205a
mov eax, edx
push 0x421ae0
push eax
mov dword [0x4e0d3c], eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42207b
mov dword [ebx + 0xc], eax
mov ebx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push 0x40088
lea eax, [ebp - 0x28]
push eax
call fcn.00416410
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.00418700
add esp, 0x10
mov ebx, dword [ebp - 0x28]
lea ecx, [esp + 4]
mov dword [esp], 2
mov dword [ecx], ebx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
lea edx, [esp + 0x14]
mov dword [ecx + 0xc], ebx
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov dword [edx + 4], eax
lea eax, [esp + 0x24]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ebx
mov edx, dword [0x4e0ea0]
mov dword [eax], edx
mov edx, dword [0x4e0ea4]
mov ecx, dword [0x4e0ea8]
mov ebx, dword [0x4e0eac]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
call fcn.00416830
jmp 0x422074
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push 0x40089
lea eax, [ebp - 0x48]
push eax
call fcn.00416410
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.00418700
add esp, 0x10
mov ebx, dword [ebp - 0x48]
lea ecx, [esp + 4]
mov dword [esp], 2
mov dword [ecx], ebx
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
lea edx, [esp + 0x14]
mov dword [ecx + 0xc], ebx
mov ecx, dword [ebp - 0x38]
mov dword [edx], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [edx + 4], eax
lea eax, [esp + 0x24]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ebx
mov edx, dword [0x4e0ea0]
mov dword [eax], edx
mov edx, dword [0x4e0ea4]
mov ecx, dword [0x4e0ea8]
mov ebx, dword [0x4e0eac]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
call fcn.00416830
jmp 0x422028
Function at 0x424ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
cmp dword [0x4e120c], 0
jne 0x424b4a
push 0xffffffffffffffff
push 0x459d40
call fcn.004158d0
add esp, 8
cmp dword [0x4e120c], 0
jne 0x424b3b
xor eax, eax
mov dword [0x4e1000], 0x4e100c
mov dword [0x4e1004], 0x200
mov dword [0x4e1008], eax
mov byte [0x4e100c], al
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, 0xffffffff
je 0x424c82
test eax, eax
je 0x424c82
mov dword [0x4e1210], eax
mov dword [0x4e120c], 1
push 0xffffffffffffffff
push 0x459d40
call fcn.00415910
add esp, 8
cmp dword [0x4e1210], 0
jne 0x424b5d
cmp dword [ebp + 8], 1
jne 0x424b5d
mov esp, ebp
pop ebp
ret
cmp dword [0x4e0e08], 0
je 0x424c3f
mov esi, dword [0x4e0e10]
test esi, esi
je 0x424c3f
cmp dword [0x4e0e0c], 0
jne 0x424b91
mov eax, dword [0x4e0e14]
lea edx, [eax + 1]
mov dword [0x4e0e14], edx
jmp 0x424ba6
push 1
push 0x4e0e14
call fcn.00411e70
add esp, 8
mov esi, dword [0x4e0e10]
cdq
mov ecx, dword [0x45954c]
idiv ecx
imul edx, dword [0x459550]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
add esi, edx
push esi
call fcn.0043c386
add esp, 0xc
mov ebx, eax
mov eax, dword [0x459550]
cmp ebx, eax
jl 0x424be9
cmp ebx, dword [0x4e0e18]
jge 0x424bf3
mov byte [esi + eax - 2], 0xa
mov eax, dword [0x459550]
mov byte [esi + eax - 1], 0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
inc ebx
push ebx
push str.OMP_warning:_Debugging_buffer_overflow__increase_KMP_DEBUG_BUF_CHARS_to__d_n
push 0x4e1000
call fcn.00425b10
add esp, 0xc
push 0
lea eax, [ebp - 0xc]
push eax
push dword [0x4e1008]
push dword [0x4e1000]
push dword [0x4e1210]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x4e1000
call fcn.004255c0
add esp, 4
mov dword [0x4e0e18], ebx
mov eax, dword [0x459550]
jmp 0x424bda
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x4e1000
call fcn.00425980
add esp, 0xc
push 0
lea eax, [ebp - 0xc]
push eax
push dword [0x4e1008]
push dword [0x4e1000]
push dword [0x4e1210]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x4e1000
call fcn.004255c0
add esp, 4
jmp 0x424be9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4e1210], 0
jmp 0x424b31