joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bfb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4440c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45703c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x45702c]
cmp eax, 0xffffffff
jne 0x40bfe6
xor ebx, ebx
jmp 0x40bfef
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x40c0d7
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
mov esi, eax
nop dword [eax]
mov edx, ecx
mov edi, esi
test edx, edx
jne 0x40c020
test eax, eax
je 0x40c0b2
test edx, edx
mov esi, eax
cmovne esi, edi
test esi, esi
je 0x40c077
nop dword [eax + eax]
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x40c05b
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebx + 0xc]
mov esi, eax
test eax, eax
jne 0x40c030
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x40c010
nop dword [eax + eax]
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x40c099
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x40c099
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.0040b220
mov ecx, dword [ebx + 0x18]
test ecx, ecx
jne 0x40c080
jmp 0x40c004
push 0x40af50
push 0x458ed4
call fcn.0040ac10
mov eax, dword [0x45702c]
add esp, 8
cmp eax, 0xffffffff
je 0x40c0d7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x40c104
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x40c104
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
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 0x40c120
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x40c180
push 0
push 0
call dword [0x4475e4]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x40c14a
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
push edi
add eax, 4
lock inc dword [eax]
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x40c168
cmp eax, 0xffffffff
je 0x40c168
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x40ec50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
test esi, esi
jne 0x40ec75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
lea eax, [esi + 1]
je 0x40ec77
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4104d3
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push esi
add esi, 0x4a6e
pop esi
push edx
add edx, 0xd687
xor edx, 0x1608b
pop edx
push ebx
push ebx
add esp, 4
and ebx, 0x4f3f
call 0x41028f
add byte [edi + 0x38], cl
inc ebp
aas
inc edx
inc ecx
aaa
add esp, 4
pop ebx
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
mov edx, 0x53
mov word [ebp - 0x1ef0], dx
mov eax, 0x65
mov word [ebp - 0x1eee], ax
mov ecx, 0x72
mov word [ebp - 0x1eec], cx
mov edx, 0x76
mov word [ebp - 0x1eea], dx
mov eax, 0x69
mov word [ebp - 0x1ee8], ax
mov ecx, 0x63
mov word [ebp - 0x1ee6], cx
mov edx, 0x65
mov word [ebp - 0x1ee4], dx
mov eax, 0x2e
mov word [ebp - 0x1ee2], ax
mov ecx, 0x65
mov word [ebp - 0x1ee0], cx
mov edx, 0x78
mov word [ebp - 0x1ede], dx
mov eax, 0x65
mov word [ebp - 0x1edc], ax
xor ecx, ecx
mov word [ebp - 0x1eda], cx
mov dword [ebp - 0xfac], 1
push edx
add edx, 0xa830
jmp 0x410352
xor edx, 0x4cc1
call 0x410368
add byte [ebp + 0x3b], cl
dec ecx
dec edi
xor bh, byte [esi]
cmp dword [edx], esi
inc ebx
cmp byte [ebx + 0x525a04c4], al
and edx, 0x100d
pop edx
imul edx, dword [ebp - 0xfac], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0xfac], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0xfac]
imul ecx, dword [ebp - 0xfac], 0x138
sub edx, ecx
mov dword [ebp - 0xfb0], edx
push ebx
xor ebx, 0x99ec
sub ebx, 0x73af
xor ebx, 0x5f03
and ebx, 0x133a0
pop ebx
push esi
push esi
add esp, 4
or esi, 0xe737
and esi, 0xb1b2
or esi, 0x34d3
pop esi
mov dword [ebp - 0x10], 1
push esi
jmp 0x4103f1
add esi, 0xcf88
pop esi
push edi
or edi, 0x13eee
or edi, 0x9593
and edi, 0xbf40
or edi, 0x11b86
pop edi
push ebx
xor ebx, 0x16e16
pop ebx
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
sub edx, ecx
mov dword [ebp - 0x14], edx
push ecx
jmp 0x41044d
sub ecx, 0x15513
pop ecx
push ebx
push ebx
add esp, 4
add ebx, 0x8a61
pop ebx
push eax
push edi
add esp, 4
xor eax, 0x13cc
and eax, 0xf9c9
xor eax, 0x139ac
pop eax
push esi
add esi, 0x15868
sub esi, 0x7299
or esi, 0x73e0
pop esi
push edx
push edx
add esp, 4
xor edx, 0x15718
add edx, 0x1709a
add edx, 0x1180
or edx, 0x13cca
pop edx
mov dword [ebp - 0x2c], 1
push ebx
push edi
add esp, 4
call 0x4104c2
add byte [edx + 0x4a], al
dec ecx
xor eax, dword [esi - 0x7d]
les eax, [eax + ebp*8]
or dword [eax], eax
add byte [eax], al
add byte [ecx + 0x44], al
xor eax, dword [eax + 0x41]
cmp eax, dword [esp + esi - 0x7d]
les eax, [ecx + eax*4]
ret
Function at 0x414feb
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x414ffd
add byte [esi], dh
inc edx
dec ebp
xor bh, byte [esi]
cmp eax, dword [edi - 0x7d]
les eax, [ecx + eax*4]
jmp 0x4245e6
push ss
mov esi, 0x6065b9c
push es
mov ecx, ds
jl 0x424610
push ss
mov esi, 0x6056b8c
push es
push ss
mov esi, 0x6065b94
push es
xor cl, al
nop
mov word [edi - 0xc], cs
push es
push es
push 0x16
mov esi, 0x6056b9c
push es
push ss
mov esi, 0x6065b8c
push es
inc edx
xlatb
push ss
mov edx, dword [eax]
push es
push es
push es
push ss
mov esi, 0x6056b94
push es
mov bh, al
daa
push ss
mov esi, 0x6065b9c
push es
inc edx
rcl dword [esi]
mov esi, edi
add eax, 0xbe160606
mov word [ebx + 5], gs
push es
push es
push ss
mov esi, 0x6065b94
push es
inc edx
enter 0x1384, 0xffffffffffffffce
mov word [ebx - 0xc], ss
push es
push es
push es
push es
push es
push es
adc esi, ecx
mov word [ebx - 0xc], ss
push es
push es
or byte [edi], al
pop es
pop es
xchg edx, eax
pushfd
push ebx
hlt

