joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e780
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov ebp, ecx
xor esi, esi
call fcn.004880a0
mov edi, eax
test edi, edi
je 0x48e7e9
lea eax, [esp + 0x10]
mov word [esp + 0x1a], 0x4f74
push eax
push edi
mov word [esp + 0x1c], 0x6569
mov dword [esp + 0x24], 0x78456772
mov word [esp + 0x1f], 0x6f70
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x28], 0
mov dword [esp + 0x18], 0x56746547
mov byte [esp + 0x1e], 0x77
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48e7e2
push ebx
push ebp
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x48e870
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.00488230
mov edi, eax
test edi, edi
je 0x48e8c4
lea eax, [esp + 0xc]
mov word [esp + 0x17], 0x77
push eax
push edi
mov dword [esp + 0x1a], 0x646e6957
mov dword [esp + 0x14], 0x61647055
mov word [esp + 0x18], 0x6574
mov byte [esp + 0x1e], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48e8bd
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x48e8d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
lea eax, [esp]
mov dword [esp + 0xd], 0x736576
push eax
mov dword [esp + 8], 0x6369676f
mov dword [esp + 4], 0x4c746547
mov dword [esp + 0xc], 0x72446c61
mov byte [esp + 0x10], 0x69
call fcn.00488150
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48e912
call eax
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret

Function at 0x48e920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov ebp, ecx
xor esi, esi
call fcn.004880a0
mov edi, eax
test edi, edi
je 0x48e98e
lea eax, [esp + 0x10]
mov word [esp + 0x11], 0x7465
push eax
push edi
mov dword [esp + 0x22], 0x67724f74
mov dword [esp + 0x1c], 0x70776569
mov word [esp + 0x20], 0x726f
mov byte [esp + 0x18], 0x53
mov word [esp + 0x26], 0x7845
mov byte [esp + 0x28], 0
mov byte [esp + 0x1b], 0x56
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48e987
push esi
push dword [esp + 0x2c]
push ebx
push ebp
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x48e9a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
lea eax, [esp]
mov word [esp + 8], 0x6e65
push eax
mov dword [esp + 4], 0x61657243
mov word [esp + 0xf], 0x57
mov byte [esp + 0xe], 0x74
mov word [esp + 9], 0x4565
mov byte [esp + 8], 0x74
mov byte [esp + 0xb], 0x76
call fcn.00488150
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48e9f1
push 0
push 0
push 1
push 0
call eax
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret
Function at 0x48ea00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.004880a0
mov edi, eax
test edi, edi
je 0x48ea55
lea eax, [esp + 0xc]
mov dword [esp + 0x12], 0x624f6b63
push eax
push edi
mov dword [esp + 0x14], 0x53746547
mov dword [esp + 0x1f], 0x746365
mov byte [esp + 0x1e], 0x6a
mov word [esp + 0x18], 0x6f74
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48ea4e
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x48ea60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push esi
push edi
lea eax, [esp + 8]
mov dword [esp + 0xc], 0x41656c69
push eax
mov esi, edx
mov dword [esp + 0x15], 0x62697274
mov edi, ecx
mov dword [esp + 0xc], 0x46746553
mov dword [esp + 0x1a], 0x57736574
mov byte [esp + 0x1e], 0
mov byte [esp + 0x19], 0x75
mov byte [esp + 0x14], 0x74
call fcn.00488150
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48eab7
push esi
push edi
call eax
pop edi
pop esi
add esp, 0x14
ret
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x49a8d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x49a8d7
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x49a9a5
push edi
mov edi, esi
shr edi, 3
lea ecx, [ecx]
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x6559c0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x6559c0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x6559c0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x6559c0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x6559c0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x6559c0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x6559c0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x6559c0]
dec edi
jne 0x49a8f0
pop edi
test esi, esi
je 0x49a9ca
lea esp, [esp]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x6559c0]
dec esi
jne 0x49a9b0
not ecx
mov eax, ecx
pop esi
ret

Function at 0x49a9d0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
and eax, 0xff
shr esi, 8
mov eax, dword [eax*4 + 0x6559c0]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul ecx, eax, 0x8088405
mov eax, dword [edi + 8]
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x6559c0]
mov dword [edi + 8], eax
pop edi
pop esi
ret

Function at 0x49b250
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebx, edx
mov esi, ebx
mov ebp, ecx
imul esi, dword [esp + 0x14]
cmp byte [edi], 0
je 0x49b28f
push 0
lea eax, [esp + 0x18]
push eax
push esi
push ebp
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x49b282
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
xor edx, edx
pop edi
pop esi
pop ebp
div ebx
pop ebx
ret
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x49b2a0
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push ebp
call fcn.005dc7f0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x49c0c0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x49c166
cmp dword [esi + 4], 0xffffffff
jne 0x49c166
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49c0f1
sub ecx, edx
sar ecx, 1
movzx eax, word [esi + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x49c125
cmp eax, 0x2f
je 0x49c125
push 0x657520
push 0x104
push edi
call fcn.005d85c0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0049b0b0
add esp, 8
test eax, eax
jne 0x49c147
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 8
ret 0xc
mov ecx, eax
call fcn.0049b510
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
pop edi
pop esi
add esp, 8
ret 0xc
pop edi
mov eax, 0x1000000
pop esi
add esp, 8
ret 0xc
Function at 0x49d880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x6067b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.00408180
mov dword [esp + 0x3c], 0
mov eax, 0x69
mov word [esp + 0x26], ax
mov ecx, 0x49
mov eax, 0x61
mov word [esp + 0xc], cx
mov word [esp + 0x2c], ax
mov ecx, esi
lea eax, [esp + 8]
mov byte [esi + 0x18], 0
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esp + 0x2c], 0x6c006c
mov dword [esp + 0xc], 0x53004e
mov dword [esp + 0x12], 0x5f0053
mov dword [esp + 0x22], 0x4d0028
mov dword [esp + 0x16], 0x6e0049
mov dword [esp + 0x32], 0x29
mov dword [esp + 0x1e], 0x200063
mov dword [esp + 0x1a], 0x740065
mov dword [esp + 0x26], 0x7a006f
call fcn.0040fc20
mov ecx, dword [esp + 0x34]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x49e4a0
Capabilities:
Check http status code
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x6068e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, 0x2e
mov dword [esp + 0x4a], 0x630063
push edi
mov edi, ecx
mov dword [esp + 0x54], 0x65006c
mov ebp, 0x70
mov dword [esp + 0x42], 0x770077
lea ecx, [esi + 0x41]
mov word [esp + 0x60], bp
mov word [esp + 0x6a], cx
lea edx, [esi + 0x33]
mov ecx, 0x65
mov word [esp + 0x4c], dx
mov word [esp + 0x52], cx
mov ebp, 1
mov edx, 0x77
mov dword [esp + 0x48], 0x630070
push 1
mov ecx, ebp
mov dword [esp + 0x60], 0x650074
xor bl, bl
mov dword [esp + 0x70], 0x6d
mov dword [esp + 0x6a], 0x63002e
mov dword [esp + 0x5c], 0x610072
mov dword [esp + 0x66], 0x6f0072
mov word [esp + 0x4a], si
mov word [esp + 0x44], dx
call fcn.0049db90
push eax
sub esp, 0x18
lea eax, [esp + 0x60]
mov ecx, esp
push eax
call fcn.00407630
mov ecx, edi
call fcn.0049d9b0
cmp byte [edi + 0x18], bl
je 0x49e640
xor edx, edx
lea ecx, [esp + 0x28]
call fcn.0049dbb0
push ecx
push 0x4883000
sub esp, 0xc
mov dword [esp + 0x8c], 0
mov ecx, eax
push 0x65abe0
call fcn.004108f0
mov ecx, dword [edi + 0x20]
mov edx, eax
call fcn.00489140
add esp, 0x18
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00406f10
test esi, esi
je 0x49e639
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 4
push eax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.004890c0
or dword [esp + 0x1c], 0x180
lea eax, [esp + 0x1c]
add esp, 4
lea edx, [ebp + 0x1e]
mov ecx, esi
push eax
call fcn.00489040
push 0
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.00488fd0
add esp, 0x10
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 4
mov edx, 0x20000013
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00488ed0
add esp, 0xc
movzx ebx, bl
cmp dword [esp + 0x18], 0xc8
cmove ebx, ebp
mov ecx, esi
call fcn.00488f60
mov ecx, edi
call fcn.0049da40
mov ecx, dword [esp + 0x70]
mov al, bl
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret
Function at 0x4a1d90
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x607118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ecx
push 0
push 3
push ecx
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0
call fcn.00404880
mov edx, SysReAllocString
mov ecx, eax
call fcn.0048dff0
mov ebx, eax
add esp, 0x14
cmp ebx, 0xffffffff
je 0x4a1e17
push edi
mov ecx, ebx
mov dword [esp + 8], 0
call fcn.0048e490
mov ecx, dword [esp + 0x1c]
mov edi, eax
push edi
call fcn.004a32d0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 8]
push 0
push eax
push edi
call fcn.004a3340
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, ebx
call fcn.0048cd10
mov bl, 1
pop edi
jmp 0x4a1e19
xor bl, bl
lea ecx, [esp + 0x1c]
call fcn.00404e10
mov ecx, dword [esp + 8]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4a2a10
Capabilities:
Terminate thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x1c], 0
mov byte [edi + 0x21], 1
mov byte [edi + 0x20], 1
je 0x4a2a55
push esi
xor esi, esi
cmp byte [edi + 0x22], 0
jne 0x4a2a54
lea ebx, [ebx]
inc esi
cmp esi, 0x28
jg 0x4a2a49
mov ecx, 0x32
call fcn.0048a950
cmp byte [edi + 0x22], 0
je 0x4a2a30
pop esi
pop edi
ret
push 0
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
pop edi
ret

Function at 0x4a2a60
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6072da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov esi, ecx
mov edi, dword [esp + 0x9c]
mov ecx, edi
call fcn.00404ef0
mov dword [esp + 0x94], 0
mov eax, 0x6d
mov ecx, 0x65
mov word [esp + 0x34], ax
mov word [esp + 0x4e], cx
mov edx, 0x64
mov ecx, 0x73
mov word [esp + 0x78], dx
lea ebp, [eax + 7]
mov word [esp + 0x72], cx
lea ebx, [eax - 0xc]
mov word [esp + 0x54], cx
mov edx, 0x77
mov dword [esp + 0x10], 1
mov eax, 0x76
mov dword [esp + 0x46], 0x680077
lea ecx, [esp + 0x14]
mov dword [esp + 0x6a], 0x76006c
mov dword [esp + 0x42], 0x2f006d
mov dword [esp + 0x1e], 0x3a0070
mov dword [esp + 0x50], 0x69006c
mov dword [esp + 0x64], 0x260073
mov dword [esp + 0x30], 0x650072
mov dword [esp + 0x7a], 0x25003d
mov dword [esp + 0x36], 0x690061
mov dword [esp + 0x26], 0x700073
mov dword [esp + 0x18], 0x740068
mov dword [esp + 0x5a], 0x6d0073
mov dword [esp + 0x6e], 0x25003d
mov dword [esp + 0x74], 0x690026
mov dword [esp + 0x3e], 0x6f0063
mov dword [esp + 0x60], 0x25003d
mov dword [esp + 0x2a], 0x770079
mov dword [esp + 0x4a], 0x740069
mov dword [esp + 0x56], 0x3f0074
mov dword [esp + 0x7e], 0x73
mov dword [esp + 0x22], 0x2f002f
mov dword [esp + 0x3a], 0x2e0064
mov word [esp + 0x68], dx
mov word [esp + 0x5e], ax
mov word [esp + 0x1c], bp
mov word [esp + 0x2e], bx
call fcn.004215a0
mov dword [esp + 0x94], 1
push dword [eax]
lea eax, [esp + 0x1c]
push dword [esi + 0x30]
push str.1.0.1.2
push eax
push edi
call fcn.00404860
add esp, 0x14
lea ecx, [esp + 0x14]
call fcn.00404e10
mov ecx, dword [esp + 0x8c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret 4
Function at 0x4a3900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x30
xor eax, eax
mov dword [esp + 0x24], 0x64002e
push esi
mov word [esp + 0x30], ax
mov esi, edx
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x65004b
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], 0x6c0065
push eax
mov dword [esp + 0x34], 0x6c006c
mov dword [esp + 0x2c], 0x320033
mov dword [esp + 0x24], 0x6e0072
mov word [esp + 0x1a], 0x6d61
mov dword [esp + 0xf], 0x75646f4d
mov word [esp + 0x14], 0x4665
mov word [esp + 0xd], 0x7465
mov word [esp + 0x1d], 0x57
mov word [esp + 0x17], 0x656c
mov byte [esp + 0x19], 0x4e
mov byte [esp + 0xc], 0x47
mov byte [esp + 0x13], 0x6c
mov byte [esp + 0x16], 0x69
mov byte [esp + 0x1c], 0x65
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a39ab
push 0x104
push esi
push 0
call eax
pop esi
add esp, 0x30
ret
xor eax, eax
pop esi
add esp, 0x30
ret

Function at 0x4a39c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x607402
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x25c], 0
push 0x651e48
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], 0
call fcn.00404720
xor eax, eax
mov dword [esp + 0x25c], 0
push 0x206
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
mov dword [esp + 0x50], 1
call fcn.005d9ee0
add esp, 8
lea edx, [esp + 0x50]
call fcn.004a3900
xor eax, eax
mov dword [esp + 0x3a], 0x690070
mov word [esp + 0x46], ax
add esp, 4
mov eax, 0x61
mov dword [esp + 0x3e], 0x6c006c
mov word [esp + 0x34], ax
lea eax, [esp + 0x2c]
mov dword [esp + 0x3a], 0x64002e
push eax
mov dword [esp + 0x34], 0x77006c
mov dword [esp + 0x30], 0x680053
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4a3b09
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x68746150
push eax
push edi
mov word [esp + 0x23], 0x5765
mov byte [esp + 0x25], 0
mov dword [esp + 0x18], 0x646e6946
mov dword [esp + 0x1e], 0x614e656c
mov byte [esp + 0x22], 0x6d
mov word [esp + 0x1c], 0x6946
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a3b02
lea ecx, [esp + 0x4c]
push ecx
call eax
push eax
mov ecx, esi
call fcn.00404df0
mov eax, 0x78
mov dword [esp + 0x20], 0x65002e
mov word [esp + 0x24], ax
mov ecx, esi
push 0x651e48
lea eax, [esp + 0x24]
mov dword [esp + 0x2a], 0x65
push eax
call fcn.004095d0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x254]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x254
ret
Function at 0x4a79b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004b0f22
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4a79ed
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004a7a0e
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4ab6d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4ab719
call fcn.004b0f22
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ab719
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4ab735
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004a8adf
mov ebx, eax
test edi, edi
je 0x4ab733
test esi, esi
je 0x4ab733
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4bccfc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004a8e71
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4bcd38
call fcn.004bcf1b
mov dword [esi + 0xc], 1
jmp 0x4bcd3d
call fcn.004bcf1b
cmp dword [esi], 0
je 0x4bcd86
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4bcd60
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004868c0
jmp 0x4bcd71
push 0xff
mov ecx, esi
call fcn.00404bf0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00409390
jmp 0x4bcdaa
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4bcdaa
push dword [esi]
push dword [ebp - 4]
call fcn.004bb924
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bce70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004bcf1b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4bceb8
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004868c0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00409390
jmp 0x4bcec3
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004bb924
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4ccba7
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004e1e05
call fcn.004b0f76
cmp dword [eax + 0x14], 0
jne 0x4ccbc2
mov ecx, esi
pop esi
jmp fcn.004cbf75
pop esi
ret

Function at 0x4dadcb
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004ad7f3
call fcn.004b0f76
cmp dword [eax + 0x14], 0
jne 0x4dade6
mov ecx, esi
pop esi
jmp fcn.004da656
pop esi
ret
Function at 0x5ee5b8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x698210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005dedc3
mov dword [ebp - 0x14], eax
cmp dword [0x6a41f8], esi
jne 0x5ee6ab
push 0x800
push esi
push 0x64dbc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5ee638
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5ee78b
push esi
push esi
push 0x64dbc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5ee78b
push 0x64dbd8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5ee78b
push eax
call ebx
push 0x64dbe4
push edi
mov dword [0x6a41f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x64dbf4
push edi
mov dword [0x6a41fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x6a4200], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6a4208], eax
test eax, eax
je 0x5ee6a8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6a4204], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5ee6d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5ee6c3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5ee6e5
push 4
pop eax
jmp 0x5ee78d
cmp dword [ebp - 0x14], esi
je 0x5ee6e5
push dword [0x6a41f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5ee6ca
mov eax, dword [0x6a4204]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5ee743
cmp dword [0x6a4208], edi
je 0x5ee743
push eax
call ebx
push dword [0x6a4208]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5ee743
test eax, eax
je 0x5ee743
call ecx
test eax, eax
je 0x5ee738
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5ee738
test byte [ebp - 8], 1
jne 0x5ee743
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5ee773
mov eax, dword [0x6a41fc]
cmp eax, edi
je 0x5ee770
push eax
call ebx
test eax, eax
je 0x5ee770
call eax
mov esi, eax
test esi, esi
je 0x5ee770
mov eax, dword [0x6a4200]
cmp eax, edi
je 0x5ee770
push eax
call ebx
test eax, eax
je 0x5ee770
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x6a41f8]
call ebx
test eax, eax
je 0x5ee78b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5ee78d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005d886b
mov esp, ebp
pop ebp
ret