joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405474
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x443054]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 8
mov eax, 0x42afda
call fcn.0042864a
mov eax, dword [ebp + 0xd4]
and word [ebp], 0
push 0xc6
mov dword [ebp - 0x14], eax
lea eax, [ebp + 2]
push 0
push eax
mov ebx, ecx
mov edi, edx
call fcn.00427cf8
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
add esp, 0xc
imul esi, eax
cmp dword [ebp - 0x14], 0
jne 0x4054cf
mov dword [ebp - 0x14], ebx
and dword [ebp - 0x10], 0
test byte [edi + 4], 0x80
je 0x40552f
test ebx, ebx
jne 0x40550b
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042790e
mov ebx, eax
mov eax, dword [edi + 0x14]
add eax, eax
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push ebx
call fcn.00427d64
add esp, 0x10
mov dword [ebp - 0x14], ebx
mov ecx, dword [edi + 0x14]
jmp 0x40551d
dec ecx
movzx eax, word [ebx + ecx*2]
rol ax, 8
mov word [ebx + ecx*2], ax
test ecx, ecx
jne 0x405510
push str.endian_swap
lea eax, [edi + 0x18]
push eax
call fcn.00405749
push dword [edi]
push 1
push esi
push dword [ebp - 0x14]
call dword [0x42d3c4]
add esp, 0x10
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
cmp dword [ebp - 0x10], 0
je 0x405558
push dword [ebp - 0x10]
call fcn.00427bd2
pop ecx
test bl, bl
je 0x40557f
push dword [edi + 0x14]
lea eax, [ebp]
push str.length__d
push eax
call fcn.00405b11
add esp, 0xc
lea eax, [ebp]
push eax
add edi, 0x18
push edi
call fcn.00405749
jmp 0x40559e
lea esi, [ebp - 0x10]
call fcn.00402619
and dword [ebp - 4], 0
add edi, 0x18
call fcn.00405a78
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401518
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.00427ce2
add ebp, 0xcc
leave
ret
Function at 0x406fe5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
sub esp, 0x110
lea ebp, [esp - 4]
mov eax, dword [0x443054]
xor eax, ebp
mov dword [ebp + 0x110], eax
push 0x58
mov eax, 0x4298d7
call fcn.0042864a
xor edi, edi
mov dword [esi], vtable.CMemorySynMang.0
mov dword [ebp - 0x10], esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
call fcn.00408300
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 1
call dword [sym.imp.QQPlayer.DLL_public:_void___thiscall_CMyMutex::constructor_void_]
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call dword [0x42d210]
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 3
call dword [0x42d210]
lea eax, [esi + 0x14]
mov byte [ebp - 4], 4
mov ebx, dword [0x42d128]
push eax
call ebx
lea eax, [esi + 0x38]
push eax
call ebx
or dword [esi + 0x50], 0xffffffff
push edi
push edi
push 1
push edi
call dword [0x42d130]
mov dword [esi + 0x54], eax
lea eax, [ebp]
push eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x64], edi
call dword [0x42d5a8]
push 0xfe
lea eax, [ebp + 0x12]
push edi
push eax
mov word [ebp + 0x10], di
call fcn.00427cf8
movzx eax, byte [ebp + 0xf]
push eax
movzx eax, byte [ebp + 0xe]
push eax
movzx eax, byte [ebp + 0xd]
push eax
movzx eax, byte [ebp + 0xc]
push eax
movzx eax, byte [ebp + 0xb]
push eax
movzx eax, byte [ebp + 0xa]
push eax
movzx eax, byte [ebp + 9]
push eax
movzx eax, byte [ebp + 8]
push eax
movzx eax, word [ebp + 6]
push eax
movzx eax, word [ebp + 4]
push eax
push dword [ebp]
lea eax, [ebp + 0x10]
push 0x431a68
push 0x7f
push eax
call fcn.00408607
add esp, 0x44
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x48]
call dword [0x42d200]
mov edi, eax
push str.QZONEMUSIC_SHAREDPLAYINFO_MUTEX
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call dword [0x42d200]
push edi
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
mov edi, dword [0x42d204]
push eax
call edi
add esp, 0xc
push eax
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 7
call dword [0x42d208]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call dword [0x42d21c]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call dword [0x42d21c]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call dword [0x42d21c]
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x2c]
call dword [0x42d200]
mov ebx, eax
push str.QZONEMUSIC_SHAREDPLAYINFO_MEMORY
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call dword [0x42d200]
push ebx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 9
call edi
add esp, 0xc
push eax
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 0xa
call dword [0x42d208]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call dword [0x42d21c]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call dword [0x42d21c]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call dword [0x42d21c]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x110]
xor ecx, ebp
call fcn.00427ce2
add ebp, 0x114
leave
ret
Function at 0x40f9f5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x40fb0c
cmp dword [ebp + 0x10], edi
je 0x40fb0c
mov esi, dword [ebp + 8]
push dword [esi + 4]
call dword [0x42d490]
test eax, eax
je 0x40fb0c
push dword [ebp + 0xc]
push edi
push 0x100000
call dword [0x42d124]
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x40fb0c
lea eax, [esi + 0x1ec]
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
call dword [0x42d0fc]
lea ebx, [esi + 0x204]
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x20], ebx
call fcn.004102f6
lea edi, [esp + 0x18]
mov esi, eax
call fcn.00408ee1
xor edi, edi
inc edi
test al, al
je 0x40fa9d
lea eax, [ebp + 0x10]
push eax
mov eax, ebx
call fcn.00408ce2
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
jmp 0x40faab
push dword [esp + 0xc]
call dword [0x42d150]
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x14]
push esi
call dword [0x42d108]
cmp dword [esp + 0x10], 0
je 0x40fac1
mov eax, edi
jmp 0x40fb0e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x21c], 0xffffffff
jne 0x40faf9
cmp dword [esi + 0x30], 0xffffffff
jne 0x40fabd
mov eax, dword [eax + 4]
push esi
push 0
push 0x40887b
mov dword [esi + 0x40], eax
call dword [0x42d288]
xor ecx, ecx
add esp, 0xc
cmp eax, 0xffffffff
setne cl
mov dword [esi + 0x30], eax
mov eax, ecx
jmp 0x40fb0e
mov eax, dword [eax + 0x224]
test eax, eax
je 0x40fabd
push eax
call dword [0x42d140]
jmp 0x40fabd
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4107b3
Capabilities:
Create thread

Disassembly:
push esi
mov esi, eax
cmp dword [esi], 0xffffffff
je 0x4107ce
mov esi, dword [esi + 4]
test esi, esi
je 0x4107c9
push esi
call dword [0x42d13c]
xor eax, eax
inc eax
pop esi
ret
mov eax, dword [esi + 4]
push ebx
push ebp
mov ebp, dword [0x42d13c]
xor ebx, ebx
cmp eax, ebx
push edi
mov edi, dword [0x42d130]
jne 0x4107f6
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x4107f9
jmp 0x41080e
push eax
call ebp
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x410812
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x410815
xor eax, eax
jmp 0x410831
push eax
call ebp
push esi
push ebx
push 0x41065a
call dword [0x42d288]
xor ecx, ecx
add esp, 0xc
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
mov eax, ecx
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x412c6c
Capabilities:
Encode data using base64

Disassembly:
push 0x18
mov eax, 0x428a65
call fcn.0042864a
mov ecx, dword [ebp + 0xc]
mov eax, ecx
cdq
push 3
pop edi
idiv edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
lea ecx, [eax + ecx + 3]
mov eax, ecx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
lea edi, [ecx + eax*2 + 4]
mov ecx, esi
call dword [0x42d244]
mov dword [ebp - 4], ebx
inc ebx
push edi
mov ecx, esi
mov dword [ebp - 0x20], ebx
call dword [0x42d250]
push 0
mov ecx, esi
call dword [0x42d248]
push ebx
mov ecx, esi
mov byte [eax], 0xd
call dword [0x42d248]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push 2
mov byte [eax], 0xa
pop edi
mov dword [ebp - 0x10], ebx
jle 0x412da6
mov eax, dword [ebp + 8]
movzx ecx, byte [ebx + eax]
inc ebx
shl ecx, 8
cmp ebx, dword [ebp + 0xc]
jge 0x412cfc
movzx edx, byte [ebx + eax]
or ecx, edx
inc ebx
jmp 0x412cff
inc dword [ebp - 0x10]
shl ecx, 8
cmp ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
jge 0x412d16
movzx eax, byte [ebx + eax]
or ecx, eax
mov dword [ebp - 0x18], ecx
inc ebx
jmp 0x412d19
inc dword [ebp - 0x10]
lea eax, [edi + 4]
cmp eax, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
je 0x412d6e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x10], 0
je 0x412d4c
mov eax, edi
sub eax, dword [ebp - 0x10]
add eax, 4
cmp dword [ebp - 0x14], eax
jl 0x412d4c
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x42d248]
mov byte [eax], 0x3d
jmp 0x412d65
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x42d248]
mov ecx, dword [ebp - 0x18]
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
shr dword [ebp - 0x18], 6
cmp dword [ebp - 0x14], edi
jne 0x412d26
mov edi, dword [ebp - 0x1c]
mov eax, edi
push 0x42
cdq
pop ecx
idiv ecx
test edx, edx
je 0x412d83
cmp dword [ebp - 0x10], 0
je 0x412d9d
push edi
mov ecx, esi
call dword [0x42d248]
inc edi
push edi
mov ecx, esi
mov byte [eax], 0xd
call dword [0x42d248]
mov byte [eax], 0xa
inc edi
cmp ebx, dword [ebp + 0xc]
jl 0x412ce3
push edi
mov ecx, esi
call dword [0x42d250]
mov eax, esi
call fcn.00428722
ret
Function at 0x414ff3
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x443054]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp + 0x1a0]
push edi
push eax
call fcn.00427cf8
add esp, 0xc
mov esi, 0x103
push esi
lea eax, [ebp + 0x1a0]
push eax
push dword [0x4451f8]
call dword [0x42d1c8]
mov ebx, eax
cmp ebx, edi
jg 0x41504e
xor eax, eax
jmp 0x41519e
lea eax, [ebp - 0x74]
push eax
push 0x4365f0
mov dword [ebp - 0x74], edi
call dword [0x42d590]
push 0x208
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.00427cf8
push dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push str.CLSID_sLocalServer32
push esi
push eax
call fcn.00416261
add esp, 0x1c
lea eax, [ebp - 0x70]
push eax
push 0x20006
push edi
lea eax, [ebp - 0x68]
push eax
push 0x80000000
mov dword [ebp - 0x70], edi
call dword [section..rdata]
cmp eax, edi
mov esi, dword [0x42d004]
mov dword [ebp - 0x78], eax
jne 0x4150d6
cmp dword [ebp - 0x70], edi
je 0x4150d6
lea eax, [ebx + ebx + 2]
push eax
lea eax, [ebp + 0x1a0]
push eax
push 1
push edi
push edi
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
call dword [0x42d008]
mov dword [ebp - 0x70], edi
push dword [ebp - 0x74]
call dword [0x42d58c]
push edi
lea eax, [ebp - 0x6c]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerLow_RightsElevationPolicyE8A77722_17C3_451a_88D0_D5F01DA120AE
push 0x80000002
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x6c], edi
call dword [0x42d00c]
test eax, eax
jne 0x415196
lea eax, [ebx - 1]
mov ecx, eax
cmp ecx, edi
jl 0x41518d
movzx edx, word [ebp + ecx*2 + 0x1a0]
cmp dx, 0x5c
je 0x41512b
cmp dx, 0x2f
je 0x41512b
dec ecx
jns 0x415114
cmp ecx, edi
jle 0x41518d
cmp ecx, eax
jge 0x41518d
lea eax, [ecx + ecx]
sub ebx, ecx
mov dword [ebp - 0x7c], eax
add ebx, ebx
push ebx
lea eax, [ebp + eax + 0x1a2]
push eax
push 1
push edi
push str.AppName
push dword [ebp - 0x6c]
call esi
mov eax, dword [ebp - 0x7c]
push eax
mov word [ebp + eax + 0x1a0], di
lea eax, [ebp + 0x1a0]
push eax
push 1
push edi
push str.AppPath
push dword [ebp - 0x6c]
call esi
push 4
lea eax, [ebp - 0x80]
push eax
push 4
push edi
push str.Policy
push dword [ebp - 0x6c]
mov dword [ebp - 0x80], 3
call esi
push dword [ebp - 0x6c]
call dword [0x42d008]
xor eax, eax
cmp dword [ebp - 0x78], edi
sete al
mov ecx, dword [ebp + 0x3a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427ce2
add ebp, 0x3ac
leave
ret
Function at 0x415c55
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x824]
sub esp, 0x8a4
mov eax, dword [0x443054]
xor eax, ebp
mov dword [ebp + 0x820], eax
push 0x3c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00427cf8
lea eax, [ebp + 0x7e0]
add esp, 0xc
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
push 0x10000000
push edi
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x78], 0x40
call dword [0x42d16c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x415cb8
mov eax, dword [ebp - 0x74]
jmp 0x415cbb
or eax, 0xffffffff
cmp eax, 5
jne 0x415cc4
mov al, 1
jmp 0x415cda
cmp eax, 3
je 0x415cce
cmp eax, 4
jne 0x415cd8
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.00415f57
xor al, al
mov ecx, dword [ebp + 0x820]
xor ecx, ebp
call fcn.00427ce2
add ebp, 0x824
leave
ret

Function at 0x415f57
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00427cf8
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
push 0x10000000
push dword [ebp + 8]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x28], 0x824
call dword [0x42d16c]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
neg eax
sbb eax, eax
neg eax
leave
ret 8

