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

Disassembly:
push 0xffffffffffffffff
push 0x600878
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, ecx
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
xor esi, esi
mov dword [esp + 0x24], esi
push ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
mov dword [ebp], 9
call fcn.004d03d0
cmp eax, esi
jne 0x4d0948
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d0941
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4d0a0a
mov ebx, dword [esp + 0x28]
xor ecx, ecx
cmp edi, esi
sete cl
add ebx, 8
mov dword [esp + 0x2c], ebx
lea ecx, [ecx + ecx + 1]
mov dword [ebp], ecx
mov eax, dword [esi + 0x633c54]
mov edx, dword [esp + 0x30]
push eax
push edx
call fcn.005d2da6
add esp, 8
test eax, eax
je 0x4d0983
add esi, 4
cmp esi, 0x10
jb 0x4d0961
jmp 0x4d099d
mov ecx, dword [esp + 0x28]
mov eax, edi
neg eax
sbb eax, eax
add eax, 7
add ecx, 0x1a8
mov dword [ebp], eax
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x2c], ebx
jne 0x4d09de
xor esi, esi
mov eax, dword [esi + 0x633c64]
mov edx, dword [esp + 0x30]
push eax
push edx
call fcn.005d2da6
add esp, 8
test eax, eax
je 0x4d09c7
add esi, 4
cmp esi, 0x10
jb 0x4d09a5
jmp 0x4d09de
mov eax, dword [esp + 0x28]
neg edi
sbb edi, edi
add edi, 5
add eax, 0x1a8
mov dword [ebp], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d0a06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4d0a20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x604300
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov eax, 0xa
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CSyncMgrBase.0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
lea eax, [esi + 0x38]
push eax
mov byte [esp + 0x18], 1
call fcn.004d01b0
lea ecx, [esi + 0x388]
push ecx
mov byte [esp + 0x18], 2
call fcn.004d0b70
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esi + 0x39c], eax
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esi + 0x3a0], eax
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esi + 0x3a4], eax
mov dword [esi + 0x3a8], edi
mov dword [esi + 0x3bc], edi
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esi + 0x3cc], eax
lea eax, [esi + 0x394]
mov dword [esi + 0x3b0], edi
mov dword [esi + 0x3b4], edi
mov dword [esi + 0x3ac], edi
mov dword [esi + 0x3b8], edi
mov dword [esi + 0x3c0], edi
mov dword [esi + 0x3c4], edi
mov dword [eax + 4], eax
mov dword [eax], eax
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 0x4d2aa0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x21c
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, edi
je 0x4d2c65
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d2c65
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.004d32e0
lea eax, [esp + 0x10]
push eax
push 0x4e5cc0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov ebx, dword [sym.imp.USER32.dll_GetClassNameW]
mov ebp, dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor esi, esi
jmp 0x4d2b20
cmp eax, edi
jne 0x4d2b28
xor ecx, ecx
jmp 0x4d2b2f
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jge 0x4d2c58
cmp eax, edi
je 0x4d2b46
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x4d2b53
call fcn.005d29f1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp dword [eax + esi*4], edi
je 0x4d2c22
cmp eax, edi
je 0x4d2b69
sub edx, eax
sar edx, 2
cmp esi, edx
jb 0x4d2b72
call fcn.005d29f1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + esi*4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d2c1a
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4d2b99
mov eax, dword [esp + 0x18]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4d2ba2
call fcn.005d29f1
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + esi*4]
push 0xff
lea edx, [esp + 0x24]
push edx
push eax
call ebx
mov ecx, str.Button
lea eax, [esp + 0x20]
jmp 0x4d2bc0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d2be6
cmp dx, di
je 0x4d2be2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d2be6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4d2bc0
xor eax, eax
jmp 0x4d2beb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4d2c1a
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4d2c04
mov eax, dword [esp + 0x18]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4d2c0d
call fcn.005d29f1
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + esi*4]
push ecx
call ebp
cmp eax, 0x5de
je 0x4d2c2a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add esi, 1
jmp 0x4d2b20
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4d2c3f
mov eax, dword [esp + 0x18]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4d2c48
call fcn.005d29f1
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + esi*4]
lea esi, [esp + 0x10]
call fcn.005cc490
mov eax, edi
jmp 0x4d2c67
cmp eax, edi
je 0x4d2c65
push eax
call fcn.005d2367
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005d28b3
add esp, 0x21c
ret
Function at 0x4d2db0
Capabilities:
Find taskbar

Disassembly:
push 0xffffffffffffffff
push 0x6067f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
cmp dword [ebp + 0x30], ebx
mov dword [esp + 0x4c], ebx
je 0x4d2ef1
cmp dword [ebp + 0x2c], 0xffffffff
je 0x4d2ef1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ebx
push str.Shell_TrayWnd
mov dword [esp + 0x4c], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x4d2e35
push ebx
mov ecx, eax
lea esi, [esp + 0x1c]
call fcn.004d3050
add esp, 4
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
mov eax, dword [esp + 0x20]
je 0x4d2e48
mov ebx, eax
sub ebx, ecx
sar ebx, 2
xor esi, esi
test ebx, ebx
jle 0x4d2eb5
jmp 0x4d2e58
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4d2e65
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4d2e6e
call fcn.005d29f1
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ecx + esi*4]
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebp + 0x30]
push edx
push eax
push ecx
call fcn.004d30a0
add esp, 0x10
cmp eax, 1
jne 0x4d2ea7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add edx, 8
add eax, 8
mov dword [edi], edx
mov dword [edi + 4], eax
mov dword [esp + 0x4c], 1
add esi, 1
cmp esi, ebx
jl 0x4d2e50
cmp dword [esp + 0x4c], 0
jne 0x4d2eda
call fcn.00478f30
test eax, eax
je 0x4d2ec7
call fcn.004d2c80
test eax, eax
jne 0x4d2ed2
mov esi, edi
call fcn.004d2cf0
test eax, eax
je 0x4d2eda
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d2eeb
push eax
call fcn.005d2367
add esp, 4
mov eax, dword [esp + 0x4c]
jmp 0x4d2ef3
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4

