joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45673c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x46f790]
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 0x456787
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004568b2
test al, al
jne 0x456781
sub edx, 2
cmp edx, edi
jne 0x456767
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4567a9
lea eax, [edi + 2]
cmp edx, eax
je 0x4567a9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00456688
add esp, 0x10
jmp 0x4568a3
push esi
lea ecx, [ebp - 0x255]
call fcn.004568b2
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 0x4567ec
push dword [ebp - 0x25c]
jmp 0x456799
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 0x456829
cmp word [ebp - 0x226], 0
je 0x45684a
cmp word [ebp - 0x226], ax
jne 0x456829
cmp word [ebp - 0x224], 0
je 0x45684a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00456688
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x456896
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x456803
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x45687e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4568a3
push 0x4568d6
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0045f210
add esp, 0x10
jmp 0x456873
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.0043ed58
leave
ret
Function at 0x45768f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x470be0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4576cf
cmp byte [ebx], 0xa
jne 0x4576cf
or byte [eax + edi + 0x28], 4
jmp 0x4576d4
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4577d2
mov al, byte [edx]
cmp al, 0x1a
je 0x4577b4
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x457703
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x457728
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x457732
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4576e5
jmp 0x4577d2
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4577af
cmp dword [ebp - 0xc], 0
je 0x4577af
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x470be0]
test byte [eax + edi + 0x28], 0x48
je 0x457789
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x457774
mov byte [esi], dl
jmp 0x457785
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x470be0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4577d2
cmp byte [ebp - 1], 0xa
jne 0x457798
cmp esi, ebx
jne 0x457798
mov byte [esi], 0xa
jmp 0x4577d1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0045563a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4577d2
mov byte [esi], 0xd
jmp 0x4577d1
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x470be0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4577ce
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4577d2
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4577db
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x470be0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45781e
cmp word [esi], dx
jne 0x45781e
or byte [edi + eax + 0x28], 4
jmp 0x457823
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x457976
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x457956
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x457865
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x45789b
cmp eax, edx
jae 0x4578a7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x45783d
jmp 0x457976
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x457952
cmp dword [ebp - 0x14], 0
je 0x457952
mov eax, dword [ebx*4 + 0x470be0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x45792a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4578f3
mov word [esi], cx
jmp 0x457926
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x470be0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x470be0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x470be0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x457976
pop ebx
cmp word [ebp - 4], bx
jne 0x45793b
cmp esi, dword [ebp + 0xc]
jne 0x45793b
mov word [esi], bx
jmp 0x457973
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0045563a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x457976
push 0xd
jmp 0x45796f
mov ecx, dword [ebx*4 + 0x470be0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x45796d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x457976
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x457a3a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x457a4b
pop esi
ret
push ebx
push edi
push esi
call fcn.00457a88
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004532ef
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x457a73
push ebx
push esi
push edi
call fcn.004409a0
add esp, 0xc
push 0
call fcn.004529a4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x457abf
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00457aca

Function at 0x45b163
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045b16e
Function at 0x406bc4
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov eax, edx
xor edi, edi
or esi, 0xffffffff
mov dword [ebp - 0xc], eax
mov ebx, ecx
mov dword [eax], esi
mov dword [ebp - 4], 0x7d
movzx eax, word [ebx]
mov edx, 0x86
lea ecx, [edx - 1]
cmp ax, cx
je 0x406c6c
add ecx, 5
cmp ax, cx
je 0x406c6c
cmp ax, dx
je 0x406c6c
lea ecx, [edx + 5]
cmp ax, cx
Function at 0x408b8e
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
mov dword [ebp - 8], 0x21
mov dword [ebp - 0xc], 0x61

Function at 0x408e6e
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
les edx, [eax*4 + 0xf8c74c0]
mov bh, 0x45
cld
push ebp
mov ebp, esp
sub esp, 0x24
and al, 0x8b
rcl dword [ebx - 0x77], 0x55
fmul qword [ebx - 0x74a9efab]
xor byte [ebx], dh
leave
inc ecx
shr edx, 0xb
push edi
movzx edi, word [esi + 2]
and edx, ecx
xor ebx, ebx
add esi, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
test edx, edx
je 0x408eb1
mov eax, edi
and eax, 0xfc00
cmp eax, 0xd800
invalid
test byte [eax + 0x5a], bl

Function at 0x40a300
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push ebx
push esi
push edi
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 8], eax
test edi, edi
je 0x48326a
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x44], 0
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x1c], ecx
cmp eax, dword [ebx + 4]
jae 0x48b879
add al, 0x4d
or dh, ah
dec ecx
Function at 0x41e422
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, word [ecx]
push ebx
push esi
push edi
mov edi, edx
test ax, ax
je 0x41e4aa
push 0x10
pop esi
mov ebx, 0x95
add byte [eax], al
mov dword [ebp - 8], esi
mov dword [ebp - 4], 0xf

Function at 0x470a1d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
add esi, 4
movzx ebx, word [esi - 2]
movzx eax, word [esi]
push edi
mov edi, edx
test ax, ax
je 0x470a8b
push 0x5d
pop edx
cmp ax, 0x5c
jne 0x470a47
cmp word [esi + 2], dx
jne 0x470a47
add esi, 2
jmp 0x470a80
cmp ax, dx
je 0x470a8b
cmp ax, bx
jne 0x470a57
cmp word [esi + 2], dx
je 0x470a91
cmp ax, 0x5b
jne 0x470a80
movzx eax, word [esi + 2]
cmp eax, 0x3a
je 0x470a70
cmp eax, 0x2e
je 0x470a70
cmp eax, 0x3d
jne 0x470a80
mov edx, edi
mov ecx, esi
call 0xc9470a1d
test eax, eax
jne 0x470a8b
push 0x5d
pop edx
add esi, 2
movzx eax, word [esi]
test ax, ax
jne 0x470a36
xor eax, eax
pop edi
pop esi
xor eax, ebx
xor eax, eax
mov dword [edi], esi
inc eax
jmp 0x470a8d
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x42206b7d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x65906907
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4bc999
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c53d0
cmp edx, dword [eax]
je 0x4bc9bb
add eax, 8
inc ecx
cmp eax, 0x4c5460
jl 0x4bc9ac
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c53d0]
jne 0x4bcae9
mov eax, dword [0x4cad60]
cmp eax, 1
je 0x4bcac3
test eax, eax
jne 0x4bc9ec
cmp dword [0x4c52fc], 1
je 0x4bcac3
cmp edx, 0xfc
je 0x4bcae9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bca23
lea eax, [ebp - 0x1a4]
push 0x4c1bb8
push eax
call fcn.004bd380
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd810
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bca66
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd810
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1bb4
push edi
call fcn.004bf6e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1b98
push eax
call fcn.004bd380
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd390
lea eax, [ebp - 0xa0]
push 0x4c1b94
push eax
call fcn.004bd390
push dword [esi + 0x4c53d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd390
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1b6c
push eax
call fcn.004bf654
add esp, 0x2c
pop edi
jmp 0x4bcae9
lea eax, [ebp + 8]
lea esi, [esi + 0x4c53d4]
push 0
push eax
push dword [esi]
call fcn.004bd810
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x12a8a460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x12a8a860]
xor edx, dword [ebx*4 + 0x12a8ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x12a8a460]
add ecx, 4
xor edx, dword [eax*4 + 0x12a8b060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x12a8a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x12a8ac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x12a8a460]
add ecx, 4
xor eax, dword [edx*4 + 0x12a8b060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x12a8a860]
xor edx, dword [ebx*4 + 0x12a8ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x12a8a460]
xor edx, dword [eax*4 + 0x12a8b060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x12a8a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x12a8ac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x12a8a460]
xor eax, dword [edx*4 + 0x12a8b060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x12a8a860]
xor edx, dword [ebx*4 + 0x12a8ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x12a8a460]
xor edx, dword [eax*4 + 0x12a8b060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x12a8a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x12a8ac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x12a8a460]
and edx, 0xff
xor eax, dword [edx*4 + 0x12a8b060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x12a8a860]
xor edx, dword [ebx*4 + 0x12a8ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x12a8a460]
add ecx, 4
xor edx, dword [eax*4 + 0x12a8b060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x12a8a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x12a8ac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x12a8a460]
and edx, 0xff
xor eax, dword [edx*4 + 0x12a8b060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x12a8a860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x12a8ac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x12a8a460]
and eax, 0xff
xor edi, dword [eax*4 + 0x12a8b060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x12a8a460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret
Function at 0x401034
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
movzx eax, word [ebp + 8]
push esi
push edi
push eax
mov edi, ecx
push dword [0x4570f4]
mov dword [ebp - 0x30], edi
call dword [ebp - 0x75]
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push ecx
push esi
add esp, 4
sub ecx, 0xc8c1
call fcn.00401076
add byte [ecx + eax*2 + 0x4f], al
dec eax
aaa
xor edi, dword [edx]
cmp eax, dword [ebx - 0x1e7efb3c]
add esp, 4
and ecx, 0xa862
xor ecx, 0x2b6c
pop ecx
push edx

Function at 0x401050
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
movzx eax, word [ebp + 8]
push esi
push edi
push eax
mov edi, ecx
push dword [0x4570f4]
mov dword [ebp - 0x30], edi
call dword [ebp - 0x75]
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push ecx
push esi
add esp, 4
sub ecx, 0xc8c1
call fcn.00401076
add byte [ecx + eax*2 + 0x4f], al
dec eax
aaa
xor edi, dword [edx]
cmp eax, dword [ebx - 0x1e7efb3c]
add esp, 4
and ecx, 0xa862
xor ecx, 0x2b6c
pop ecx
push edx
Function at 0x405a8e
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], edx
jmp 0x405d36
Function at 0x406d59
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x406d61
xor edx, 0x17749
pop edx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x406d85
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x406ddf
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x406cad
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x406cad
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x406dc9
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x406dd3
mov dword [ebp - 0x151c], 1
mov ecx, dword [ebp - 0x151c]
mov dword [ebp - 0x1560], ecx
cmp dword [ebp - 0x1560], 0
jne 0x406e28
push edi
push esi
add esp, 4
add edi, 0xd791
call 0x406e01
add byte [edx + 0x3f], al
xor al, byte [ebx + 0x34]
xor al, 0x45
dec ebx
add esp, 4
or edi, 0x3798
call 0x406e16
add byte [ebx + 0x33], al
inc ebx
cmp dword [0x4c48338], esi
pop edi
mov edx, dword [ebp - 0x4e8]
mov dword [ebp - 0x710], edx
jmp 0x406e90
push ebx
push ecx
add esp, 4
and ebx, 0x16f6c
and ebx, 0xd748
and ebx, 0x11b9c
pop ebx
push esi
push edi
add esp, 4
and esi, 0x12244
xor esi, 0xcbdf
pop esi
push edi
sub edi, 0xbce8
pop edi
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x406e86
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x406c51
mov dword [ebp - 0x710], 0

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

Disassembly:
add esp, 4
jmp 0x406d61
xor edx, 0x17749
pop edx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x406d85
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x406ddf
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x406cad
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x406cad
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x406dc9
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x406dd3
mov dword [ebp - 0x151c], 1
mov ecx, dword [ebp - 0x151c]
mov dword [ebp - 0x1560], ecx
cmp dword [ebp - 0x1560], 0
jne 0x406e28
push edi
push esi
add esp, 4
add edi, 0xd791
call 0x406e01
add byte [edx + 0x3f], al
xor al, byte [ebx + 0x34]
xor al, 0x45
dec ebx
add esp, 4
or edi, 0x3798
call 0x406e16
add byte [ebx + 0x33], al
inc ebx
cmp dword [0x4c48338], esi
pop edi
mov edx, dword [ebp - 0x4e8]
mov dword [ebp - 0x710], edx
jmp 0x406e90
push ebx
push ecx
add esp, 4
and ebx, 0x16f6c
and ebx, 0xd748
and ebx, 0x11b9c
pop ebx
push esi
push edi
add esp, 4
and esi, 0x12244
xor esi, 0xcbdf
pop esi
push edi
sub edi, 0xbce8
pop edi
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x406e86
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x406c51
mov dword [ebp - 0x710], 0
Function at 0x406e16
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x406d61
xor edx, 0x17749
pop edx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x406d85
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x406ddf
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x406cad
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x406cad
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x406dc9
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x406dd3
mov dword [ebp - 0x151c], 1
mov ecx, dword [ebp - 0x151c]
mov dword [ebp - 0x1560], ecx
cmp dword [ebp - 0x1560], 0
jne 0x406e28
push edi
push esi
add esp, 4
add edi, 0xd791
call 0x406e01
add byte [edx + 0x3f], al
xor al, byte [ebx + 0x34]
xor al, 0x45
dec ebx
add esp, 4
or edi, 0x3798
call 0x406e16
add byte [ebx + 0x33], al
inc ebx
cmp dword [0x4c48338], esi
pop edi
mov edx, dword [ebp - 0x4e8]
mov dword [ebp - 0x710], edx
jmp 0x406e90
push ebx
push ecx
add esp, 4
and ebx, 0x16f6c
and ebx, 0xd748
and ebx, 0x11b9c
pop ebx
push esi
push edi
add esp, 4
and esi, 0x12244
xor esi, 0xcbdf
pop esi
push edi
sub edi, 0xbce8
pop edi
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x406e86
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x406c51
mov dword [ebp - 0x710], 0