joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63ca70
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x6745b6
lea ecx, [ebp - 0x30]
call fcn.00412330
xor ebx, ebx
lea esi, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.004c4b60
push 7
push 0x675cf4
mov ecx, esi
call fcn.00412ae0
push 6
push str.AD.ini
mov ecx, esi
call fcn.00412ae0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4590dc
lea eax, [ebp - 0x2c]
push eax
push ebx
push str.shuaji
push str.gateway
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp - 0x18], 0x10
mov esi, eax
jb 0x459102
mov eax, dword [ebp - 0x2c]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.0040ed70
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
Function at 0x466350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
je 0x46637c
push edi
lea ebx, [ebx]
movzx edi, byte [ecx + esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x673be0]
inc ecx
cmp ecx, edx
jb 0x466360
pop edi
not eax
ret

Function at 0x4665f0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63fc80
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
test ebx, ebx
jne 0x46662f
or eax, 0xffffffff
jmp 0x4667ae
push 0x288
mov dword [ebp - 0x3c], 0x288
call fcn.005f12b0
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
test edi, edi
je 0x466627
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x3c]
push ecx
push edi
call esi
test eax, eax
je 0x46667b
push edi
call fcn.005f1260
mov edx, dword [ebp - 0x3c]
add esp, 4
push edx
call fcn.005f12b0
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x466627
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push edi
call esi
mov esi, eax
test esi, esi
je 0x46669c
test edi, edi
je 0x466695
push edi
call fcn.005f1260
add esp, 4
mov eax, esi
jmp 0x4667ae
cmp dword [ebp - 0x38], 0
je 0x4667ac
mov eax, ebx
lea edx, [eax + 1]
jmp 0x4666b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4666b0
sub eax, edx
mov ecx, ebx
lea esi, [edi + 8]
cmp eax, 4
jb 0x4666d7
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4666fb
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x4666c3
test eax, eax
je 0x466706
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x4666fb
cmp eax, 1
jbe 0x466706
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x4666fb
cmp eax, 2
jbe 0x466706
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x466706
mov edi, dword [edi]
test edi, edi
jne 0x4666a6
jmp 0x4667a0
add edi, 0x1b0
push edi
push 0x675fac
lea ecx, [ebp - 0x34]
call fcn.004d2ae0
add esp, 8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x40]
mov esi, eax
call fcn.00419940
cmp dword [ebp - 0x1c], 0x10
jb 0x46673e
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 1
cmp dword [ebp - 0x34], ebx
je 0x466790
push 3
lea ecx, [ebp - 0x40]
call fcn.00564140
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], ebx
je 0x466782
lea esp, [esp]
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, ebx
jne 0x466770
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
mov dword [eax + 4], ebx
call fcn.00564180
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005f0cb0
add esp, 4
lea esp, [esp]
mov edx, dword [ebp - 0x38]
push edx
call fcn.005f1260
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
Function at 0x468060
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
test esi, esi
je 0x4680b3
push 0
push 2
mov dword [ebp - 0x134], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x130]
push eax
mov ebx, 0x128
push edi
mov dword [ebp - 0x130], ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x4680c5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x130]
push ecx
mov dword [ebp - 0x130], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
push edi
call ebx
test eax, eax
je 0x4681b3
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4680e8
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x468115
lea esp, [esp]
mov al, byte [ecx + esi]
cmp al, 0x41
jl 0x468110
cmp al, 0x5a
jg 0x468110
add al, 0x20
mov byte [ecx + esi], al
inc ecx
cmp ecx, edx
jl 0x468100
lea edx, [ebp - 0x10c]
test edx, edx
je 0x468152
mov eax, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x468124
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x468152
mov al, byte [ebp + ecx - 0x10c]
cmp al, 0x41
jl 0x46814d
cmp al, 0x5a
jg 0x46814d
add al, 0x20
mov byte [ebp + ecx - 0x10c], al
inc ecx
cmp ecx, edx
jl 0x468135
mov ecx, esi
lea eax, [ebp - 0x10c]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x468180
test dl, dl
je 0x46817c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x468180
add eax, 2
add ecx, 2
test dl, dl
jne 0x468160
xor eax, eax
jmp 0x468185
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4681a7
lea eax, [ebp - 0x130]
push eax
push edi
mov dword [ebp - 0x130], 0x128
call ebx
test eax, eax
jne 0x4680e3
jmp 0x4681b3
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x134], ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x134]
pop edi
xor ecx, ebp
pop ebx
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
Function at 0x472ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x38], 0x10
jb 0x472edf
mov ebx, dword [esi + 0x24]
jmp 0x472ee2
lea ebx, [esi + 0x24]
test ebx, ebx
jne 0x472efd
push 0x3a2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexstring
push str.invalid_null_pointer
call fcn.00563e60
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472f02
sub eax, edx
push eax
push ebx
lea ecx, [edi + 0x20]
call fcn.00412c10
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
movzx eax, byte [esi + 0x48]
push 0xffffffffffffffff
mov byte [edi + 0x48], al
mov ecx, dword [esi + 0x4c]
push 0
lea edx, [esi + 0x50]
mov dword [edi + 0x4c], ecx
push edx
lea ecx, [edi + 0x50]
call fcn.004126e0
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov ecx, dword [esi + 0x74]
mov dword [edi + 0x74], ecx
mov edx, dword [esi + 0x78]
mov dword [edi + 0x78], edx
movzx eax, byte [esi + 0x7c]
mov byte [edi + 0x7c], al
mov esi, dword [esi + 0x18]
test esi, esi
je 0x472f7b
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
mov ecx, edi
call fcn.00472300
mov esi, dword [esi + 0x44]
test esi, esi
jne 0x472f64
pop esi
pop ebx
ret
Function at 0x4787c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [esi + 0x18c], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x478820
push str.We_will_create_only_one_thread_to_download__n
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], str.Update.cpp
mov dword [ebp - 0xc], 0xa4
call fcn.0041d7b0
add esp, 4
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x479220
push 0
push 0
mov dword [esi + 0xc], 0
call edi
mov dword [esi + 0x18c], eax
test eax, eax
jne 0x478820
mov dword [ebp - 0xc], 0xa9
jmp 0x47884c
cmp dword [esi + 0x190], 0
jne 0x478863
lea ecx, [ebp - 8]
push ecx
push 0
push esi
push 0x479270
push 0
push 0
call edi
mov dword [esi + 0x190], eax
test eax, eax
jne 0x478863
mov dword [ebp - 0xc], 0xb3
push str.Create_Thread_Error__n
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], str.Update.cpp
call fcn.0041d7b0
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x47e3d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641b46
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x6745b6
lea ecx, [ebp - 0x138]
call fcn.00412330
xor ebx, ebx
lea esi, [ebp - 0x138]
mov dword [ebp - 4], ebx
call fcn.004c4b60
mov esi, 0x10
push esi
push 0x687efc
lea ecx, [ebp - 0x138]
call fcn.00412ae0
push 0x103
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.005ff630
mov eax, dword [ebp - 0x134]
add esp, 0xc
cmp dword [ebp - 0x120], esi
jae 0x47e462
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x118]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x47e470
xor eax, eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov word [ebp - 0x13c], ax
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x118]
mov edx, 0x614
push eax
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ebx
mov word [ebp - 0x148], dx
mov dword [ebp - 0x154], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push eax
push str.CWebEditWindow::_ClearTmpDir____d
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], str.WebEditWindow.cpp
mov dword [ebp - 0x15c], 0x606
call fcn.0041d7b0
add esp, 8
cmp dword [ebp - 0x120], esi
jb 0x47e521
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 1
call fcn.0040ed70
mov edx, dword [ebp - 0x138]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
Function at 0x47e590
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641afc
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x6745b6
lea ecx, [ebp - 0x260]
call fcn.00412330
xor ebx, ebx
lea esi, [ebp - 0x260]
mov dword [ebp - 4], ebx
call fcn.004c4b60
push 0x12
push str.TemplateTmpwww
mov ecx, esi
call fcn.00412ae0
push 0x6745b6
lea ecx, [ebp - 0x240]
call fcn.00412330
lea esi, [ebp - 0x240]
mov byte [ebp - 4], 1
call fcn.004c4b60
push 4
push str.www_
mov ecx, esi
call fcn.00412ae0
push 0x103
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.005ff630
push 0x103
lea ecx, [ebp - 0x21f]
push ebx
push ecx
mov byte [ebp - 0x220], bl
call fcn.005ff630
mov eax, dword [ebp - 0x23c]
mov edi, 0x10
add esp, 0x18
cmp dword [ebp - 0x228], edi
jae 0x47e665
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x118]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x47e670
mov eax, dword [ebp - 0x25c]
cmp dword [ebp - 0x248], edi
jae 0x47e68e
lea eax, [ebp - 0x25c]
lea edx, [ebp - 0x220]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x47e696
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e6b0
sub eax, edx
mov byte [ebp + eax - 0x119], bl
xor eax, eax
mov dword [ebp - 0x278], eax
lea edx, [ebp - 0x220]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov word [ebp - 0x264], ax
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x118]
mov ecx, 0x614
push edx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x274], eax
mov word [ebp - 0x270], cx
mov dword [ebp - 0x27c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push eax
push str.CWebEditWindow::_MoveTmpDir____d
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], str.WebEditWindow.cpp
mov dword [ebp - 0x284], 0x61d
call fcn.0041d7b0
add esp, 8
cmp dword [ebp - 0x228], edi
jb 0x47e76d
mov eax, dword [ebp - 0x23c]
push eax
call fcn.005f0cb0
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 0x23c], bl
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.0040ed70
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], ebx
mov byte [ebp - 4], bl
call fcn.0040ed70
cmp dword [ebp - 0x248], edi
jb 0x47e7cd
mov edx, dword [ebp - 0x25c]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 0x25c], bl
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 3
call fcn.0040ed70
mov eax, dword [ebp - 0x260]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x260], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
Function at 0x47e840
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641afc
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x21f]
push ebx
push eax
mov byte [ebp - 0x220], bl
call fcn.005ff630
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x117]
push ebx
push ecx
mov byte [ebp - 0x118], bl
call fcn.005ff630
add esp, 0xc
push 0x6745b6
lea ecx, [ebp - 0x260]
call fcn.00412330
lea esi, [ebp - 0x260]
mov dword [ebp - 4], ebx
call fcn.004c4b60
push 0x14
push str.TemplateHtmlimages
mov ecx, esi
call fcn.00412ae0
push 0x6745b6
lea ecx, [ebp - 0x240]
call fcn.00412330
lea esi, [ebp - 0x240]
mov byte [ebp - 4], 1
call fcn.004c4b60
push 0x10
push 0x687efc
mov ecx, esi
call fcn.00412ae0
cmp dword [ebp - 0x248], 0x10
mov eax, dword [ebp - 0x25c]
jae 0x47e914
lea eax, [ebp - 0x25c]
lea edx, [ebp - 0x220]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x47e920
mov esi, dword [ebp - 0x228]
mov edi, dword [ebp - 0x23c]
mov eax, edi
cmp esi, 0x10
jae 0x47e943
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x118]
sub edx, eax
jmp 0x47e950
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x47e950
mov ecx, edi
cmp esi, 0x10
jae 0x47e967
lea ecx, [ebp - 0x23c]
call fcn.004c4240
xor eax, eax
mov dword [ebp - 0x278], eax
lea edx, [ebp - 0x220]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov word [ebp - 0x264], ax
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x118]
mov ecx, 0x614
push edx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x274], eax
mov word [ebp - 0x270], cx
mov dword [ebp - 0x27c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push eax
push str.CWebEditWindow::_CopyImageDir____d
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], str.WebEditWindow.cpp
mov dword [ebp - 0x284], 0x636
call fcn.0041d7b0
mov edi, 0x10
add esp, 8
cmp dword [ebp - 0x228], edi
jb 0x47ea1e
mov eax, dword [ebp - 0x23c]
push eax
call fcn.005f0cb0
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 0x23c], bl
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.0040ed70
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], ebx
mov byte [ebp - 4], bl
call fcn.0040ed70
cmp dword [ebp - 0x248], edi
jb 0x47ea7e
mov edx, dword [ebp - 0x25c]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 0x25c], bl
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 3
call fcn.0040ed70
mov eax, dword [ebp - 0x260]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x260], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
Function at 0x47eaf0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641afc
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x21f]
push ebx
push eax
mov byte [ebp - 0x220], bl
call fcn.005ff630
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x117]
push ebx
push ecx
mov byte [ebp - 0x118], bl
call fcn.005ff630
add esp, 0xc
push 0x6745b6
lea ecx, [ebp - 0x260]
call fcn.00412330
lea esi, [ebp - 0x260]
mov dword [ebp - 4], ebx
call fcn.004c4b60
push 9
push str.wwwimage
mov ecx, esi
call fcn.00412ae0
push 0x6745b6
lea ecx, [ebp - 0x240]
call fcn.00412330
lea esi, [ebp - 0x240]
mov byte [ebp - 4], 1
call fcn.004c4b60
push 0x10
push 0x687efc
mov ecx, esi
call fcn.00412ae0
cmp dword [ebp - 0x248], 0x10
mov eax, dword [ebp - 0x25c]
jae 0x47ebc4
lea eax, [ebp - 0x25c]
lea edx, [ebp - 0x220]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x47ebd0
mov esi, dword [ebp - 0x228]
mov edi, dword [ebp - 0x23c]
mov eax, edi
cmp esi, 0x10
jae 0x47ebf3
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x118]
sub edx, eax
jmp 0x47ec00
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x47ec00
mov ecx, edi
cmp esi, 0x10
jae 0x47ec17
lea ecx, [ebp - 0x23c]
call fcn.004c4240
xor eax, eax
mov dword [ebp - 0x278], eax
lea edx, [ebp - 0x220]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov word [ebp - 0x264], ax
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x118]
mov ecx, 0x614
push edx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x274], eax
mov word [ebp - 0x270], cx
mov dword [ebp - 0x27c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push eax
push str.CWebEditWindow::_CopyUserImageDir____d
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], str.WebEditWindow.cpp
mov dword [ebp - 0x284], 0x64f
call fcn.0041d7b0
mov edi, 0x10
add esp, 8
cmp dword [ebp - 0x228], edi
jb 0x47ecce
mov eax, dword [ebp - 0x23c]
push eax
call fcn.005f0cb0
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 0x23c], bl
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.0040ed70
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], ebx
mov byte [ebp - 4], bl
call fcn.0040ed70
cmp dword [ebp - 0x248], edi
jb 0x47ed2e
mov edx, dword [ebp - 0x25c]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 0x25c], bl
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 3
call fcn.0040ed70
mov eax, dword [ebp - 0x260]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x260], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
Function at 0x47f650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641986
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x138], ebx
push 8
mov dword [ebp - 4], ebx
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x47f86e
mov dword [ebp - 0x138], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x138]
mov dword [ecx], eax
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
mov esi, eax
mov dword [ebp - 4], 1
call fcn.004c4b60
push 0x103
lea edx, [ebp - 0x117]
push ebx
push edx
mov byte [ebp - 0x118], bl
call fcn.005ff630
mov eax, dword [ebp - 0x134]
add esp, 0xc
cmp dword [ebp - 0x120], 0x10
jae 0x47f70c
lea eax, [ebp - 0x134]
push str.WiFiDay.exe
push eax
lea eax, [ebp - 0x118]
push 0x675f00
push eax
call fcn.005f1060
add esp, 0x10
push ebx
push str.TASKKILL__F__IM_wifiday.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x44
lea ecx, [ebp - 0x1a0]
push ebx
push ecx
call fcn.005ff630
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x148]
push edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x1a0]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push str.TASKKILL__F__IM_wifiday.exe
push ebx
mov dword [ebp - 0x1a0], 0x44
call edi
test eax, eax
je 0x47f840
mov ecx, dword [ebp - 0x148]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x148]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x144]
push eax
call esi
push 0x44
lea ecx, [ebp - 0x1a0]
push ebx
push ecx
call fcn.005ff630
xor eax, eax
add esp, 0xc
cmp dword [ebp - 0x120], 0x10
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x1a0], 0x44
jae 0x47f808
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x148]
push edx
lea ecx, [ebp - 0x1a0]
push ecx
push eax
push ebx
push 0x8000000
push ebx
push ebx
push ebx
lea edx, [ebp - 0x118]
push edx
push ebx
call edi
test eax, eax
je 0x47f840
mov eax, dword [ebp - 0x148]
push eax
call esi
mov ecx, dword [ebp - 0x144]
push ecx
call esi
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0xffffffff
call fcn.00412410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x14c], ebx
call fcn.005f41f0
push 0x6a361c
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
int3
Function at 0x481eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x481ec8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x481efa
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x481ef6
cmp esi, eax
jae 0x481efa
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x481ee8
cmp esi, eax
jb 0x481f00
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret