joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd58f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xd58ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xd59035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00d58e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0xd58fc5
mov edi, 0xd738b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xd59035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00d58e00
add edi, 4
add esp, 0xc
cmp edi, 0xd738c0
jb 0xd59000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xd59070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00d5f082
mov esi, eax
add esp, 8
test esi, esi
je 0xd59107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xd59102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00d5e946
add esp, 8
test eax, eax
je 0xd590e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xd590e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00d5e946
add esp, 8
test eax, eax
jne 0xd590c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xd59102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0xd59f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xd6e9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xd5a002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00d5ddff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xd5a002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00d556e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00d5e20b
push 0x10
call fcn.00d5e1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xd59fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00d4a1c0
jmp 0xd59fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00d59b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xd59ff0
mov ecx, edi
call fcn.00d4a2c0
push edi
call fcn.00d5e1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xd5a021
inc ebx
cmp ebx, 0x20
jb 0xd59f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xd5b250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xd6f808
push 0xd5f288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xd5b329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xd5b329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00d5e1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xd5b329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xd5b329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xd5b32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00d5b351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xd5bd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xd5bd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xd5bd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xd5bd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xd5bd94
push eax
push esi
call fcn.00d5e20b
add esp, 8
pop esi
ret 0x10

Function at 0xd5bda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xd5be22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xd5be15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xd74320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00d5ddff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xd5bdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xd5be30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xd5bec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xd5beb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xd74320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00d5ddff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xd5beab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xd5be6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xd5c000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xd5c131
push esi
call fcn.00d5f145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00d4e080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xd5c131
push 0
push ebp
call fcn.00d4e3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00d4e260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xd5c08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00d4e2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xd5c121
push 0xd74918
push edi
call fcn.00d5d3f0
push eax
push ebx
push esi
call fcn.00d5bf60
push 0xd748f8
push edi
call fcn.00d5d3f0
push eax
push ebx
push esi
call fcn.00d5bf60
push 0xd748d8
push edi
call fcn.00d5d3f0
push eax
push ebx
push esi
call fcn.00d5bf60
push 0xd748c0
push edi
call fcn.00d5d3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00d5bf60
push 0xd748a0
push edi
call fcn.00d5d3f0
push eax
push ebx
push esi
call fcn.00d5bf60
push 0xd74888
push edi
call fcn.00d5d3f0
push eax
push ebx
push esi
call fcn.00d5bf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xd5d1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00d5d140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00d5d140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00d5d140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00d5d140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xd5dbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xd5dc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xd6f87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xd5dc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xd5dc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x5ddfe1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp al, ah
pushal
cmc
mov dword [esp + 0xc], eax
add dl, dl
call fcn.005ddda8
add byte [eax], al
inc edi
je 0x5de043
outsd dx, dword [esi]
jne 0x5de066
inc esi
imul ebp, dword [ebp + 0x4e], 0x41656d61
add byte [eax], al
add byte [ebx + 0x65], dl
je 0x5de062
imul ebp, dword [esi + 0x64], 0x6554776f
js 0x5de088
inc ecx
add byte [ebp + 0xf082464], cl
test al, dl
sldt word [eax]
push ecx
cmp ebx, 3
push ebp
call fcn.006179e3
jb fcn.005ddfe1
mov byte [0xe8600054], al
mov eax, es
add eax, dword [eax]
call 0x61a0f7
push dword [esp + 0x4c]
ret 0x50

Function at 0x5de05b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
pushfd
mov dword [esp + 0xc], 0x54a291
pushal

Function at 0x5de06b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [esp], cl
bt bx, sp
add ecx, edx
push ebp
mov byte [esp], dh
jmp 0x5dc267
cmp bx, 0x3bab
mov dword [ebp - 0x10], ecx
not cl
not cx
sbb ch, dl
mov ecx, dword [ebp + 0xc]
pushal
pushfd
pushfd
cmp ah, cl
cmp ecx, 0xffff
pushfd
jmp 0x619849
bt si, bx
bt dx, 5
test eax, eax
mov byte [esp], dl
jmp 0x62c08c
stc
sub ecx, dword [edx + 0x10]
pushfd
call fcn.005c96c0
add byte [eax], al
dec ecx
jae 0x6196d3
and al, 0x44
mov ah, 0xa5
push esp
add byte [eax + 0x5008247c], cl
mov dword [esp + 0x44], eax
push dword [esp]
push dword [esp + 0x48]
ret 0x4c
lea esp, [esp + 0x50]
jbe 0x61966d
rcl di, cl
not di
cmp ch, cl
sal di, cl
mov edi, dword [edx + 0x24]
btc cx, 1
sar ch, cl
bsr ebx, edx
add edi, eax
bts bx, sp
btr bx, 0xc
mov bx, dx
mov ebx, dword [edx + 0x20]
shr cl, 5
add ebx, eax
xor ecx, 0x34312d03
btc cx, bp
mov dword [ebp - 8], 0
test di, dx
btr cx, 0xb
rcr cx, cl
dec cl
mov ecx, dword [edx + 0x18]
lea esp, [esp + 4]
je 0x5cbf4b
shrd esi, ecx, 0x1c
movzx esi, al
ror si, 7
cmc
mov esi, dword [eax + 0x3c]
sal dh, cl
dec dh
stc
add esi, eax
sbb dh, bh
bsr edx, edx
bsf dx, bx
rcl dl, cl
mov edx, dword [esi + 0x78]
push 0xe5517806
cmc
bt edx, edx
test edx, edx
pushfd
pushal
lea esp, [esp + 0x28]
je 0x5cbf4b
btc cx, 4
add edx, eax
sal cx, cl
mov ecx, dword [esi + 0x7c]
pushal
jmp 0x54b646

