joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e800
Capabilities:
Create udp socket

Disassembly:
sub esp, 0x1c
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov esi, ecx
call fcn.0047ec60
test eax, eax
jne 0x47e900
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x47e859
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
test edi, edi
jne 0x47e8fe
or edi, 0xffffffff
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005787fd
add esp, 0x1c
ret
xor ecx, ecx
mov dword [esp + 0xe], ecx
mov dword [esp + 0x12], ecx
mov dword [esp + 0x16], ecx
mov word [esp + 0x1a], cx
mov dword [esp + 0x10], ecx
mov word [esp + 0xe], cx
push 0x10
lea ecx, [esp + 0x10]
push ecx
push eax
mov word [esp + 0x18], 2
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x47e833
mov edx, dword [esi]
mov eax, dword [esi + 4]
push 1
push 0x82cb
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov edi, eax
cmp edi, 0xffffffff
je 0x47e833
push 0x1f40
mov word [esi + 0x38], 0
mov byte [esi + 0x3b], 1
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0xe], ax
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x47e8cf
test eax, eax
jne 0x47e8ed
push str.srf.qq.com
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
je 0x47e8e6
test eax, eax
jne 0x47e8ed
mov eax, esi
call fcn.0047ecd0
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x47e8fe
test eax, eax
je 0x47e8fe
call fcn.0047ed70
mov eax, edi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.005787fd
add esp, 0x1c
ret

Function at 0x47ec60
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x194], eax
cmp byte [esi + 0x3a], 0
jne 0x47ecb3
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x47ecaf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x47ecb5
or eax, 0xffffffff
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.005787fd
add esp, 0x19c
ret
mov byte [esi + 0x3a], 1
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.005787fd
add esp, 0x19c
ret

Function at 0x47ed70
Capabilities:
Send data
Send data on socket

Disassembly:
test esi, esi
push edi
je 0x47ed7a
lea edi, [esi - 0x24]
jmp 0x47ed7c
xor edi, edi
mov ecx, edi
call fcn.0047d230
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
push 0x10
lea eax, [esi + 0xc]
push eax
mov eax, dword [esi + 4]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
add word [esi + 0x38], 1
movzx eax, word [esi + 0x38]
cmp ax, 3
jb 0x47edb9
cmp byte [esi + 0x3c], 0
jne 0x47edb9
call fcn.0047d630
pop edi
ret
mov ecx, dword [esi]
push 0
push 0xbb8
push 0xc2d
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
ret
Function at 0x47f240
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a7230
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [edi]
xor ebx, ebx
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x47f296
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
call fcn.0047f770
mov eax, dword [edi + 4]
push eax
call esi
test eax, eax
jne 0x47f2ad
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
push edi
call fcn.0047f770
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
push edi
call fcn.0047fef0
push edi
call fcn.004807d0
call fcn.0041ddc0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
lea eax, [edi + 8]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], ebx
push ecx
mov ebx, str.SkinlistOrder.dat
call fcn.00412480
add esp, 8
lea edx, [esp + 0x18]
mov byte [esp + 0x30], 1
mov eax, dword [eax]
push edx
push eax
call fcn.00481720
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f31d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x5c05dc
call fcn.00404460
lea edx, [esp + 0x10]
lea ebx, [edi + 0x24]
push edx
mov ecx, ebx
mov byte [esp + 0x34], 2
call fcn.0047f420
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x47f35d
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
je 0x47f35d
lea ecx, [esp + 0x18]
push ecx
mov esi, eax
call fcn.0047f5d0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47f382
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x5c05e8
call fcn.00404460
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
mov byte [esp + 0x34], 3
call fcn.0047f420
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x47f3bf
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
je 0x47f3bf
lea ecx, [esp + 0x18]
push ecx
mov esi, eax
call fcn.0047f5d0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47f3e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x18]
call fcn.00449240
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00578327
mov eax, 1
add esp, 4
mov dword [edi + 0x10], eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47f550
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x820
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x81c], eax
cmp dword [ebp + 8], 0
jne 0x47f5ad
lea eax, [esp + 4]
push eax
mov eax, dword [esi + 4]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x800
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jl 0x47f5ad
push eax
lea edx, [esi - 0x24]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
call fcn.0047d560
mov ecx, dword [esp + 0x81c]
xor ecx, esp
call fcn.005787fd
mov esp, ebp
pop ebp
ret 4
Function at 0x484bc0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5ab456
mov eax, dword fs:[0]
push eax
sub esp, 0xc20
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0xc18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0xc34]
mov dword fs:[0], eax
test byte [0x603fac], 1
mov eax, dword [esp + 0xc44]
mov ebx, ecx
mov dword [esp + 0x18], eax
jne 0x484c2f
or dword [0x603fac], 1
mov esi, 0x603760
call fcn.00484590
push 0x5afe40
call fcn.0057a6a7
add esp, 4
call fcn.0040cbf0
mov esi, dword [0x5fe584]
mov ecx, 0x304
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [esp + 0x1c]
cmp dword [0x603688], ebp
mov dword [0x5fe580], 1
je 0x484cf9
call fcn.00486270
mov eax, dword [eax]
sub eax, 0x10
call fcn.00403ce0
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push edi
mov dword [esp + 0xc40], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x484cda
push 0
push 0x603760
mov ecx, edi
call fcn.004857d0
test eax, eax
je 0x484cac
push ebx
mov esi, 0x603760
call fcn.00484ab0
test eax, eax
jne 0x484ceb
lea eax, [edi - 0x10]
mov dword [esp + 0xc3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484cd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x484dc3
push 0x603760
mov ecx, str.10000000_0000_0000_0000_000000000001
call fcn.00484df0
jmp 0x484ca8
mov dword [0x603688], ebp
lea eax, [edi - 0x10]
jmp 0x484d90
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x603760
call fcn.00404460
mov eax, dword [eax]
push str.10000000_0000_0000_0000_000000000001
push eax
call fcn.00579288
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x484d3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x484db0
call fcn.00486270
mov eax, dword [eax]
sub eax, 0x10
call fcn.00403ce0
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push esi
mov dword [esp + 0xc40], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x484d8d
push 0x603760
mov ecx, str.10000000_0000_0000_0000_000000000001
call fcn.00484df0
test eax, eax
jne 0x484d8d
lea ecx, [esp + 0x14]
call fcn.00404510
xor eax, eax
jmp 0x484dc3
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0xc3c], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484db0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
push 0x603760
call fcn.00484680
mov eax, 1
mov ecx, dword [esp + 0xc34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc18]
xor ecx, esp
call fcn.005787fd
add esp, 0xc2c
ret 4
Function at 0x486490
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5a125c
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x240]
mov esi, ecx
mov dword [esp + 0x20], esi
call fcn.00403f60
mov esi, ebp
call fcn.00403f60
lea edi, [esp + 0x14]
call fcn.00474ab0
mov dword [esp + 0x238], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x486527
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4866de
cmp ecx, eax
jg 0x4866de
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x486527
push 0x5c
call fcn.00404400
push 9
push str.FramePic_
lea eax, [esp + 0x1c]
push eax
call fcn.00403fc0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, str.FrameConfig.ini
call fcn.00412480
push 0x208
lea eax, [esp + 0x30]
push 0
push eax
mov byte [esp + 0x24c], 1
call fcn.00580260
mov ecx, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x14
push ecx
push 0x104
lea edx, [esp + 0x2c]
push edx
push 0x5bcc3c
push str.photo
push str.cand
call esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ebx, [esp + 0x2c]
call fcn.00412480
add esp, 8
mov edi, ebp
mov byte [esp + 0x238], 2
call fcn.004035d0
mov byte [esp + 0x238], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4865db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x208
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00580260
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0x5bcc3c
push str.photo
push str.status
call esi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ebx, [esp + 0x2c]
call fcn.00412480
add esp, 8
mov edi, dword [esp + 0x20]
mov byte [esp + 0x238], 3
call fcn.004035d0
mov byte [esp + 0x238], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48665e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486686
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4866b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.005787fd
add esp, 0x228
ret
push 0x80070057
call fcn.00404550
int3
Function at 0x488a90
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x59df48
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 0
mov eax, dword [edi]
mov ebx, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, eax
test esi, esi
jne 0x488ada
lea eax, [esp + 0x20]
call fcn.004035d0
lea eax, [ebx - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488afe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x48cca0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5ada98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
sub eax, 0x10
call fcn.00403ce0
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
xor edi, edi
mov dword [esp + 0x2c], edi
cmp dword [esi], edi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x48cdc0
cmp dword [ebp - 0xc], edi
je 0x48cdc0
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.00403ce0
mov ecx, dword [0x5fe6c4]
add ecx, 0x48
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.0048fcf0
cmp eax, edi
je 0x48cdc0
mov edx, dword [0x5fe6c4]
mov eax, dword [edx + 0xf60]
push 0x5c61ec
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [0x5fe6c4]
add edi, 0x160
lea eax, [esp + 0x1c]
call fcn.004035d0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x10f0]
xor edi, edi
push edi
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5fe6c4]
mov ecx, dword [eax + 0x19c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0xf0
push ecx
call esi
test eax, eax
mov eax, dword [0x5fe6c4]
je 0x48cd97
mov dword [eax + 0x170], edi
mov edx, dword [eax + 0x198]
push edi
push edi
push 0xf0
push edx
call esi
test eax, eax
mov eax, dword [0x5fe6c4]
je 0x48cdb6
mov dword [eax + 0x184], edi
push eax
call fcn.0048ba90
xor edi, edi
jmp 0x48cde3
mov eax, dword [0x5fe6c4]
mov ecx, dword [eax + 4]
push 0x524
push ecx
call ebx
push 0x5c6200
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0x5fe6c4]
mov eax, dword [edx + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x5fe6c4]
mov edx, dword [ecx + 4]
push edi
push 0xbb8
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x5fe6c4]
mov ecx, dword [eax + 4]
push 0x4c7
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push eax
call esi
mov edx, dword [0x5fe6c4]
mov eax, dword [edx + 4]
push 0x4c8
push eax
call ebx
push 1
push eax
call esi
mov ecx, dword [0x5fe6c4]
mov edx, dword [ecx + 4]
push 0x4cb
push edx
call ebx
push 1
push eax
call esi
mov eax, dword [0x5fe6c4]
cmp dword [eax + 0xad0], edi
je 0x48ce71
mov eax, dword [eax + 0x19c]
push 1
push eax
call esi
mov eax, dword [0x5fe6c4]
cmp dword [eax + 0xacc], edi
je 0x48ce84
mov ecx, dword [eax + 0x198]
push 1
push ecx
call esi
lea eax, [ebp - 0x10]
mov dword [0x5fe6c4], edi
mov dword [esp + 0x2c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48ceae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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 0x490a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a120b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x491810
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5a8af8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x40]
mov edi, ecx
xor ebp, ebp
cmp dword [esp + 0x44], ebp
mov dword [edi], ebx
jne 0x49184c
mov dword [edi + 0x40], ebp
jmp 0x491856
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [edi + 0x40], eax
mov eax, dword [edi]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
push 0xffffffffffffffeb
push eax
call esi
mov eax, dword [edi]
push 0x491980
push 0xfffffffffffffffc
push eax
call esi
push 0x5c641c
push 0xdb
push ebp
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebp
je 0x4918db
mov dword [esp + 0x44], vtable.CXmlParseEng.0
lea ecx, [edi + 8]
push ecx
lea edx, [edi + 0x1c]
push edx
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
mov dword [esp + 0x44], ebp
call fcn.00492570
mov eax, dword [edi + 0x48]
cmp eax, ebp
mov edx, dword [edi + 0x38]
mov dword [edi + 0x44], edx
je 0x4918ce
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x48], ebp
mov eax, dword [edi + 0x44]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi + 0x48], eax
mov edx, dword [edi]
lea ecx, [esp + 0x20]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
mov eax, dword [edi + 0x1c]
mov ebp, edx
sub ebp, dword [esp + 0x24]
push 1
add esi, ebp
add eax, ecx
mov dword [esp + 0x30], esi
sub esi, edx
push esi
mov dword [esp + 0x30], eax
sub eax, ecx
push eax
push edx
push ecx
push ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
call fcn.004919f0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x4948c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a1136
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esi], vtable.CBalloonWnd.0
xor edi, edi
mov dword [esi + 0x3c], edi
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esi + 0x48], eax
mov dword [esp + 0x1c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
lea eax, [esi + 0x60]
push eax
mov byte [esp + 0x20], 1
call fcn.00494750
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xe1ffff
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0xe1ffff
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], 0xff0000
call ebx
mov ecx, dword [esi + 0x20]
push ecx
mov dword [esi + 0x1c], eax
call ebx
push 0x5bcfc8
push edi
push 4
mov ebx, dword [sym.imp.GDI32.dll_CreateFontW]
push 0x20
push 4
push 1
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0xc
mov dword [esi + 0x24], eax
call ebx
push 0x5bcfc8
push edi
push 4
push 0x20
push 4
push 1
push edi
push 1
push edi
push 0x190
push edi
push edi
push edi
push 0xc
mov dword [esi + 0x2c], eax
call ebx
push 0x5bcfc8
push edi
push 4
push 0x20
push 4
push 1
push edi
push edi
push edi
push 0x2bc
push edi
push edi
mov dword [esi + 0x34], eax
push edi
push 0xc
call ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x84], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x495310
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esi + 0x54]
test eax, eax
je 0x49537a
mov ecx, dword [esi + 0x58]
sub ecx, eax
sar ecx, 2
je 0x49537a
mov eax, dword [esi + 0x10]
test eax, eax
je 0x49537a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49537a
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49534e
mov eax, dword [esi + 0x10]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
mov ecx, esi
call fcn.00495380
test eax, eax
je 0x495371
mov eax, dword [esi + 0x10]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop ecx
ret 8
xor eax, eax
pop ecx
ret 8
Function at 0x496b60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x59ef68
mov eax, dword fs:[0]
push eax
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 1
lea eax, [esp + 0x1c]
push eax
call edx
mov dword [esp + 0x10], 0
call fcn.004035d0
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x496bcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x496bef
lea ecx, [eax - 1]
test ecx, ecx
jl 0x496c16
cmp ecx, eax
jg 0x496c16
cmp word [edx + ecx*2], 0x5c
je 0x496bef
push 0x5c
call fcn.00404400
push 0xa
push str.CandOrder_
push edi
call fcn.00403fc0
mov ecx, dword [edi]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test esi, esi
jne 0x496c20
push 0x14
push str.fixorder_default.dat
jmp 0x496c2c
push 0x80070057
call fcn.00404550
cmp esi, 1
jne 0x496c32
push 0x10
push str.fixorder_abc.dat
push edi
call fcn.00403fc0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0xc
ret 4