joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a65e0
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [0x5c29c0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push esi
call edx
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0x48e
mov ecx, esi
call edx
test eax, eax
jne 0x4a6678
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 1
push 0x48e
mov ecx, esi
call edx
mov eax, dword [edi + 0x20]
push 0x41
push 0x56cdd0
push 0x57da18
push eax
call fcn.00447b60
add esp, 0x10
cmp eax, 1
jne 0x4a6678
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 5
push 0
push 0
push str.http:__g.iciba.com_powerword_lite_zh_cn_getflashplayer
push str.open
push 0
call esi
cmp eax, 0x20
jg 0x4a6662
push 5
push 0
push str.http:__g.iciba.com_powerword_lite_zh_cn_getflashplayer
push str.iexplore.exe
push 0
push 0
call esi
mov ecx, dword [edi + 0x20]
push 0
push 0x1f4
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
ret

Function at 0x4a7ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x548198
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
call fcn.004037e0
mov dword [esp + 0x30], 0
cmp dword [eax + 0x18], 8
jb 0x4a7f01
mov esi, dword [eax + 4]
jmp 0x4a7f04
lea esi, [eax + 4]
mov ecx, dword [esp + 0x38]
add ecx, 0x88
test esi, esi
jne 0x4a7f16
xor eax, eax
jmp 0x4a7f2f
mov eax, esi
lea edi, [eax + 2]
jmp 0x4a7f20
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4a7f20
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.00417850
cmp dword [esp + 0x24], 8
jb 0x4a7f4a
mov eax, dword [esp + 0x10]
push eax
call fcn.004e946d
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4

Function at 0x4a8e80
Capabilities:
Create thread

Disassembly:
mov ecx, dword [0x5c2a04]
sub esp, 0xc
test ecx, ecx
push edi
mov edi, eax
mov eax, 0x80004005
je 0x4a8f78
mov eax, dword [ecx]
push 0
push 2
push 0
push ecx
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
mov dword [0x5c2a10], 0
jl 0x4a8f78
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a8ec0
sub eax, edx
sar eax, 1
xor ecx, ecx
lea eax, [eax + eax + 0x44]
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call fcn.004e9468
mov esi, eax
add esp, 4
test esi, esi
je 0x4a8f72
mov eax, dword [0x5c2a0c]
push edi
push eax
push str._PITCH_MIDDLE___d__s__PITCH_
mov edx, esi
call fcn.0040bbd0
mov eax, dword [0x5c2a04]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
add esp, 0xc
push 0
push 9
push esi
push eax
call edx
mov edi, eax
test edi, edi
jl 0x4a8f61
cmp dword [0x5c2a10], 0
jne 0x4a8f61
push 0
push 0
push 0
push 0x4a8e50
push 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004e946d
add esp, 4
pop esi
mov eax, edi
pop edi
add esp, 0xc
ret
mov eax, 0x80004005
pop esi
pop edi
add esp, 0xc
ret
Function at 0x4a99b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x552941
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebp, ebp
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], eax
mov dword [esp + 0x34], ebp
mov dword [esi], vtable.CibaPromptMgr.0
call fcn.004ac070
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebp
mov ebx, 1
mov byte [esp + 0x34], bl
call fcn.004ac090
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebp
mov byte [esp + 0x34], 2
call fcn.004ace50
mov dword [esi + 0x40], eax
mov byte [eax + 0x119], bl
mov eax, dword [esi + 0x40]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x40]
mov dword [eax], eax
mov eax, dword [esi + 0x40]
mov dword [eax + 8], eax
mov dword [esi + 0x44], ebp
push ebp
lea edi, [esi + 0x48]
push 0x65
mov ecx, edi
mov byte [esp + 0x3c], 3
call fcn.004f57b6
lea eax, [edi + 0x8c]
mov dword [edi + 0x74], ebp
mov dword [edi], vtable.PopoWnd_class_CibaPromptMgr_.0
mov dword [edi + 0x78], ebp
mov dword [edi + 0x7c], ebp
mov dword [edi + 0x80], ebp
mov dword [edi + 0x88], ebp
call fcn.00476e10
mov byte [esp + 0x34], 4
call fcn.004ace90
mov dword [esi + 0x1bc], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x1bc]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x1bc]
mov dword [eax], eax
mov eax, dword [esi + 0x1bc]
mov dword [eax + 8], eax
mov dword [esi + 0x1c0], ebp
mov byte [esp + 0x34], 5
cmp dword [0x5bdd80], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
jne 0x4a9acf
mov dword [0x5bdd80], ebp
mov ecx, dword [esp + 0x3c]
push ecx
lea eax, [esi + 0x20]
push eax
mov ebx, 0x5bdd50
call fcn.0045f190
add esp, 8
push ebp
push ebp
push 0xcf0000
movzx ebx, ax
push ebp
lea edx, [esp + 0x28]
push edx
mov eax, esi
call fcn.00489eb0
mov dword [esi + 0x1c4], ebp
mov dword [esi + 0x1cc], ebp
mov dword [esi + 0x1c8], ebp
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x4a9e30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x548866
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
sub eax, 0x10
push eax
call fcn.00417490
add eax, 0x10
mov dword [esi + 0x28], eax
mov dword [esp + 0x18], 0
mov eax, dword [edi + 0x2c]
sub eax, 0x10
push eax
call fcn.00417490
add eax, 0x10
add esp, 8
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
add edi, 0x30
push eax
mov byte [esp + 0x18], 1
call fcn.004a9ef0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4b0000
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
test eax, eax
push ebx
push esi
push edi
mov esi, ecx
jne 0x4b0085
mov ecx, dword [esi + 0x1d0]
push eax
call fcn.004f3a53
mov ecx, dword [esi + 0x1e0]
push 0
call fcn.004f3a53
mov ecx, dword [esi + 0x1e4]
push 0
call fcn.004f3a53
push 0
lea ecx, [esi + 0x94]
call fcn.004f3a53
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x5c2a18]
lea eax, [edx + ecx]
mov edx, dword [esp + 0x18]
push 1
mov dword [esp + 0x20], eax
sub eax, ecx
push eax
mov eax, dword [esp + 0x18]
sub edx, eax
push edx
push ecx
push eax
mov ecx, esi
call fcn.004f3a15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4b00db
call fcn.004b0e20
test eax, eax
je 0x4b009c
push 5
mov ecx, eax
call fcn.004f3a53
mov ecx, dword [esi + 0x1d0]
push 0
call fcn.004f3a53
push 0
lea ecx, [esi + 0x94]
call fcn.004f3a53
push str.Show_Explain_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x2b21
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x4b01c5
mov ecx, dword [esi + 0x1d0]
push 5
call fcn.004f3a53
mov ecx, dword [esi + 0x1e0]
push 0
call fcn.004f3a53
mov ecx, dword [esi + 0x1e4]
push 0
call fcn.004f3a53
push 0
lea ecx, [esi + 0x94]
call fcn.004f3a53
mov ecx, dword [esi + 0x1ec]
test ecx, ecx
jne 0x4b0126
xor eax, eax
jmp 0x4b0131
mov eax, dword [esi + 0x1f0]
sub eax, ecx
sar eax, 2
movzx edi, byte [0x5bdee9]
mov edx, dword [esi + 0x20]
imul edi, eax
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
push edx
call ebx
mov ecx, dword [esp + 0x24]
mov eax, dword [0x5c2a18]
mov edx, dword [esp + 0x28]
add eax, ecx
lea eax, [eax + edi + 3]
push 1
mov dword [esp + 0x30], eax
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
sub edx, eax
push edx
push ecx
push eax
mov ecx, esi
call fcn.004f3a15
mov ecx, dword [esi + 0x1d0]
mov edx, dword [ecx + 0x20]
lea eax, [esp + 0x10]
push eax
push edx
call ebx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004e9f4a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edi + 1]
push 1
mov dword [esp + 0x20], eax
sub eax, ecx
push eax
mov eax, dword [esp + 0x18]
sub edx, eax
push edx
push ecx
mov ecx, dword [esi + 0x1d0]
push eax
call fcn.004f3a15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x20]
push 0
push 1
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cc9c0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [edi + 0xac]
test eax, eax
je 0x4cc9ea
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [edi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xac], 0
push esi
mov esi, dword [edi]
test esi, esi
je 0x4cca27
mov eax, dword [esi + 4]
test eax, eax
je 0x4cca0b
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x48]
push ecx
push eax
call edx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x14]
push eax
call ecx
mov eax, dword [esi]
test eax, eax
je 0x4cca18
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004e946d
add esp, 4
mov dword [edi], 0
xor eax, eax
pop esi
ret

Function at 0x4ccd70
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [edi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4ccd9d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [edi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x28], 0
push esi
mov esi, dword [edi + 0x24]
test esi, esi
je 0x4ccddc
mov eax, dword [esi + 4]
test eax, eax
je 0x4ccdbf
mov edx, dword [esi + 0xc]
push edx
push eax
mov eax, dword [esi + 0x48]
call eax
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x14]
push ecx
call edx
mov eax, dword [esi]
test eax, eax
je 0x4ccdcc
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004e946d
add esp, 4
mov dword [edi + 0x24], 0
mov eax, 1
pop esi
ret
Function at 0x4db3d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54e73e
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x14], edi
mov eax, 7
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], edi
mov word [esi + 0x14], di
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], edi
mov word [esi + 0x30], di
mov byte [esp + 0x14], 2
call fcn.004dd0b0
mov dword [esi + 0x4c], eax
mov byte [eax + 0x31], 1
mov eax, dword [esi + 0x4c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x4c]
mov dword [eax], eax
mov eax, dword [esi + 0x4c]
mov dword [eax + 8], eax
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4de930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x549850
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 8], esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x20], 1
call fcn.004de9c0
cmp dword [esp + 0x34], 8
jb 0x4de984
mov edx, dword [esp + 0x20]
push edx
call fcn.004e946d
add esp, 4
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
lea esi, [esp + 0x38]
mov dword [esp + 0x34], 7
call fcn.004da120
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4dfb00
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
test ebx, ebx
push esi
push edi
jne 0x4dfb57
cmp byte [ebp + 0x2c], al
jne 0x4dfb4e
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov ebx, dword [str.Failed_to_open_file]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4dfb30
sub eax, edx
lea edi, [ebp + 0x34]
mov esi, eax
call fcn.004e0740
or eax, 0xffffffff
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x3c], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 4
mov edi, ebp
call fcn.004df1b0
push 2
or eax, 0xffffffff
push 0
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.005119b0
push ebx
call fcn.0051687e
push 0
push 0
push ebx
mov edi, eax
call fcn.005119b0
add esp, 0x1c
test edi, edi
jg 0x4dfbb1
cmp byte [ebp + 0x2c], 0
jne 0x4dfb4e
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 0xc
mov ebx, dword [str.Error_document_empty.]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4dfba6
jmp 0x4dfb39
lea eax, [edi + 1]
push eax
call fcn.004e943d
push ebx
push 1
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00512719
add esp, 0x14
cmp eax, 1
je 0x4dfc0e
push esi
call fcn.004e946d
add esp, 4
cmp byte [ebp + 0x2c], 0
jne 0x4dfb4e
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov ebx, dword [str.Failed_to_open_file]
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4dfc00
jmp 0x4dfb39
mov byte [esi + edi], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x4dfc44
jmp 0x4dfc20
mov dl, byte [eax]
cmp dl, 0xd
jne 0x4dfc37
mov byte [ecx], 0xa
add eax, 1
add ecx, 1
cmp byte [eax], 0xa
jne 0x4dfc3f
jmp 0x4dfc3c
mov byte [ecx], dl
add ecx, 1
add eax, 1
cmp byte [eax], 0
jne 0x4dfc20
push 0
mov byte [ecx], 0
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push 0
push esi
mov ecx, ebp
call eax
push esi
call fcn.004e946d
add esp, 4
pop edi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop esi
pop ebp
sete al
pop ebx
ret 4
Function at 0x4e2b90
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x549778
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5b2920]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], esi
mov word [esp + 0x34], si
push 0x26
push str.SELECT_COUNT_name__FROM_sqlite_master_
lea ecx, [esp + 0x38]
mov dword [esp + 0x7c], esi
call fcn.004029f0
lea edi, [esp + 0x30]
mov eax, ebp
call fcn.004e2fa0
cmp eax, esi
jne 0x4e2c19
cmp dword [esp + 0x48], 8
jb 0x4e2c12
mov eax, dword [esp + 0x34]
push eax
call fcn.004e946d
add esp, 4
xor eax, eax
jmp 0x4e2d4f
cmp eax, 0xffffffff
jne 0x4e2c3a
cmp dword [esp + 0x48], 8
jb 0x4e2c32
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004e946d
add esp, 4
or eax, 0xffffffff
jmp 0x4e2d4f
push 0x59
push str.SELECT_COUNT_name__FROM_sqlite_master__t_t_t___WHERE_type__table_AND_name__T_DataInfo_
lea ecx, [esp + 0x38]
call fcn.004029f0
lea edi, [esp + 0x30]
mov eax, ebp
call fcn.004e2fa0
mov edi, eax
cmp edi, 0xffffffff
jne 0x4e2c77
cmp dword [esp + 0x48], 8
jb 0x4e2c32
mov edx, dword [esp + 0x34]
push edx
call fcn.004e946d
add esp, 4
or eax, edi
jmp 0x4e2d4f
cmp edi, esi
jne 0x4e2c8e
lea esi, [esp + 0x30]
call fcn.00406150
mov eax, 1
jmp 0x4e2d4f
cmp edi, 1
jne 0x4e2d44
mov edx, str.SELECT_UID_FROM_T_DataInfo
lea esi, [esp + 0x30]
call fcn.00415080
lea eax, [esp + 0x14]
push eax
mov edx, esi
mov ecx, ebp
call fcn.004e3000
mov ecx, ebx
mov byte [esp + 0x74], 1
call fcn.004d1230
lea ecx, [esp + 0x14]
mov bl, al
mov byte [esp + 0x74], 0
call fcn.00402790
test bl, bl
je 0x4e2cdd
call fcn.00406150
or eax, 0xffffffff
jmp 0x4e2d4f
mov edx, str.SELECT_Version_FROM_T_DataInfo_
call fcn.00415080
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
mov ecx, ebp
call fcn.004e3000
push 0xffffffffffffffff
lea eax, [esp + 0x50]
mov byte [esp + 0x78], 2
call fcn.00405ed0
mov ecx, eax
add ecx, 1
lea esi, [esp + 0x18]
lea edx, [esp + 0x50]
call fcn.00404b90
cmp dword [eax + 0x18], 8
jb 0x4e2d24
mov eax, dword [eax + 4]
jmp 0x4e2d27
add eax, 4
push eax
call fcn.005130f4
add esp, 4
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00402790
lea ecx, [esp + 0x4c]
call fcn.00402790
lea esi, [esp + 0x30]
call fcn.00406150
mov eax, edi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0050fe87
add esp, 0x64
ret 4

Function at 0x4e3900
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4e3918
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
ret
mov eax, 8
ret
Function at 0x4e41f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x596490
push 0x516a80
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5b2920]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp word [ecx], 0x5a4d
jne 0x4e428f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4e428f
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x4e428f
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x4e428f
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e43a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
mov esi, dword [0x5bf184]
test esi, esi
je 0x4e43ca
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x4e43b3
pop edi
pop esi
pop ecx
ret
Function at 0x4e4790
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5bf190], eax
je 0x4e47a6
mov eax, 0x10dd
pop ecx
ret
push ebx
push ebp
push esi
mov esi, dword [0x5bf1a0]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x4e47fc
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [esp]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x10]
push eax
movzx eax, byte [edx + 0x17]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call ebx
cmp dword [esi + 4], ebp
jne 0x4e47eb
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x4e47eb
call fcn.004e4630
mov dword [esi + 0x10], ebp
mov edi, dword [esi]
push esi
call fcn.004e946d
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x4e47c0
mov dword [0x5bf1a0], ebp
call fcn.004e43d0
mov esi, dword [0x5bf19c]
cmp esi, ebp
je 0x4e482e
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 4]
push edx
call ebx
mov edi, dword [esi]
push esi
call fcn.004e946d
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x4e4817
pop edi
pop esi
mov dword [0x5bf19c], ebp
mov dword [0x5bf190], ebp
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4e4b10
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x5bf194]
test eax, eax
jne 0x4e4b8c
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x4e4b2e
xor eax, eax
pop edi
ret 4
push esi
push 8
call fcn.004e943d
mov esi, eax
add esp, 4
test esi, esi
jne 0x4e4b44
lea edi, [eax + 8]
jmp 0x4e4b61
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x4e4b78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.004e946d
add esp, 4
pop esi
mov dword [0x5bf194], edi
mov eax, edi
mov dword [0x5bf198], 0
pop edi
ret 4
mov eax, dword [0x5bf19c]
mov dword [esi + 4], edi
mov dword [esi], eax
mov dword [0x5bf19c], esi
pop esi
xor eax, eax
pop edi
ret 4
Function at 0x4e4e20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5bf190], eax
je 0x4e4e38
mov eax, 0x10dd
pop ecx
ret 8
mov eax, dword [0x5bf194]
test eax, eax
jne 0x4e4f33
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
jne 0x4e4e56
lea eax, [ebp + 6]
pop ebp
pop ecx
ret 8
cmp dword [ebp], 0
jne 0x4e4e71
mov eax, 6
mov dword [0x5bf198], ebp
mov dword [0x5bf194], eax
pop ebp
pop ecx
ret 8
push ebx
push esi
push edi
push 0x18
call fcn.004e943d
mov esi, eax
add esp, 4
test esi, esi
jne 0x4e4e8c
lea edi, [eax + 8]
jmp 0x4e4f14
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebp]
push 0
push eax
call fcn.004e4710
movzx ecx, byte [ebx + 0x17]
mov edi, dword [ebx + 0x18]
sub edi, ecx
test ecx, ecx
je 0x4e4f06
cmp ecx, 0x17
ja 0x4e4f06
cmp dword [ebx + 0x1c], eax
jne 0x4e4f06
lea edx, [esp + 0x10]
push edx
push 0x40
push ecx
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4e4ed7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x4e4f14
mov ecx, dword [0x5bf1a0]
mov dword [esi + 8], ebp
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], edi
mov dword [esi + 4], 1
mov eax, dword [esp + 0x10]
pop edi
mov dword [esi + 0x14], eax
mov dword [esi], ecx
mov dword [0x5bf1a0], esi
pop esi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret 8
cmp dword [0x5bf18c], 0
mov edi, 9
jne 0x4e4f1a
mov dword [0x5bf194], edi
test esi, esi
je 0x4e4f27
push esi
call fcn.004e946d
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov dword [0x5bf198], ebp
pop ebp
pop ecx
ret 8