Function at 0x414ffd
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x414ffd
add byte [esi], dh
inc edx
dec ebp
xor bh, byte [esi]
cmp eax, dword [edi - 0x7d]
les eax, [ecx + eax*4]
jmp 0x4245e6
push ss
mov esi, 0x6065b9c
push es
mov ecx, ds
jl 0x424610
push ss
mov esi, 0x6056b8c
push es
push ss
mov esi, 0x6065b94
push es
xor cl, al
nop
mov word [edi - 0xc], cs
push es
push es
push 0x16
mov esi, 0x6056b9c
push es
push ss
mov esi, 0x6065b8c
push es
inc edx
xlatb
push ss
mov edx, dword [eax]
push es
push es
push es
push ss
mov esi, 0x6056b94
push es
mov bh, al
daa
push ss
mov esi, 0x6065b9c
push es
inc edx
rcl dword [esi]
mov esi, edi
add eax, 0xbe160606
mov word [ebx + 5], gs
push es
push es
push ss
mov esi, 0x6065b94
push es
inc edx
enter 0x1384, 0xffffffffffffffce
mov word [ebx - 0xc], ss
push es
push es
push es
push es
push es
push es
adc esi, ecx
mov word [ebx - 0xc], ss
push es
push es
or byte [edi], al
pop es
pop es
xchg edx, eax
pushfd
push ebx
hlt
Function at 0x415f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push eax
add esp, 4
and edx, 0x10268
jmp 0x415e69
sub edx, 0x13262
or edx, 0x12a6f
pop edx
push ecx
push edx
add esp, 4
xor ecx, 0x12c21
and ecx, 0xb7d5
pop ecx
lea eax, [ebp - 0x16e8]
mov dword [ebp - 0xc54], eax
mov ecx, dword [ebp - 0x4e8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc50], edx
xor eax, eax
mov word [ebp - 0x208], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push edx
push esi
add esp, 4
jmp 0x415ebf
jmp 0x415ec5
pop edx
push esi
push edi
add esp, 4
or esi, 0x117db
and esi, 0x15828
or esi, 0x3ffb
or esi, 0xce05
pop esi
mov edx, dword [ebp - 0xc50]
mov ax, word [edx]
mov word [ebp - 0xf8e], ax
mov ecx, dword [ebp - 0xc50]
add ecx, 2
mov dword [ebp - 0xc50], ecx
mov dx, word [ebp - 0xf8e]
mov word [ebp - 0x208], dx
mov eax, dword [ebp - 0xc54]
mov cx, word [eax]
mov word [ebp - 0xf90], cx
mov edx, dword [ebp - 0xc54]
add edx, 2
mov dword [ebp - 0xc54], edx
mov ax, word [ebp - 0xf90]
mov word [ebp - 0x3c], ax
push ecx
push ebx
add esp, 4
or ecx, 0x9599
add ecx, 0x4396
pop ecx
push ecx
push edi
add esp, 4
add ecx, 0x4144
pop ecx
push ecx
add ecx, 0x11bc4
add ecx, 0x6298
or ecx, 0x17458
pop ecx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x415f8a
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x415fe4
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x415eb2
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x415eb2
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x415fce
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x415fd8
invalid
invalid
Function at 0x4166d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
xor ecx, 0x17a12
pop ecx
push ecx
push ebx
add esp, 4
sub ecx, 0x12f4
call fcn.004166d8
add byte [eax], bh
dec edi
xor al, 0x43
cmp byte [ecx + 0x3a], al
cmp eax, 0x8104c483
add esp, 4
or ecx, 0xb4d6
sub ecx, 0x5e98
pop ecx
mov edx, dword [ebp - 0xc60]
mov ax, word [edx]
add esp, 4
or ecx, 0xb4d6
sub ecx, 0x5e98
pop ecx
mov edx, dword [ebp - 0xc60]
mov ax, word [edx]
mov word [ebp - 0xf92], ax
mov ecx, dword [ebp - 0xc60]
add ecx, 2
mov dword [ebp - 0xc60], ecx
mov dx, word [ebp - 0xf92]
mov word [ebp - 0x20c], dx
mov eax, dword [ebp - 0xc64]
mov cx, word [eax]
mov word [ebp - 0xf94], cx
mov edx, dword [ebp - 0xc64]
add edx, 2
mov dword [ebp - 0xc64], edx
mov ax, word [ebp - 0xf94]
mov word [ebp - 0x40], ax
push edx
add edx, 0x34fe
pop edx
push ecx
call 0x416756
add byte [esi], bh
inc ebp
inc esi
dec edx
cmp eax, 0x834b3b4f
les eax, [ecx + ebx*2]
push edi
push edx
add esp, 4
and edi, 0x12634
pop edi
push edx
push edi
add esp, 4
jmp 0x416770
pop edx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x41678e
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x157c], edx
jmp 0x4167e8
movzx ecx, word [ebp - 0x20c]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x4166b6
movzx eax, word [ebp - 0x20c]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x4166b6
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x4167d2
mov dword [ebp - 0x1578], 0xffffffff
jmp 0x4167dc
mov dword [ebp - 0x1578], 1
mov ecx, dword [ebp - 0x1578]
mov dword [ebp - 0x157c], ecx
cmp dword [ebp - 0x157c], 0
jne 0x416831
push ebx
add ebx, 0x18512
add ebx, 0x1869a
pop ebx
push ebx
push ecx
add esp, 4
or ebx, 0x15a69
call 0x416819
add byte [edx + 0x49], cl
cmp byte [esp + edi + 0x43], al
dec edx
add esp, 4
add ebx, 0x1f8e
pop ebx
mov edx, dword [ebp - 0x4ec]
mov dword [ebp - 0x2a8], edx
jmp 0x416899
push edx
push esi
add esp, 4
xor edx, 0x3ea0
call 0x41684a
add byte [edi], bh
aas
inc edx
inc ecx
dec edx
xor al, 0x33
dec esi
add esp, 4
pop edx
push edi
sub edi, 0x21fa
or edi, 0x3953
pop edi
push esi
jmp 0x416862
pop esi
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [eax]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
cmp edx, dword [ebp - 0xc68]
je 0x41688f
mov eax, dword [ebp - 0x4ec]
cmp dword [eax + 0x30], 0
jne 0x41665a
mov dword [ebp - 0x2a8], 0
Function at 0x416756
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
xor ecx, 0x17a12
pop ecx
push ecx
push ebx
add esp, 4
sub ecx, 0x12f4
call fcn.004166d8
add byte [eax], bh
dec edi
xor al, 0x43
cmp byte [ecx + 0x3a], al
cmp eax, 0x8104c483
add esp, 4
or ecx, 0xb4d6
sub ecx, 0x5e98
pop ecx
mov edx, dword [ebp - 0xc60]
mov ax, word [edx]
add esp, 4
or ecx, 0xb4d6
sub ecx, 0x5e98
pop ecx
mov edx, dword [ebp - 0xc60]
mov ax, word [edx]
mov word [ebp - 0xf92], ax
mov ecx, dword [ebp - 0xc60]
add ecx, 2
mov dword [ebp - 0xc60], ecx
mov dx, word [ebp - 0xf92]
mov word [ebp - 0x20c], dx
mov eax, dword [ebp - 0xc64]
mov cx, word [eax]
mov word [ebp - 0xf94], cx
mov edx, dword [ebp - 0xc64]
add edx, 2
mov dword [ebp - 0xc64], edx
mov ax, word [ebp - 0xf94]
mov word [ebp - 0x40], ax
push edx
add edx, 0x34fe
pop edx
push ecx
call 0x416756
add byte [esi], bh
inc ebp
inc esi
dec edx
cmp eax, 0x834b3b4f
les eax, [ecx + ebx*2]
push edi
push edx
add esp, 4
and edi, 0x12634
pop edi
push edx
push edi
add esp, 4
jmp 0x416770
pop edx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x41678e
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x157c], edx
jmp 0x4167e8
movzx ecx, word [ebp - 0x20c]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x4166b6
movzx eax, word [ebp - 0x20c]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x4166b6
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x4167d2
mov dword [ebp - 0x1578], 0xffffffff
jmp 0x4167dc
mov dword [ebp - 0x1578], 1
mov ecx, dword [ebp - 0x1578]
mov dword [ebp - 0x157c], ecx
cmp dword [ebp - 0x157c], 0
jne 0x416831
push ebx
add ebx, 0x18512
add ebx, 0x1869a
pop ebx
push ebx
push ecx
add esp, 4
or ebx, 0x15a69
call 0x416819
add byte [edx + 0x49], cl
cmp byte [esp + edi + 0x43], al
dec edx
add esp, 4
add ebx, 0x1f8e
pop ebx
mov edx, dword [ebp - 0x4ec]
mov dword [ebp - 0x2a8], edx
jmp 0x416899
push edx
push esi
add esp, 4
xor edx, 0x3ea0
call 0x41684a
add byte [edi], bh
aas
inc edx
inc ecx
dec edx
xor al, 0x33
dec esi
add esp, 4
pop edx
push edi
sub edi, 0x21fa
or edi, 0x3953
pop edi
push esi
jmp 0x416862
pop esi
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [eax]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
cmp edx, dword [ebp - 0xc68]
je 0x41688f
mov eax, dword [ebp - 0x4ec]
cmp dword [eax + 0x30], 0
jne 0x41665a
mov dword [ebp - 0x2a8], 0
Function at 0x416819
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
xor ecx, 0x17a12
pop ecx
push ecx
push ebx
add esp, 4
sub ecx, 0x12f4
call fcn.004166d8
add byte [eax], bh
dec edi
xor al, 0x43
cmp byte [ecx + 0x3a], al
cmp eax, 0x8104c483
add esp, 4
or ecx, 0xb4d6
sub ecx, 0x5e98
pop ecx
mov edx, dword [ebp - 0xc60]
mov ax, word [edx]
add esp, 4
or ecx, 0xb4d6
sub ecx, 0x5e98
pop ecx
mov edx, dword [ebp - 0xc60]
mov ax, word [edx]
mov word [ebp - 0xf92], ax
mov ecx, dword [ebp - 0xc60]
add ecx, 2
mov dword [ebp - 0xc60], ecx
mov dx, word [ebp - 0xf92]
mov word [ebp - 0x20c], dx
mov eax, dword [ebp - 0xc64]
mov cx, word [eax]
mov word [ebp - 0xf94], cx
mov edx, dword [ebp - 0xc64]
add edx, 2
mov dword [ebp - 0xc64], edx
mov ax, word [ebp - 0xf94]
mov word [ebp - 0x40], ax
push edx
add edx, 0x34fe
pop edx
push ecx
call 0x416756
add byte [esi], bh
inc ebp
inc esi
dec edx
cmp eax, 0x834b3b4f
les eax, [ecx + ebx*2]
push edi
push edx
add esp, 4
and edi, 0x12634
pop edi
push edx
push edi
add esp, 4
jmp 0x416770
pop edx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x41678e
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x157c], edx
jmp 0x4167e8
movzx ecx, word [ebp - 0x20c]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x4166b6
movzx eax, word [ebp - 0x20c]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x4166b6
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x4167d2
mov dword [ebp - 0x1578], 0xffffffff
jmp 0x4167dc
mov dword [ebp - 0x1578], 1
mov ecx, dword [ebp - 0x1578]
mov dword [ebp - 0x157c], ecx
cmp dword [ebp - 0x157c], 0
jne 0x416831
push ebx
add ebx, 0x18512
add ebx, 0x1869a
pop ebx
push ebx
push ecx
add esp, 4
or ebx, 0x15a69
call 0x416819
add byte [edx + 0x49], cl
cmp byte [esp + edi + 0x43], al
dec edx
add esp, 4
add ebx, 0x1f8e
pop ebx
mov edx, dword [ebp - 0x4ec]
mov dword [ebp - 0x2a8], edx
jmp 0x416899
push edx
push esi
add esp, 4
xor edx, 0x3ea0
call 0x41684a
add byte [edi], bh
aas
inc edx
inc ecx
dec edx
xor al, 0x33
dec esi
add esp, 4
pop edx
push edi
sub edi, 0x21fa
or edi, 0x3953
pop edi
push esi
jmp 0x416862
pop esi
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [eax]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
cmp edx, dword [ebp - 0xc68]
je 0x41688f
mov eax, dword [ebp - 0x4ec]
cmp dword [eax + 0x30], 0
jne 0x41665a
mov dword [ebp - 0x2a8], 0
Function at 0x41684a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
xor ecx, 0x17a12
pop ecx
push ecx
push ebx
add esp, 4
sub ecx, 0x12f4
call fcn.004166d8
add byte [eax], bh
dec edi
xor al, 0x43
cmp byte [ecx + 0x3a], al
cmp eax, 0x8104c483
add esp, 4
or ecx, 0xb4d6
sub ecx, 0x5e98
pop ecx
mov edx, dword [ebp - 0xc60]
mov ax, word [edx]
add esp, 4
or ecx, 0xb4d6
sub ecx, 0x5e98
pop ecx
mov edx, dword [ebp - 0xc60]
mov ax, word [edx]
mov word [ebp - 0xf92], ax
mov ecx, dword [ebp - 0xc60]
add ecx, 2
mov dword [ebp - 0xc60], ecx
mov dx, word [ebp - 0xf92]
mov word [ebp - 0x20c], dx
mov eax, dword [ebp - 0xc64]
mov cx, word [eax]
mov word [ebp - 0xf94], cx
mov edx, dword [ebp - 0xc64]
add edx, 2
mov dword [ebp - 0xc64], edx
mov ax, word [ebp - 0xf94]
mov word [ebp - 0x40], ax
push edx
add edx, 0x34fe
pop edx
push ecx
call 0x416756
add byte [esi], bh
inc ebp
inc esi
dec edx
cmp eax, 0x834b3b4f
les eax, [ecx + ebx*2]
push edi
push edx
add esp, 4
and edi, 0x12634
pop edi
push edx
push edi
add esp, 4
jmp 0x416770
pop edx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x41678e
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x157c], edx
jmp 0x4167e8
movzx ecx, word [ebp - 0x20c]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x4166b6
movzx eax, word [ebp - 0x20c]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x4166b6
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x4167d2
mov dword [ebp - 0x1578], 0xffffffff
jmp 0x4167dc
mov dword [ebp - 0x1578], 1
mov ecx, dword [ebp - 0x1578]
mov dword [ebp - 0x157c], ecx
cmp dword [ebp - 0x157c], 0
jne 0x416831
push ebx
add ebx, 0x18512
add ebx, 0x1869a
pop ebx
push ebx
push ecx
add esp, 4
or ebx, 0x15a69
call 0x416819
add byte [edx + 0x49], cl
cmp byte [esp + edi + 0x43], al
dec edx
add esp, 4
add ebx, 0x1f8e
pop ebx
mov edx, dword [ebp - 0x4ec]
mov dword [ebp - 0x2a8], edx
jmp 0x416899
push edx
push esi
add esp, 4
xor edx, 0x3ea0
call 0x41684a
add byte [edi], bh
aas
inc edx
inc ecx
dec edx
xor al, 0x33
dec esi
add esp, 4
pop edx
push edi
sub edi, 0x21fa
or edi, 0x3953
pop edi
push esi
jmp 0x416862
pop esi
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [eax]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
cmp edx, dword [ebp - 0xc68]
je 0x41688f
mov eax, dword [ebp - 0x4ec]
cmp dword [eax + 0x30], 0
jne 0x41665a
mov dword [ebp - 0x2a8], 0
Function at 0x434690
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, ecx
mov dword [ebp - 0x18], eax
push ebx
push edi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str.System
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x434810
push esi
mov dword [ebp - 0x24], edi
mov ebx, 0x10000
push ebx
mov dword [ebp - 0x10], ebx
call dword [0x447560]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 2
test esi, esi
jne 0x434738
mov ebx, dword [ebp - 0x18]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
pop esi
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
push 0
push 9
push edi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
test eax, eax
jne 0x43477b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x434825
mov ebx, dword [ebp - 0x1c]
push ebx
push esi
mov dword [ebp - 0x10], ebx
call dword [0x447558]
add esp, 8
test eax, eax
je 0x434825
jmp 0x434738
mov ebx, dword [ebp - 0x20]
mov edi, esi
add ebx, esi
cmp esi, ebx
jae 0x434732
lea eax, [edi + 0x38]
mov ecx, str.EventLog
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4347b0
test dl, dl
je 0x4347ac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4347b0
add ecx, 2
add eax, 2
test dl, dl
jne 0x434790
xor eax, eax
jmp 0x4347b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4347c1
cmp word [edi + 0x14], 0x1775
je 0x4347cc
add edi, dword [edi]
cmp edi, ebx
jb 0x434786
jmp 0x434732
push dword [edi + 0xc]
lea eax, [ebp - 0x3c]
push 0x4499c8
push eax
call fcn.00419060
lea ecx, [ebp - 0x3c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4347e6
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x3c]
sub ecx, edx
push ecx
push eax
mov ecx, ebx
call fcn.00402270
push esi
call dword [0x447550]
mov edi, dword [ebp - 0x14]
add esp, 4
jmp 0x434718
mov ebx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
call dword [0x447550]
add esp, 4
mov byte [ebp - 4], 0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x2c]
call fcn.00434310
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00434370
push 0x452a9c
lea eax, [ebp - 0x68]
push eax
call fcn.0040e96c
int3
Function at 0x4369a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
xor eax, eax
mov dword [ebp - 0x20], 0x310030
mov dword [ebp - 0x1c], 0x330032
mov dword [ebp - 0x18], 0x350034
mov dword [ebp - 0x14], 0x370036
mov dword [ebp - 0x10], 0x390038
mov dword [ebp - 0xc], 0x420041
mov dword [ebp - 8], 0x440043
mov dword [ebp - 4], 0x460045
test ebx, ebx
je 0x436a1e
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
movzx ecx, byte [eax + edi]
lea edx, [edx + 2]
shr ecx, 4
movzx ecx, word [ebp + ecx*2 - 0x20]
mov word [esi + edx*2 - 4], cx
movsx ecx, byte [eax + edi]
inc eax
and ecx, 0xf
movzx ecx, word [ebp + ecx*2 - 0x20]
mov word [esi + edx*2 - 2], cx
cmp eax, ebx
jne 0x4369f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret