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

Disassembly:
push 0xffffffffffffffff
push 0x4d8f6f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00422540
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x1c], 0
call fcn.00422540
lea ecx, [edi + 0x30]
push ecx
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 1
call fcn.00422540
lea edx, [edi + 0x48]
push edx
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 2
call fcn.0043a970
lea eax, [edi + 0x60]
push eax
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 3
call fcn.0043a970
lea ecx, [edi + 0x78]
push ecx
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 4
call fcn.0043a970
lea edx, [edi + 0x90]
push edx
lea ecx, [esi + 0x90]
mov byte [esp + 0x1c], 5
call fcn.0043a870
mov eax, dword [edi + 0xa8]
mov dword [esi + 0xa8], eax
mov ecx, dword [edi + 0xac]
mov dword [esi + 0xac], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x43ca60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d9078
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.0043abe0
xor edi, edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], edi
push 0x4dd6d7
mov ecx, esi
mov dword [esp + 0x3c], edi
call fcn.00435450
mov eax, dword [esi + 0x134]
sub eax, dword [esi + 0x130]
sar eax, 2
test eax, eax
ja 0x43caca
call fcn.004a067d
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
push 0x4dd6d7
mov ecx, esi
mov dword [esi + 0x871d8], edx
mov dword [esi + 0x871ec], 1
call fcn.00435600
cmp eax, 1
jne 0x43cb1d
mov eax, dword [esi + 0x15c]
sub eax, dword [esi + 0x158]
sar eax, 2
test eax, eax
ja 0x43cb0b
call fcn.004a067d
mov ecx, dword [esi + 0x158]
mov edx, dword [ecx]
push edx
mov ecx, esi
call fcn.0043b960
jmp 0x43cb36
mov eax, dword [esi + 0x134]
sub eax, dword [esi + 0x130]
sar eax, 2
cmp eax, 1
ja 0x43cb36
call fcn.004a067d
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x43cb47
push eax
call fcn.0048f8b2
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0048f8b2
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x43cd80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push 0x4dd6d7
mov esi, ecx
call fcn.00435600
cmp eax, 1
jne 0x43cdc0
mov eax, dword [esi + 0x15c]
sub eax, dword [esi + 0x158]
sar eax, 2
test eax, eax
ja 0x43cdac
call fcn.004a067d
mov ecx, dword [esi + 0x158]
mov eax, dword [ecx]
push eax
mov ecx, esi
call fcn.0043b960
mov edi, eax
jmp 0x43cde0
mov edx, dword [esi + 0x134]
sub edx, dword [esi + 0x130]
sar edx, 2
test edx, edx
ja 0x43cdd8
call fcn.004a067d
mov eax, dword [esi + 0x130]
mov edi, dword [eax]
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
call ebx
mov ecx, eax
sub ecx, dword [esi + 0x8a0e8]
cmp ecx, edi
ja 0x43ce13
push ebp
mov ebp, dword [sym.imp.kernel32.dll_Sleep]
jmp 0x43ce00
push 1
call ebp
call ebx
mov edx, eax
sub edx, dword [esi + 0x8a0e8]
cmp edx, edi
jbe 0x43ce00
pop ebp
pop edi
mov dword [esi + 0x8a0e8], eax
pop esi
pop ebx
ret

