joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a453
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x44ed4a
call fcn.0043b392
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0042fa1b
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x42a49e
call fcn.0042fa1b
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x42a4af
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x42a4bc
or eax, 0xffffffff
jmp 0x42a618
mov ecx, esi
call fcn.00429f9a
mov dword [ebp - 0x14], eax
call fcn.00426e49
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x42a53a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x42a53a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42a53a
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00425a2f
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x42a53a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x42a53a
mov ecx, ebx
call fcn.0042a926
test eax, eax
je 0x42a53a
push 0
mov ecx, ebx
call fcn.0042a941
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.004286d1
push dword [ebp - 0x14]
call fcn.00426da1
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0042a25b
xor edi, edi
cmp eax, edi
je 0x42a597
test byte [esi + 0x3c], 0x10
je 0x42a581
push 4
pop edi
mov ecx, esi
call fcn.0042a80d
test ax, 0x100
je 0x42a577
push 5
pop edi
push edi
mov ecx, esi
call fcn.00426969
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x42a597
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0042a9a8
or dword [ebp - 4], 0xffffffff
jmp 0x42a5c2
cmp dword [ebp - 0x28], edi
je 0x42a5d0
push 1
mov ecx, ebx
call fcn.0042a941
cmp dword [ebp - 0x2c], edi
je 0x42a5e0
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x42a5f9
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x42a5f9
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00429fd4
cmp dword [esi + 0x58], edi
je 0x42a615
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043b437
ret
Function at 0x42a682
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x42a6a2
cmp dword [edi + 0x54], 0
jne 0x42a6a2
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042fa1b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042a649
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x431490
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x46cd10]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x43152e
push 0x457124
push 4
push eax
call fcn.00439000
push eax
call fcn.004015d9
add esp, 0x10
push ebx
push edi
call fcn.0043b726
mov edi, dword [eax]
call fcn.0043b726
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043b6cc
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0043b726
cmp dword [eax], ebx
je 0x431545
call fcn.0043b726
push dword [eax]
call fcn.004178b0
pop ecx
jmp 0x43154c
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4314df
jmp 0x4315be
call fcn.0043b726
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x4315ba
cmp dword [ebp - 0x40], esi
jae 0x4315ba
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00436350
add esp, 0xc
push 0x456750
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4315ac
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4315ac
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4315ac
push ebx
push ebx
push esi
jmp 0x4315b2
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4315bc
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.004357d1
add ebp, 0x1f4
leave
ret
Function at 0x4357d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46cd10]
jne 0x4357db
repz ret
jmp fcn.0043dc43
Function at 0x43a6aa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x43a6e7
cmp dword [ebp + 0x14], edi
je 0x43a6e7
cmp ecx, edi
jne 0x43a6ee
call fcn.0043b726
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043e1bb
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43a702
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43a723
cmp ebx, 0xffffffff
je 0x43a712
push ebx
push edi
push ecx
call fcn.00436350
add esp, 0xc
cmp esi, edi
je 0x43a6cf
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43a6cf
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43a73f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43a746
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43a837
test word [esi + 0xc], 0x10c
je 0x43a79a
mov eax, dword [esi + 4]
test eax, eax
je 0x43a79a
jl 0x43a898
cmp ebx, eax
mov edi, ebx
jb 0x43a76b
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43a83f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00435e1b
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43a82f
cmp ebx, dword [ebp - 0xc]
jb 0x43a807
cmp dword [ebp - 0xc], 0
je 0x43a7c4
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43a7b9
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43a7c0
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43a7cf
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43a7cf
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43a86b
push eax
push dword [ebp - 8]
push esi
call fcn.0043bc4a
pop ecx
push eax
call fcn.004461fe
add esp, 0xc
test eax, eax
je 0x43a8aa
cmp eax, 0xffffffff
je 0x43a898
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43a82f
push esi
call fcn.00444389
cmp eax, 0xffffffff
pop ecx
je 0x43a89c
cmp dword [ebp - 4], 0
je 0x43a86b
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43a74e
mov eax, dword [ebp + 0x14]
jmp 0x43a6e9
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43a856
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00436350
add esp, 0xc
call fcn.0043b726
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43a6df
cmp dword [ebp + 0xc], 0xffffffff
je 0x43a881
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00436350
add esp, 0xc
call fcn.0043b726
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43a6df
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43a6e9
or dword [esi + 0xc], 0x10
jmp 0x43a89c
Function at 0x43c9b7
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46cea0]
je 0x43c9d2
inc edi
cmp edi, 0x17
jb 0x43c9c3
cmp edi, 0x17
jae 0x43cb52
push ebp
push 3
call fcn.0044917f
cmp eax, 1
pop ecx
je 0x43cb1e
push 3
call fcn.0044917f
test eax, eax
pop ecx
jne 0x43ca06
cmp dword [0x46c9dc], 1
je 0x43cb1e
cmp ebx, 0xfc
je 0x43cb51
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x470d08
push ebp
call fcn.0044911a
add esp, 0xc
test eax, eax
je 0x43ca3c
push esi
push esi
push esi
push esi
push esi
call fcn.0043e0bf
add esp, 0x14
push 0x104
mov esi, 0x470d21
push esi
push 0
mov byte [0x470e25], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43ca80
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0044911a
add esp, 0xc
test eax, eax
je 0x43ca80
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043e0bf
add esp, 0x14
push esi
call fcn.00439450
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43cac5
push esi
call fcn.00439450
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x47101c
push 0x45859c
sub ecx, eax
push ecx
push eax
call fcn.00449067
add esp, 0x14
test eax, eax
je 0x43cac5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043e0bf
add esp, 0x14
jmp 0x43cac7
xor esi, esi
push 0x458598
push ebx
push ebp
call fcn.00448ff6
add esp, 0xc
test eax, eax
je 0x43cae7
push esi
push esi
push esi
push esi
push esi
call fcn.0043e0bf
add esp, 0x14
push dword [edi*8 + 0x46cea4]
push ebx
push ebp
call fcn.00448ff6
add esp, 0xc
test eax, eax
je 0x43cb09
push esi
push esi
push esi
push esi
push esi
call fcn.0043e0bf
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00448e39
add esp, 0xc
jmp 0x43cb51
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43cb51
cmp ebp, 0xffffffff
je 0x43cb51
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46cea4]
push dword [esi]
call fcn.00439450
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x448e39
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043d57b
xor ebx, ebx
cmp dword [0x47180c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x448f0f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x448fef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x448fef
push eax
call fcn.0043d50d
mov dword [esp], 0x4589f0
push edi
mov dword [0x47180c], eax
call esi
push eax
call fcn.0043d50d
mov dword [esp], 0x4589dc
push edi
mov dword [0x471810], eax
call esi
push eax
call fcn.0043d50d
mov dword [0x471814], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00438d13
test eax, eax
pop ecx
pop ecx
je 0x448edd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043e0bf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x448f0f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043d50d
cmp eax, ebx
pop ecx
mov dword [0x47181c], eax
je 0x448f0f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043d50d
pop ecx
mov dword [0x471818], eax
mov eax, dword [0x471818]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x448f94
cmp dword [0x47181c], ecx
je 0x448f94
push eax
call fcn.0043d584
push dword [0x47181c]
mov esi, eax
call fcn.0043d584
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x448f94
cmp edi, ebx
je 0x448f94
call esi
cmp eax, ebx
je 0x448f61
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x448f61
test byte [ebp - 0x18], 1
jne 0x448f94
lea eax, [ebp - 0x10]
push eax
call fcn.00438d4a
test eax, eax
pop ecx
je 0x448f7c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043e0bf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x448f8b
or dword [ebp + 0x10], 0x200000
jmp 0x448fcf
or dword [ebp + 0x10], 0x40000
jmp 0x448fcf
mov eax, dword [0x471810]
cmp eax, dword [ebp - 8]
je 0x448fcf
push eax
call fcn.0043d584
cmp eax, ebx
pop ecx
je 0x448fcf
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x448fcf
mov eax, dword [0x471814]
cmp eax, dword [ebp - 8]
je 0x448fcf
push eax
call fcn.0043d584
cmp eax, ebx
pop ecx
je 0x448fcf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47180c]
call fcn.0043d584
cmp eax, ebx
pop ecx
je 0x448fef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x448ff1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x2840832
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x2d8342a0
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x7ba200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x293000]
push edi
or ebp, 0xffffffff
jmp 0x7ba222
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7ba229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ba218
mov eax, 1
add ebx, ebx
jne 0x7ba23b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7ba24c
jne 0x7ba26b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ba26b
dec eax
add ebx, ebx
jne 0x7ba258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7ba230
add ebx, ebx
jne 0x7ba267
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7ba2bd
xor ecx, ecx
sub eax, 3
jb 0x7ba283
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7ba2f2
sar eax, 1
mov ebp, eax
jmp 0x7ba28e
add ebx, ebx
jne 0x7ba28e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ba25c
inc ecx
add ebx, ebx
jne 0x7ba29c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ba25c
add ebx, ebx
jne 0x7ba2a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7ba29e
jne 0x7ba2ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7ba29e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7ba2dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7ba2ce
jmp 0x7ba21e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7ba2dc
add edi, ecx
jmp 0x7ba21e
pop esi
mov edi, esi
mov ecx, 0xa3bd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7ba2fa
cmp byte [edi], 0x26
jne 0x7ba2fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7ba2ff
lea edi, [esi + 0x3b7000]
mov eax, dword [edi]
or eax, eax
je 0x7ba377
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3bef6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3bf090]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7ba32c
mov ecx, edi
jns 0x7ba35b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3bf098]
or eax, eax
je 0x7ba371
mov dword [ebx], eax
add ebx, 4
jmp 0x7ba349
call dword [esi + 0x3bf094]
mov ebp, dword [esi + 0x3bf09c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7ba3ab
sub esp, 0xffffff80
jmp 0x546cc1
Function at 0x406570
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41cabb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4042d4
call fcn.004090e4
push 4
mov dword [esp + 0x18], 0
call fcn.0040a5a6
mov edi, eax
add esp, 4
test edi, edi
je 0x4065e4
push ebx
call fcn.00408edf
mov dword [edi], eax
call fcn.00408c9e
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004090a5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4065d8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004090cd
pop ebx
jmp 0x4065e6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b09e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4203dc]
jne 0x40b0a8
repz ret
jmp fcn.00410bec
Function at 0x415fbb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4203dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040dd7b
and dword [ebp - 0x14], 0
cmp dword [0x81d490], 0
mov dword [ebp - 0x18], eax
jne 0x41606e
push 0x403f10
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416116
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403f04
push ebx
call edi
test eax, eax
je 0x416116
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403ef4
push ebx
mov dword [0x81d490], eax
call edi
push eax
call esi
push 0x403ee0
push ebx
mov dword [0x81d494], eax
call edi
push eax
call esi
push 0x403ec4
push ebx
mov dword [0x81d498], eax
call edi
push eax
call esi
mov dword [0x81d4a0], eax
test eax, eax
je 0x41606e
push 0x403eac
push ebx
call edi
push eax
call esi
mov dword [0x81d49c], eax
mov eax, dword [0x81d49c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4160c7
cmp dword [0x81d4a0], ecx
je 0x4160c7
push eax
call esi
push dword [0x81d4a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4160c7
test ebx, ebx
je 0x4160c7
call edi
test eax, eax
je 0x4160be
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4160be
test byte [ebp - 8], 1
jne 0x4160c7
or dword [ebp + 0x10], 0x200000
jmp 0x4160fa
mov eax, dword [0x81d494]
cmp eax, dword [ebp - 0x18]
je 0x4160fa
push eax
call esi
test eax, eax
je 0x4160fa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4160fa
mov eax, dword [0x81d498]
cmp eax, dword [ebp - 0x18]
je 0x4160fa
push eax
call esi
test eax, eax
je 0x4160fa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x81d490]
call esi
test eax, eax
je 0x416116
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416118
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b09e
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7ff14d35
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x64d366ef
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219