Function at 0x5de128
Capabilities:
Encode data using xor

Disassembly:
call fcn.006186aa
mov ebx, dword [esp + 0x30]
movzx cx, al
mov ecx, dword [esp + 0x34]
jmp 0x54a6a2
Function at 0x401aa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44e4e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], fcn.00407950
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], 0x4552f8
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x1c], 0x45536c
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x11
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0xa
mov dword [esi + 4], edi
mov eax, dword [esi + 0x20]
cmp eax, edi
mov byte [esp + 0x14], 1
je 0x401b19
push eax
call sub.MFC71U.DLL_operator_new_1
add esp, 4
mov dword [esi + 0x20], edi
push 0x2c
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
add esp, 4
mov dword [esi + 0x20], edi
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], 0xb
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4079c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x474388]
xor eax, ebp
push ebx
mov dword [esp + 0x624], eax
cmp dword [ecx + 0xb8], 0xffffffff
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0xc], ecx
je 0x407a06
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x620]
xor ecx, ebp
call fcn.0044d9cf
mov esp, ebp
pop ebp
ret 4
xor eax, eax
xor ebx, ebx
mov word [esp + 0x218], bx
mov ecx, 0x81
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x218]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov word [esp + 0x18], bx
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x220]
push ecx
push str._sDownLoad
lea edx, [esp + 0x20]
push 0x104
push edx
stosw word es:[edi], ax
call ebx
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
test edx, edx
jbe 0x407a82
cmp word [esi + edx*2], 0x2f
je 0x407a82
dec edx
jne 0x407a78
xor eax, eax
mov word [esp + 0x420], 0
mov ecx, 0x81
lea edi, [esp + 0x422]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + edx*2 + 2]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x456d08
lea edx, [esp + 0x42c]
push 0x104
push edx
call ebx
add esp, 0x14
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xb4]
push 0
add ecx, 0xb4
push 0x1001
lea eax, [esp + 0x428]
push eax
call dword [edx + 0x28]
mov ecx, dword [esp + 0x62c]
test eax, eax
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d9cf
mov esp, ebp
pop ebp
ret 4
Function at 0x408060
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ebfc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
mov eax, dword [0x474388]
push ebx
xor eax, ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x484], eax
xor eax, eax
xor esi, esi
mov word [esp + 0x70], si
mov ecx, 0x81
lea edi, [esp + 0x72]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
add ebx, 0xb4
stosw word es:[edi], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str..WHD
mov dword [esp + 0x498], esi
call edi
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call edi
sub eax, esi
shl eax, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov word [esp + eax + 0x70], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
mov esi, eax
mov eax, dword [ebx]
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call dword [eax + 0x54]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 9
xor ebx, ebx
push ebx
push ebx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
test eax, eax
je 0x4081d5
mov esi, dword [esp + 0x14]
cmp word [esi + 0x70], bx
je 0x40816d
lea eax, [esp + 0x70]
push eax
push str._s__VERYSILENT
push 0x104
lea ecx, [esp + 0x284]
push ecx
jmp 0x408184
lea edx, [esp + 0x70]
push edx
push 0x456f5c
push 0x104
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0xa78]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea eax, [esp + 0x298]
push eax
push ebx
mov dword [esp + 0x50], 0x44
mov word [esp + 0x80], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4081e3
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
jmp 0x408233
cmp dword [esi + 0x20], ebx
jne 0x408215
mov eax, dword [esi + 0xa74]
mov edx, dword [esi]
push ebx
push 0x64
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x40000000
push ebx
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [edx + 0x5c]
mov edx, dword [esi + 0x20]
push ebx
push 0x64
push 0xc8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, 1
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x484]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d9cf
mov esp, ebp
pop ebp
ret
Function at 0x40a9a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [0x474388]
xor eax, ebp
push esi
mov dword [esp + 0x208], eax
push edi
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalWebLink____cdecl_CGlobalWebLink::GetInstance_void_]
mov esi, eax
mov word [esp + 8], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
mov ecx, esi
stosw word es:[edi], ax
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetValidateLink_void_]
push eax
mov ecx, esi
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetPlatformLink_void_]
push eax
push str._s__sShop_Index.aspx
lea eax, [esp + 0x14]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, ebp
pop esi
call fcn.0044d9cf
mov esp, ebp
pop ebp
ret

Function at 0x40aa30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [0x474388]
xor eax, ebp
push esi
mov dword [esp + 0x208], eax
push edi
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalWebLink____cdecl_CGlobalWebLink::GetInstance_void_]
mov esi, eax
mov word [esp + 8], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
mov ecx, esi
stosw word es:[edi], ax
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetValidateLink_void_]
push eax
mov ecx, esi
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetPlatformLink_void_]
push eax
push str._s__sPay_PayIndex.aspx
lea eax, [esp + 0x14]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, ebp
pop esi
call fcn.0044d9cf
mov esp, ebp
pop ebp
ret

Function at 0x40f8f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
mov eax, dword [0x474388]
xor eax, ebp
mov dword [esp + 0x208], eax
push edi
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalWebLink____cdecl_CGlobalWebLink::GetInstance_void_]
mov edx, eax
mov word [esp + 8], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
mov ecx, edx
stosw word es:[edi], ax
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetPlatformLink_void_]
push eax
push str._s_LogonLink5.aspx
lea eax, [esp + 0x10]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20c]
xor ecx, ebp
pop edi
call fcn.0044d9cf
mov esp, ebp
pop ebp
ret