Function at 0x4d3320
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4d3370
call fcn.0040f010
test eax, eax
jl 0x4d3390
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x4d3378
call fcn.0040f010
test eax, eax
jge 0x4d3374
mov edi, eax
jmp 0x4d3383
mov esi, eax
jmp 0x4d334e
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], edx
xor edi, edi
test esi, esi
je 0x4d338e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4de370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fa170
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov esi, ecx
mov dword [esi + 8], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x80
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], bl
lea eax, [esp + 0x18]
mov dword [esp + 0x50], ebx
call fcn.004dac80
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x50], 1
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
push eax
push str.qqpy__u_freq.dat
lea edi, [esp + 0x1c]
call fcn.0040ac80
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
add esp, 8
push edx
push ebp
push edi
push esi
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x50], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, ebx
je 0x4de466
push ebp
call fcn.005d27e0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005d28b3
add esp, 0x40
ret
Function at 0x4e1180
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5f8470
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
push ebp
push 0x80
push 3
push ebp
push 3
mov byte [esp + 0x40], 1
mov ebx, dword [esp + 0x48]
push SysReAllocStringLen
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or esi, 0xffffffff
cmp eax, esi
jne 0x4e11f7
call fcn.0040f010
cmp eax, ebp
jge 0x4e11fd
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jmp 0x4e1313
mov ebp, eax
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x14], edi
jne 0x4e1220
call fcn.0040f010
test eax, eax
jl 0x4e1225
mov edi, dword [esp + 0x14]
cmp edi, 0x4c
jae 0x4e1246
test ebp, ebp
je 0x4e1230
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], esi
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jmp 0x4e1313
push edi
call fcn.005d1ef5
add esp, 4
push edi
mov esi, eax
push 0
push esi
call fcn.005da970
add esp, 0xc
push 0
lea ecx, [esp + 0x18]
push ecx
push edi
push esi
push ebp
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4e12b0
call fcn.0040f010
test eax, eax
jge 0x4e12b6
push esi
call fcn.005d28c2
add esp, 4
test ebp, ebp
je 0x4e1296
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4e1313
cmp dword [esp + 0x14], edi
jne 0x4e1282
cmp dword [esi], 0x51505545
jne 0x4e12e7
cmp word [esi + 4], 1
jne 0x4e12e7
push esi
call fcn.005d28c2
add esp, 4
lea esi, [esp + 0x1c]
call fcn.0044b230
lea ecx, [esp + 0x34]
call fcn.00403870
mov eax, 1
jmp 0x4e1321
push esi
call fcn.005d28c2
add esp, 4
test ebp, ebp
je 0x4e12fb
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e131f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x4e5ce0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
xor esi, esi
cmp dword [esp + 0x28], esi
push edi
je 0x4e5e48
xor ecx, ecx
push ecx
lea eax, [esp + 0x1c]
push eax
mov edx, eax
push esi
push edx
lea eax, [esp + 0x20]
push eax
mov ebx, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.004a7540
mov ecx, ebx
push ecx
push 0x4e5cc0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x4e5e48
mov ecx, dword [esp + 0x20]
mov edx, ecx
sub edx, eax
sar edx, 2
je 0x4e5e3b
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
xor edi, edi
cmp eax, esi
jne 0x4e5d58
xor edx, edx
jmp 0x4e5d5f
mov edx, ecx
sub edx, eax
sar edx, 2
cmp edi, edx
jge 0x4e5e3b
cmp eax, esi
mov dword [esp + 0x10], esi
je 0x4e5d78
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jb 0x4e5d81
call fcn.005d29f1
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + edi*4]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebx
cmp dword [esp + 0x10], esi
je 0x4e5e11
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x4e5da9
mov ecx, dword [esp + 0x20]
mov edx, ecx
sub edx, eax
sar edx, 2
cmp edi, edx
jb 0x4e5db6
call fcn.005d29f1
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp dword [eax + edi*4], esi
je 0x4e5e19
cmp eax, esi
je 0x4e5dc8
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jb 0x4e5dd1
call fcn.005d29f1
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edi*4]
push eax
call ebp
test eax, eax
je 0x4e5e11
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x4e5df0
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4e5df9
call fcn.005d29f1
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + edi*4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4e5e11
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x10], edx
je 0x4e5e21
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add edi, 1
jmp 0x4e5d50
lea esi, [esp + 0x18]
call fcn.0057a830
mov edi, dword [eax]
call fcn.005cc490
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp eax, esi
je 0x4e5e48
push eax
call fcn.005d2367
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x4e61a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x606270
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00409dd0
mov dword [esp + 0x10], vtable.CSingleModule.0
mov dword [esp + 0x14], 0
mov edi, str.QQPYDICTRELOADE0906577_FC2E_48d7_89D4_DD5C76E20AC0
lea eax, [esp + 0x10]
call fcn.0047e880
test eax, eax
jne 0x4e6241
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.004062c0
mov ecx, dword [esp + 0x18]
mov eax, dword [0x678ec4]
mov dword [eax + 0x9d0], ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x9d4], edx
cmp dword [0x671f10], 0
mov dword [0x678ec0], 1
je 0x4e6241
call fcn.004ebe50
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e6250
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e6278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret
Function at 0x4e6530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x60da44
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x10c]
xor esi, esi
cmp ebp, esi
je 0x4e67a7
mov ecx, ebp
call fcn.004e7000
test eax, eax
jne 0x4e6719
push ebp
call fcn.004e7620
add esp, 4
test eax, eax
jne 0x4e6719
mov edx, 0x6198d8
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], esi
call fcn.00404630
mov edi, eax
mov edx, 0x625c94
lea eax, [esp + 0x74]
mov dword [esp + 0x104], esi
call fcn.00404630
mov ebx, eax
mov edx, 0x6292b0
lea eax, [esp + 0x3c]
mov byte [esp + 0x104], 1
call fcn.00404630
push eax
sub esp, 0x1c
mov byte [esp + 0x124], 2
mov edx, ebp
mov eax, esp
mov dword [esp + 0x38], esp
call fcn.00404630
mov edx, edi
mov ecx, ebx
lea edi, [esp + 0xb0]
call fcn.00403a30
mov edi, 8
cmp dword [esp + 0x54], edi
jb 0x4e661e
mov eax, dword [esp + 0x40]
push eax
call fcn.005d2367
add esp, 4
mov ebx, 7
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], esi
mov word [esp + 0x40], si
cmp dword [esp + 0x8c], edi
jb 0x4e6646
mov ecx, dword [esp + 0x78]
push ecx
call fcn.005d2367
add esp, 4
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], esi
mov word [esp + 0x78], si
mov byte [esp + 0x104], 6
cmp dword [esp + 0x70], edi
jb 0x4e6674
mov edx, dword [esp + 0x5c]
push edx
call fcn.005d2367
add esp, 4
mov edx, 0x6292b8
lea eax, [esp + 0x20]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], esi
mov word [esp + 0x5c], si
mov dword [esp + 0x18], esi
call fcn.00404630
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x110], bl
call fcn.0045ecb0
mov byte [esp + 0x104], 6
cmp dword [esp + 0x38], edi
jb 0x4e66d0
mov eax, dword [esp + 0x24]
push eax
call fcn.005d2367
add esp, 4
mov ecx, dword [esp + 0x1c]
lea eax, [ecx - 4]
cmp eax, 0x17
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov word [esp + 0x24], si
ja case.0x4e66f4.5
movzx edx, byte [eax + 0x4e6808]
jmp dword [edx*4 + 0x4e67d4]
mov ecx, ebp
call fcn.004e6820
mov dword [esp + 0x104], 0xffffffff
lea ecx, [esp + 0x90]
call fcn.00403ba0
mov eax, 1
jmp 0x4e67a9
call fcn.004e6b50
jmp 0x4e6702
mov ecx, ebp
call fcn.004e6cf0
jmp 0x4e6702
mov ecx, ebp
call fcn.004e5e60
jmp 0x4e6702
mov ecx, ebp
call fcn.004e61a0
jmp 0x4e6702
call fcn.004e76f0
jmp 0x4e6702
call fcn.004e77c0
jmp 0x4e6702
call fcn.004e7890
jmp 0x4e6702
call fcn.004fbbd0
jmp 0x4e6702
call fcn.004e79e0
jmp 0x4e6702
push esi
call fcn.004e7ae0
add esp, 4
jmp 0x4e6702
push 1
call fcn.004e7ae0
add esp, 4
jmp 0x4e6702
push ecx
call fcn.004c7a90
add esp, 4
test eax, eax
mov dword [esp + 0x104], 0xffffffff
lea ecx, [esp + 0x90]
jne 0x4e6714
call fcn.00403ba0
xor eax, eax
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.005d28b3
add esp, 0xf4
ret
Function at 0x4e8480
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4e8514
cmp word [ebx + 8], 2
push edi
jne 0x4e84e5
cmp word [ebx + 0xa], 4
jne 0x4e84e5
mov edi, dword [ebx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x4e84e5
jmp 0x4e84c0
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ebp
push eax
push ecx
call fcn.004e8410
test eax, eax
mov dword [esi], eax
je 0x4e8508
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x4e84c0
mov edx, dword [ebx]
mov eax, dword [esp + 0x20]
push 0x400
push edx
push 0x401
push eax
call fcn.005d70a8
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x4e8524.11001
jmp dword [eax*4 + 0x4e854c]
pop esi
pop ebp
mov eax, 0x2af9
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afa
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afb
pop ebx
ret 0x10
Function at 0x4e8d70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x238
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x234], eax
cmp dword [0x680758], 0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], str.getaddrinfo
mov dword [esp + 0x14], 0x4e87d0
mov dword [esp + 0x18], str.getnameinfo
mov dword [esp + 0x1c], 0x4e8ab0
mov dword [esp + 0x20], str.freeaddrinfo
mov dword [esp + 0x24], fcn.004e8780
je 0x4e8dd5
movzx eax, word [esp + 0x24c]
mov eax, dword [eax*8 + 0x675dc0]
jmp 0x4e8eee
push 0x104
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4e8ed5
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.005d7043
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.005d6d83
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4e8e4c
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x4e8e98
push esi
call ebp
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.005d7043
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.005d6d83
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x4e8ed5
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x4e8e98
push esi
call ebp
jmp 0x4e8ed5
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
test eax, eax
mov dword [esp + edi*8 + 0x14], eax
je 0x4e8e93
add edi, 1
cmp edi, 3
jl 0x4e8ea0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x675dc0], edx
mov dword [0x675dc8], eax
mov dword [fcn.004e8780], ecx
movzx edx, word [esp + 0x24c]
mov eax, dword [edx*8 + 0x675dc0]
mov dword [0x680758], 1
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005d28b3
add esp, 0x238
ret 4