Function at 0x41753f
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x443054]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x42ad53
call fcn.0042864a
xor esi, esi
push 0x206
lea eax, [ebp + 2]
push esi
mov dword [ebp - 0x10], esi
push eax
mov word [ebp], si
call fcn.00427cf8
add esp, 0xc
push esi
push 0x1a
lea eax, [ebp]
push eax
push esi
call dword [0x42d474]
test eax, eax
jne 0x41759d
push ebx
mov edi, 0x430e58
call fcn.0040157c
jmp 0x4175c6
lea eax, [ebp - 0x10]
push eax
lea edi, [ebp]
call fcn.0040157c
push str.TencentQZoneMusic_
push ebx
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00405a06
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401518
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00427ce2
add ebp, 0x20c
leave
ret
Function at 0x417bf5
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429c57
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x443054]
xor eax, esp
mov dword [esp + 0x1b0], eax
push esi
mov eax, dword [0x443054]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
push 0x202
call dword [0x42d568]
test eax, eax
jne 0x417cb1
cmp byte [esp + 0x24], 2
jne 0x417cab
cmp byte [esp + 0x25], 2
jne 0x417cab
lea esi, [esp + 8]
call fcn.00417e51
and dword [esp + 0x1c8], 0
lea esi, [edi + 4]
push eax
mov ecx, esi
call dword [0x42d208]
or dword [esp + 0x1c8], 0xffffffff
lea ecx, [esp + 8]
call dword [0x42d21c]
cmp dword [esi + 0x18], 8
jb 0x417c8f
mov esi, dword [esi + 4]
jmp 0x417c92
add esi, 4
push esi
push str.GetLocalHostIP:___s_
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
cmp dword [edi + 0x18], 0
pop ecx
pop ecx
je 0x417cab
xor eax, eax
inc eax
jmp 0x417cb3
call dword [0x42d564]
xor eax, eax
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.00427ce2
mov esp, ebp
pop ebp
ret

Function at 0x417cd5
Capabilities:
Resolve dns

Disassembly:
push 0x1a0
mov eax, 0x42932f
call fcn.004286b3
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xa4], eax
mov esi, ecx
mov dword [ebp - 0xa8], ebx
call dword [section..data]
cmp dword [esi + 0x18], 8
mov dword [ebp - 0xa8], eax
jb 0x417d0e
mov esi, dword [esi + 4]
jmp 0x417d11
add esi, 4
cmp esi, ebx
je 0x417d24
push esi
call dword [0x42d170]
inc eax
cmp eax, 0x3fffffff
jle 0x417d28
xor eax, eax
jmp 0x417d43
lea edi, [eax + eax]
mov eax, edi
call fcn.004281f0
mov eax, esp
push dword [ebp - 0xa8]
push edi
push esi
mov esi, eax
call fcn.0040cd16
push eax
call dword [0x42d560]
mov esi, eax
cmp esi, ebx
jne 0x417d66
mov ecx, dword [ebp - 0xa4]
push 0x430e58
call dword [0x42d200]
jmp 0x417e3f
push 0x80
lea eax, [ebp - 0x90]
push ebx
push eax
call fcn.00427cf8
mov eax, dword [esi + 0xc]
add esp, 0xc
xor edi, edi
cmp dword [eax], ebx
je 0x417de9
xor ecx, ecx
movsx edx, word [esi + 0xa]
push edx
push dword [eax + ecx]
lea eax, [ebp - 0x9c]
push eax
call fcn.00427d64
add esp, 0xc
push dword [ebp - 0x9c]
call dword [0x42d55c]
push eax
push 0x437c80
lea eax, [ebp - 0x90]
push 0x7f
push eax
call fcn.00406c11
lea eax, [ebp - 0x90]
push str.127.0.0.1
push eax
call fcn.00427e4c
add esp, 0x18
test eax, eax
jne 0x417de9
inc edi
mov byte [ebp - 0x90], bl
mov eax, dword [esi + 0xc]
mov ecx, edi
shl ecx, 2
cmp dword [eax + ecx], ebx
jne 0x417d86
call dword [section..data]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x1ac]
lea ecx, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x1ac], ecx
call fcn.0040bc4d
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 4], ebx
push dword [ebp - 0x1ac]
call dword [0x42d200]
lea eax, [ebp - 0x1a8]
cmp dword [ebp - 0x1ac], eax
je 0x417e3f
push dword [ebp - 0x1ac]
call dword [0x42d27c]
pop ecx
mov eax, dword [ebp - 0xa4]
lea esp, [ebp - 0x1bc]
call fcn.00428736
ret
Function at 0x417e51
Capabilities:
Get hostname

Disassembly:
push 0x22c
mov eax, 0x429c23
call fcn.004286b3
and dword [ebp - 0x114], 0
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x118], esi
call dword [0x42d558]
test eax, eax
je 0x417e92
push 0x430e58
mov ecx, esi
call dword [0x42d200]
jmp 0x417f0d
call dword [section..data]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x234]
push eax
mov dword [ebp - 0x238], ecx
call fcn.0040bc4d
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x238]
lea ecx, [ebp - 0x134]
call dword [0x42d200]
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00417cd5
pop ecx
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x114], ebx
mov byte [ebp - 4], bl
call dword [0x42d21c]
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x238], eax
je 0x417f0d
push dword [ebp - 0x238]
call dword [0x42d27c]
pop ecx
mov eax, esi
call fcn.00428736
ret
Function at 0x418644
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42a49b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x443054]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x18], ebx
je 0x4187d7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ebx
je 0x4187d7
cmp word [ebp + 0xc], bx
je 0x4187d7
lea eax, [edi + 0x24]
mov dword [esp + 0x18], eax
call fcn.004187ed
cmp eax, 0x2710
jge 0x4187d7
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], ebx
je 0x4187d7
push edi
call fcn.00417f15
movzx esi, ax
movzx eax, si
push eax
push str.GetLocalHostPort:___d_
mov dword [esp + 0x18], esi
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
cmp si, bx
pop ecx
pop ecx
je 0x4187d7
push 0x70
call fcn.00427cf2
pop ecx
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x28], ebx
je 0x4186f8
push eax
call fcn.004178a8
mov esi, eax
jmp 0x4186fa
xor esi, esi
or dword [esp + 0x28], 0xffffffff
push ebx
push ebx
push 1
push ebx
mov ebx, dword [0x42d130]
mov dword [esp + 0x24], esi
call ebx
mov dword [esi + 0x5c], eax
xor eax, eax
push eax
push eax
push 1
push eax
call ebx
mov dword [esi + 0x60], eax
xor eax, eax
push eax
push eax
push 1
push eax
call ebx
mov dword [esi + 0x6c], eax
xor eax, eax
cmp dword [esi + 0x5c], eax
je 0x4187ca
cmp dword [esi + 0x60], eax
je 0x4187ca
cmp dword [esi + 0x6c], eax
je 0x4187ca
lea eax, [edi + 4]
push eax
lea ecx, [esi + 4]
call dword [0x42d208]
mov ax, word [esp + 0x10]
push dword [ebp + 8]
lea ecx, [esi + 0x24]
mov word [esi + 0x20], ax
call dword [0x42d208]
mov ax, word [ebp + 0xc]
mov word [esi + 0x40], ax
lea eax, [esi + 0x50]
push eax
push dword [ebp + 0x10]
lea ebx, [esi + 0x4c]
call fcn.00418571
mov eax, dword [edi + 0x34]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x20]
push esi
mov dword [esi + 0x44], eax
mov al, byte [ebp + 0x14]
push 0
push 0x4184ef
mov byte [esi + 0x64], al
call dword [0x42d288]
add esp, 0x14
cmp eax, 0xffffffff
mov dword [esi + 0x58], eax
je 0x4187ca
mov eax, dword [ebp + 0x18]
test eax, eax
mov dword [esi], esi
je 0x4187b7
mov dword [eax], esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.00418800
xor eax, eax
inc eax
jmp 0x4187d9
push esi
call fcn.00417924
push esi
call fcn.00427bcc
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x419256
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429bb3
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x443054]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
jne 0x419292
xor eax, eax
jmp 0x419424
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
add ebx, 0x24
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov edi, 0x430e58
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 4]
je 0x4192ba
cmp dword [esp + 0x14], ebx
je 0x4192c0
call dword [0x42d270]
cmp dword [esp + 0x18], esi
je 0x41931d
lea esi, [esp + 0x14]
call fcn.0040831b
mov esi, dword [eax]
test esi, esi
je 0x419312
mov eax, dword [ebp + 0xc]
cmp dword [esi], eax
je 0x419312
push edi
lea ecx, [esp + 0x20]
call dword [0x42d200]
and dword [esp + 0x88], 0
lea eax, [esp + 0x1c]
push eax
push 2
push dword [esi]
call fcn.0041a510
or dword [esp + 0x94], 0xffffffff
add esp, 0xc
lea ecx, [esp + 0x1c]
call dword [0x42d21c]
lea esi, [esp + 0x14]
call fcn.00410c3a
jmp 0x4192aa
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
call fcn.0041943c
mov esi, eax
test esi, esi
je 0x41933f
push dword [ebp + 0x10]
lea ecx, [esi + 4]
call dword [0x42d208]
jmp 0x419422
push 0xac
call fcn.00427cf2
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x88], 1
je 0x419367
push eax
call fcn.00418dce
mov esi, eax
jmp 0x419369
xor esi, esi
or dword [esp + 0x88], 0xffffffff
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
lea ecx, [esi + 4]
mov dword [esp + 0x18], esi
mov dword [esi], eax
call dword [0x42d208]
push edi
lea ecx, [esi + 0x40]
call dword [0x42d218]
push edi
lea ecx, [esi + 0x20]
call dword [0x42d218]
and dword [esi + 0x3c], 0
push edi
lea ecx, [esi + 0x5c]
call dword [0x42d218]
and dword [esi + 0x78], 0
mov dword [esi + 0x9c], 0xa
mov edi, dword [ebx + 4]
lea eax, [esp + 0x14]
push eax
push dword [edi + 4]
push edi
call fcn.00411d77
mov ecx, dword [ebx + 8]
mov edx, 0x3fffffff
sub edx, ecx
cmp edx, 1
jae 0x419416
push str.list_T__too_long
lea ecx, [esp + 0x3c]
call dword [0x42d224]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x90], 2
call fcn.00406e83
push 0x43c0c4
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], vtable.std::length_error.0
call fcn.00428222
inc ecx
mov dword [ebx + 8], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41b59e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [esi + 8], ebx
push edi
jne 0x41b60d
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x41b60d
cmp dword [esi + 4], ebx
je 0x41b60d
cmp dword [esi + 0x10], ebx
je 0x41b60d
mov edi, dword [0x42d13c]
push eax
call edi
push dword [esi + 4]
call edi
push dword [esi + 0x10]
call edi
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x41b697
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [0x42d33c]
add esp, 0x18
cmp eax, ebx
je 0x41b60d
push 0xffffffffffffffff
push dword [esi + 0xc]
mov dword [esi + 8], eax
call dword [0x42d148]
push dword [esi + 0xc]
mov dword [ebp - 8], eax
call edi
xor eax, eax
cmp dword [ebp - 8], ebx
sete al
jmp 0x41b60f
xor al, al
pop edi
pop ebx
leave
ret