Function at 0x43d800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d90db
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x34]
lea esi, [edi + 0x10]
push ecx
mov ecx, esi
call fcn.0040cc20
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [edi], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x24], 0
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp esi, ebx
je 0x43d893
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0043a580
push ebx
mov ecx, esi
call fcn.00437d00
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x30], ecx
jmp 0x43d89a
mov edx, dword [esp + 0x30]
mov dword [edi + 0x30], edx
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x18
Function at 0x4413b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d93a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor eax, eax
or edx, 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], eax
mov dword [esp + 8], edx
mov dword [esp + 4], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
cmp dword [ecx + 0x86e9c], 1
mov dword [esp + 0x3c], eax
jne 0x441420
mov dword [ecx + 0x86e9c], eax
call fcn.00440100
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
add esp, 0x3c
ret
Function at 0x442f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push 0x4dd6d7
mov esi, ecx
call fcn.004354e0
mov eax, dword [esi + 0x15c]
sub eax, dword [esi + 0x158]
sar eax, 2
test eax, eax
ja 0x442f55
call fcn.004a067d
mov ecx, dword [esi + 0x158]
mov edx, dword [ecx]
push 0x4dd6d7
mov ecx, esi
mov dword [esi + 0x872a8], edx
call fcn.00435450
mov eax, dword [esi + 0x134]
sub eax, dword [esi + 0x130]
sar eax, 2
test eax, eax
ja 0x442f87
call fcn.004a067d
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov eax, 1
mov dword [esi + 0x87708], edx
mov dword [esi + 0x143c], eax
cmp dword [esi + 0x89bfc], eax
je 0x442fb0
cmp dword [esi + 0x89c04], eax
jne 0x442fb7
mov ecx, esi
call fcn.00440d30
mov ecx, esi
pop esi
jmp fcn.00440580
Function at 0x4580b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c0]
cmp eax, 0x270
jl 0x45819b
cmp eax, 0x271
jne 0x4580e8
push 0
call fcn.004a2efc
push eax
call fcn.004a3eca
add esp, 8
call fcn.004a3edc
push eax
mov ecx, esi
call fcn.00457fc0
xor eax, eax
lea ebx, [ebx]
mov ecx, dword [esi + eax*4 + 4]
xor ecx, dword [esi + eax*4]
inc eax
and ecx, 0x7fffffff
xor ecx, dword [esi + eax*4 - 4]
mov edx, ecx
shr ecx, 1
and edx, 1
xor ecx, dword [edx*4 + 0x514e70]
xor ecx, dword [esi + eax*4 + 0x630]
cmp eax, 0xe3
mov dword [esi + eax*4 - 4], ecx
jl 0x4580f0
cmp eax, 0x26f
jge 0x458162
lea esp, [esp]
mov ecx, dword [esi + eax*4 + 4]
xor ecx, dword [esi + eax*4]
inc eax
and ecx, 0x7fffffff
xor ecx, dword [esi + eax*4 - 4]
mov edx, ecx
shr ecx, 1
and edx, 1
xor ecx, dword [edx*4 + 0x514e70]
xor ecx, dword [esi + eax*4 - 0x390]
cmp eax, 0x26f
mov dword [esi + eax*4 - 4], ecx
jl 0x458130
mov eax, dword [esi]
xor eax, dword [esi + 0x9bc]
and eax, 0x7fffffff
xor eax, dword [esi + 0x9bc]
mov ecx, eax
and ecx, 1
mov edx, dword [ecx*4 + 0x514e70]
xor edx, dword [esi + 0x630]
shr eax, 1
xor edx, eax
mov dword [esi + 0x9bc], edx
mov dword [esi + 0x9c0], 0
mov eax, dword [esi + 0x9c0]
mov ecx, dword [esi + eax*4]
inc eax
mov dword [esi + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
ret
Function at 0x4581e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c0]
cmp eax, 0x270
jl 0x4582cb
cmp eax, 0x271
jne 0x458218
push 0
call fcn.004a2efc
push eax
call fcn.004a3eca
add esp, 8
call fcn.004a3edc
push eax
mov ecx, esi
call fcn.00457fc0
xor eax, eax
lea ebx, [ebx]
mov ecx, dword [esi + eax*4 + 4]
xor ecx, dword [esi + eax*4]
inc eax
and ecx, 0x7fffffff
xor ecx, dword [esi + eax*4 - 4]
mov edx, ecx
shr ecx, 1
and edx, 1
xor ecx, dword [edx*4 + 0x514e78]
xor ecx, dword [esi + eax*4 + 0x630]
cmp eax, 0xe3
mov dword [esi + eax*4 - 4], ecx
jl 0x458220
cmp eax, 0x26f
jge 0x458292
lea esp, [esp]
mov ecx, dword [esi + eax*4 + 4]
xor ecx, dword [esi + eax*4]
inc eax
and ecx, 0x7fffffff
xor ecx, dword [esi + eax*4 - 4]
mov edx, ecx
shr ecx, 1
and edx, 1
xor ecx, dword [edx*4 + 0x514e78]
xor ecx, dword [esi + eax*4 - 0x390]
cmp eax, 0x26f
mov dword [esi + eax*4 - 4], ecx
jl 0x458260
mov eax, dword [esi]
xor eax, dword [esi + 0x9bc]
and eax, 0x7fffffff
xor eax, dword [esi + 0x9bc]
mov ecx, eax
and ecx, 1
mov edx, dword [ecx*4 + 0x514e78]
xor edx, dword [esi + 0x630]
shr eax, 1
xor edx, eax
mov dword [esi + 0x9bc], edx
mov dword [esi + 0x9c0], 0
mov eax, dword [esi + 0x9c0]
mov ecx, dword [esi + eax*4]
inc eax
mov dword [esi + 0x9c0], eax
mov esi, dword [esp + 8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov edx, ecx
shr edx, 0x12
xor ecx, edx
mov eax, ecx
cmp esi, ecx
jae 0x458317
xor edx, edx
div esi
imul eax, esi
sub ecx, eax
mov eax, ecx
pop esi
ret 4

Function at 0x459d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4da65f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0043abe0
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], 0
call fcn.0043abe0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0043abe0
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 2
call fcn.0043abe0
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 3
call fcn.0043abe0
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 4
call fcn.0043abe0
lea ecx, [esi + 0x98]
mov byte [esp + 0x14], 5
call fcn.0043abe0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x45e090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4da813
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x18]
mov dword [esi], 0x4e1d1c
call fcn.0043abe0
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], edi
call fcn.0043abe0
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 1
call fcn.0043abe0
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 2
call fcn.0043abe0
lea ecx, [esi + 0x78]
mov byte [esp + 0x18], 3
call fcn.0043abe0
lea ecx, [esi + 0x90]
mov byte [esp + 0x18], 4
call fcn.0043abe0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 5
call fcn.0043abe0
lea ecx, [esi + 0xc0]
mov byte [esp + 0x18], 6
call fcn.0043abe0
mov ecx, esi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
call fcn.0045daa0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4636d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb8
mov eax, dword [0x51d260]
xor eax, esp
mov dword [esp + 0xb4], eax
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], ax
mov eax, dword [edi + 0xa4]
xor ecx, ecx
cmp byte [eax], 0x54
jne 0x4637b1
cmp byte [eax + 1], 0x69
jne 0x4637b1
cmp byte [eax + 2], 0x6e
jne 0x4637b1
cmp byte [eax + 3], 0x6b
jne 0x4637b1
push esi
mov esi, 4
mov edx, dword [edi + 0xec]
mov dl, byte [edx + ecx]
xor byte [eax + esi], dl
mov edx, ecx
sub edx, dword [edi + 0xf0]
inc esi
neg edx
sbb edx, edx
and edx, ecx
inc edx
cmp esi, 0xe1f
mov ecx, edx
jl 0x463744
mov cl, 0x67
mov byte [eax + 1], cl
mov byte [eax + 2], cl
mov byte [eax], 0x4f
mov byte [eax + 3], 0x53
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00462590
pop esi
test eax, eax
jne 0x4637e8
pop edi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004a0abf
add esp, 0xb8
ret 4
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.004623e0
test eax, eax
jne 0x4637e8
pop edi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004a0abf
add esp, 0xb8
ret 4
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ax, word [esp + 0x1a]
mov word [esp + 0xa], ax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
xor eax, eax
mov edx, 1
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov word [esp + 8], dx
mov dx, word [esp + 0x24]
lea eax, [esp + 8]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], ecx
mov cx, word [esp + 0x26]
mov word [esp + 0x14], dx
mov edx, dword [esp + 0x64]
mov word [esp + 0x16], cx
mov dword [esp + 0x94], 0x24
mov dword [esp + 0x98], 0x18082
mov dword [esp + 0x9c], edx
cmp eax, 1
jne 0x4638bf
mov ecx, edi
call fcn.00462960
lea ecx, [esp + 0x94]
push ecx
lea ecx, [edi + 0x70]
jmp 0x463916
test eax, eax
jne 0x4638e2
mov ecx, edi
call fcn.004629c0
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [edi + 0x74]
push edx
jmp 0x463921
cmp eax, 2
jne 0x463906
mov ecx, edi
call fcn.004629f0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [edi + 0x78]
push eax
jmp 0x463921
cmp eax, 3
jne 0x463928
lea ecx, [esp + 0x94]
push ecx
lea ecx, [edi + 0x7c]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, edi
call fcn.00462720
mov ecx, dword [esp + 0xb8]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004a0abf
add esp, 0xb8
ret 4
Function at 0x46c100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4daf43
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0043abe0
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], 0
call fcn.0043abe0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0043abe0
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4901ee
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x51d260]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x49028c
push 0x4e539c
push 4
push eax
call fcn.004a14b8
push eax
call fcn.004096a0
add esp, 0x10
push ebx
push edi
call fcn.004a447a
mov edi, dword [eax]
call fcn.004a447a
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004a15bb
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.004a447a
cmp dword [eax], ebx
je 0x4902a3
call fcn.004a447a
push dword [eax]
call fcn.0048f9bf
pop ecx
jmp 0x4902aa
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
test eax, eax
jne 0x490234
jmp 0x490331
call fcn.004a447a
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x49032d
cmp dword [ebp - 0x11c], esi
jae 0x49032d
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.shlwapi.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.004a0350
add esp, 0xc
push 0x4e5234
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x49031c
push 0x4e5380
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebx
je 0x49031c
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x49031c
push ebx
push ebx
push esi
jmp 0x490325
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
jmp 0x49032f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004a0abf
leave
ret

Function at 0x49ace0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x49ad27
call fcn.004915c3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
test eax, eax
je 0x49ad27
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x49ad43
push ebx
call dword [sym.imp.kernel32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0049a85a
mov esi, eax
test edi, edi
je 0x49ad41
test ebx, ebx
je 0x49ad41
push ebx
call dword [sym.imp.kernel32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4a0abf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x51d260]
jne 0x4a0ac9
repz ret
jmp fcn.004a93fc
Function at 0x4b6479
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004a8082
and dword [ebp - 4], 0
cmp dword [0x5ba43c], 0
mov ebx, eax
jne 0x4b652a
push 0x4ef398
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4b65db
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x4ef38c
push edi
call esi
test eax, eax
je 0x4b65db
push eax
call fcn.004a8010
mov dword [esp], 0x4ef37c
push edi
mov dword [0x5ba43c], eax
call esi
push eax
call fcn.004a8010
mov dword [esp], 0x4ef368
push edi
mov dword [0x5ba440], eax
call esi
push eax
call fcn.004a8010
mov dword [esp], 0x4ef34c
push edi
mov dword [0x5ba444], eax
call esi
push eax
call fcn.004a8010
pop ecx
mov dword [0x5ba44c], eax
test eax, eax
je 0x4b652a
push 0x4ef334
push edi
call esi
push eax
call fcn.004a8010
pop ecx
mov dword [0x5ba448], eax
mov eax, dword [0x5ba448]
cmp eax, ebx
je 0x4b6582
cmp dword [0x5ba44c], ebx
je 0x4b6582
push eax
call fcn.004a808b
push dword [0x5ba44c]
mov esi, eax
call fcn.004a808b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4b6582
test edi, edi
je 0x4b6582
call esi
test eax, eax
je 0x4b6579
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4b6579
test byte [ebp - 0xc], 1
jne 0x4b6582
or dword [ebp + 0x10], 0x200000
jmp 0x4b65bb
mov eax, dword [0x5ba440]
cmp eax, ebx
je 0x4b65bb
push eax
call fcn.004a808b
pop ecx
test eax, eax
je 0x4b65bb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4b65bb
mov eax, dword [0x5ba444]
cmp eax, ebx
je 0x4b65bb
push eax
call fcn.004a808b
pop ecx
test eax, eax
je 0x4b65bb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5ba43c]
call fcn.004a808b
pop ecx
test eax, eax
je 0x4b65db
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4b65dd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ca840
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x4ca8e0
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x4ca892
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x52d2e8]
xor eax, edx
inc esi
cmp esi, edi
jl 0x4ca873
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x4ca8bb
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x52d2e8]
xor eax, edx
inc esi
cmp esi, edi
jl 0x4ca89e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x40fd81
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
jmp 0x40fd9a
nop
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40fdb9
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40fdb0
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40fda8
mov eax, ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 4
mov esp, ebp
pop ebp
jmp 0x40fe1d
nop
pop edx
pop eax
pop ecx
push edx
pushal
mov ebx, eax
mov edi, ecx
xor al, al
scasb al, byte es:[edi]
jne 0x40fe29
dec edi
sub edi, ecx
xchg ecx, edi
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
lea esi, [esi + ebx + 0x18]
lodsd eax, dword [esi]
xchg edx, eax
lodsd eax, dword [esi]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
lodsd eax, dword [esi]
xchg ebp, eax
add eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
dec edx
je 0x40fe78
mov esi, dword [eax + edx*4]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x40fe64
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x40fe4e
shl edx, 1
add ebp, edx
movzx eax, word [ebp + ebx]
shl eax, 2
add eax, dword [esp]
mov eax, dword [ebx + eax]
add eax, ebx
pop ecx
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x41a913
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
jmp 0x41a92c
nop
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x41a94b
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x41a942
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x41a93a
mov eax, ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 4
mov esp, ebp
pop ebp
jmp 0x41a9af
nop
pop edx
pop eax
pop ecx
push edx
pushal
mov ebx, eax
mov edi, ecx
xor al, al
scasb al, byte es:[edi]
jne 0x41a9bb
dec edi
sub edi, ecx
xchg ecx, edi
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
lea esi, [esi + ebx + 0x18]
lodsd eax, dword [esi]
xchg edx, eax
lodsd eax, dword [esi]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
lodsd eax, dword [esi]
xchg ebp, eax
add eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
dec edx
je 0x41aa0a
mov esi, dword [eax + edx*4]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x41a9f6
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x41a9e0
shl edx, 1
add ebp, edx
movzx eax, word [ebp + ebx]
shl eax, 2
add eax, dword [esp]
mov eax, dword [ebx + eax]
add eax, ebx
pop ecx
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x42240e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
leave
ret