joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e250
Capabilities:
Set registry value

Disassembly:
sub esp, 0x40
mov eax, dword [0x565e78]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x6760]
push ebp
xor ebp, ebp
test eax, eax
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
jbe 0x44e422
push esi
lea esp, [esp]
cmp ebp, 5
jae 0x44e421
lea esi, [ebx + 0x6758]
lea eax, [esp + 0xc]
mov ecx, esi
call fcn.00452930
mov eax, dword [eax]
cmp eax, dword [edi + 0x44]
jne 0x44e2b3
lea eax, [esp + 0xc]
mov ecx, esi
call fcn.00452930
mov ecx, dword [eax + 4]
cmp ecx, dword [edi]
je 0x44e2d0
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
mov dword [esp + 0xc], ebp
jb 0x44e280
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x3c]
call fcn.004b6cac
add esp, 0x40
ret
mov ebp, dword [ebx + 0x26c]
test ebp, ebp
mov esi, dword [ebx + 0x1acc]
mov dword [esp + 0x10], esi
je 0x44e421
push esi
push ebx
mov ecx, edi
call fcn.00439ff0
cmp dword [edi + 0x1c], 0x10
jb 0x44e2fc
mov ecx, dword [edi + 8]
jmp 0x44e2ff
lea ecx, [edi + 8]
push 0xffff0002
push ebp
push 0
push 0
push 0
push eax
push eax
push ecx
push 0x23
mov ecx, esi
call fcn.004f4b09
mov ebp, eax
xor esi, esi
cmp ebp, esi
je 0x44e421
push 0x68
call fcn.004fa746
add esp, 4
cmp eax, esi
je 0x44e356
mov dword [eax + 0x18], esi
mov ecx, 0xf
mov dword [eax + 0x1c], ecx
mov byte [eax + 8], 0
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], ecx
mov byte [eax + 0x28], 0
mov dword [eax + 0x5c], esi
mov dword [eax + 0x60], ecx
mov byte [eax + 0x4c], 0
mov esi, eax
call fcn.00438cc0
mov ecx, dword [esp + 0x10]
push esi
push 0
push 0
push 0
push 0
push 0
push 4
push ebp
call fcn.004f4abb
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edx
lea esi, [ebx + 0x27c]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.004521b0
add edi, 0x48
push edi
mov edi, str..exe
lea esi, [esp + 0x30]
call fcn.004078a0
add esp, 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BLOCK_LMZ_SCRIPT
push getpeername
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [esp + 0x44]
mov esi, 0x10
cmp eax, esi
mov eax, dword [esp + 0x30]
jae 0x44e3ec
lea eax, [esp + 0x30]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x44], esi
jb 0x44e421
mov edx, dword [esp + 0x30]
push edx
call fcn.004fa776
add esp, 4
pop esi
mov ecx, dword [esp + 0x44]
pop edi
pop ebp
call fcn.004b6cac
add esp, 0x40
ret
Function at 0x44f400
Capabilities:
Create process on windows
Resume thread

Disassembly:
sub esp, 0x264
test esi, esi
mov eax, dword [0x565e78]
mov dword [esp + 0x260], eax
mov eax, dword [esp + 0x284]
je 0x44f53e
push ebx
push ebp
push edi
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x27c]
jae 0x44f43b
lea eax, [esp + 0x27c]
push eax
push 0x56b5e8
lea ecx, [esp + 0x6c]
push 0x541848
push ecx
call fcn.004b3891
mov eax, dword [esi + 0x1c]
add esp, 0x10
cmp eax, edi
jb 0x44f45f
mov ebp, dword [esi + 8]
jmp 0x44f462
lea ebp, [esi + 8]
cmp dword [esi + 0x40], edi
jb 0x44f46c
mov eax, dword [esi + 0x2c]
jmp 0x44f46f
lea eax, [esi + 0x2c]
cmp dword [0x56b858], edi
jb 0x44f483
mov edx, dword [0x56b844]
mov dword [esp + 0xc], edx
jmp 0x44f48b
mov dword [esp + 0xc], 0x56b844
cmp dword [0x56bb28], edi
mov ebx, dword [0x56bb14]
jae 0x44f49e
mov ebx, 0x56bb14
mov edx, dword [esp + 0x290]
mov ecx, dword [esp + 0x27c]
cmp edx, edi
mov edi, ecx
jae 0x44f4b9
lea edi, [esp + 0x27c]
cmp edx, 0x10
jae 0x44f4c5
lea ecx, [esp + 0x27c]
mov edx, dword [esi + 0x44]
push ebp
push edx
push eax
mov eax, dword [esi]
cdq
mov ebp, 0xf230
idiv ebp
mov eax, dword [esi + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push eax
push edx
push ebx
push edi
push ecx
push 0x56b5e8
lea eax, [esp + 0x190]
push str._s_s_s.exe_accounts:_s_password:_s_KindID:_d_ServerID:_d_ServerAddr:_s_ServerPort:_d_ServerName:_s_
push eax
call fcn.004b3891
add esp, 0x30
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x6c]
push ecx
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x188]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
pop ebp
pop ebx
jne 0x44f54d
mov eax, dword [esp + 0x284]
cmp eax, 0x10
jb 0x44f58b
mov eax, dword [esp + 0x270]
push eax
jmp 0x44f583
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x268]
push edx
mov byte [ecx + 0x68c0], 1
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x284], 0x10
jb 0x44f58b
mov ecx, dword [esp + 0x270]
push ecx
call fcn.004fa776
add esp, 4
mov ecx, dword [esp + 0x260]
call fcn.004b6cac
add esp, 0x264
ret 0x20
Function at 0x4503b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x519c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
call fcn.00401550
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401c20
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x450442
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x45dfc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51feb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x565e78]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov word [esp + 0xc], 0x436
mov dword [esp + 0x40], 0
mov ecx, dword [esi]
mov eax, dword [0x56bb0c]
push 0xffffffffffffffff
push 0
lea edx, [esi + 4]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004018b0
mov eax, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x30], eax
call dword [sym.imp.bsclt.dll_public:_bool___thiscall_bsclt_socket::is_connected_void_const]
test al, al
jne 0x45e05a
mov eax, dword [0x56b5d8]
test eax, eax
je 0x45e05a
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x45e05a
push 0
push 0
push 0x413
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x45e067
push 0
lea ecx, [esp + 4]
push ecx
push edi
call fcn.004688f0
cmp dword [esp + 0x2c], 0x10
jb 0x45e07b
mov edx, dword [esp + 0x18]
push edx
call fcn.004fa776
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x34]
call fcn.004b6cac
add esp, 0x44
ret
Function at 0x471f20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x51b2b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
lea ecx, [esp + 4]
call fcn.00402030
mov dword [esp + 0xc], 0
mov ecx, dword [esp]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x471fdd
push str.GoToID
push ecx
call fcn.004b3fc2
add esp, 8
test eax, eax
je 0x471fdd
sub eax, dword [esp]
cmp eax, 0xffffffff
je 0x471fdd
push 6
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 8]
call fcn.004725a0
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x10], 1
call fcn.0040f190
mov byte [esp + 0xc], 0
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 0x471fb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
push eax
call fcn.004b3f19
mov ecx, dword [0x56b5d8]
mov edx, dword [ecx + 0x1c]
add esp, 4
push 0
add eax, 0x2710
push eax
push 0x4d4
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x471ff4
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esp]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x472019
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x474700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x518bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x48]
push ebx
push esi
push 0
push eax
push edi
lea eax, [esp + 0x4c]
mov esi, edx
call fcn.0047af10
mov edx, dword [esi + 0xb4]
lea ecx, [esp + 0x18]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 8]
call fcn.004ff3c6
test edi, edi
mov dword [esp + 0x38], 0
jne 0x47475a
xor eax, eax
jmp 0x47475d
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0xc]
call fcn.004ff822
lea eax, [esi + 0xb0]
test eax, eax
je 0x47477b
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.004ffba8
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push 0xff00ff
push edx
push esi
push 0
push 0
push ebx
push edx
push esi
add eax, 5
add ecx, 3
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ff8a0
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0x14
Function at 0x4748c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x51c862
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x565e78]
push ebp
push esi
mov esi, dword [esp + 0x124]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x128]
push edi
push eax
push 0xda
mov ecx, esi
call fcn.004fb8f6
xor ebp, ebp
mov dword [esp + 0x120], ebp
mov dword [esi], 0x5443d8
lea edi, [esi + 0x70]
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x120], 1
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x74], eax
mov byte [esp + 0x120], 2
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x78], eax
lea eax, [esi + 0x84]
push eax
mov byte [esp + 0x124], 3
call fcn.00418cc0
mov byte [esp + 0x120], 4
mov dword [esi + 0xd4], ebp
call fcn.00410e90
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401c20
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0xc], ebp
push ebp
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x5445bc
push str.OnLineTips
push str.public
mov byte [esp + 0x138], 5
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x10]
push edx
push 0x53c3e8
push edi
call fcn.00405820
add esp, 0xc
push edi
push esi
call fcn.00474b20
call fcn.0050ac7d
mov eax, dword [eax + 8]
push 0x40
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov dword [esi + 0x7c], eax
mov byte [esp + 0x120], 4
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x474a10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x118]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10c]
pop ebp
call fcn.004b6cac
add esp, 0x118
ret 8
Function at 0x47a500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51af8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call fcn.00410e20
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401c20
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 8
push str.RoomBtn_
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.00401a20
push str.Money.bmp
lea ecx, [esp + 0x18]
call fcn.00402030
push str.cunQu.bmp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.00402030
push str.chaZhao.bmp
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call fcn.00402030
push str.xiaolaba.bmp
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 3
call fcn.00402030
push str.jiaRu.bmp
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 4
call fcn.00402030
push str.sheZhi.bmp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 5
call fcn.00402030
push str.tuiChu.bmp
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 6
call fcn.00402030
mov byte [esp + 0x38], 7
mov esi, dword [esp + 0x40]
mov ebp, dword [sym.imp.USER32.dll_LoadImageA]
lea edi, [esp + 0x14]
add esi, 0x78
mov ebx, 7
lea esp, [esp]
push edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004503b0
mov eax, dword [eax]
add esp, 0xc
push 0x10
push 0
push 0
push 0
push eax
push 0
call ebp
mov dword [esi], eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47a632
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 8
add edi, 4
dec ebx
jne 0x47a5f0
push fcn.00401ab0
push 7
push 4
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x48], 0
call fcn.004b3a30
mov dword [esp + 0x38], 0xffffffff
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
pop edi
pop esi
pop ebp
pop ebx
jg 0x47a67d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x480540
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x51e4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebx + 0x100]
push 0
push eax
mov eax, dword [0x56b5d8]
mov ecx, dword [eax + 0x1c]
push 0x415
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
lea ecx, [esp + 4]
call fcn.00402030
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 0x100]
mov ecx, dword [eax + 0x60]
add eax, 0x48
cmp ecx, 0x10
jb 0x48059b
mov eax, dword [eax + 4]
jmp 0x48059e
add eax, 4
push esi
push edi
push eax
push str._s.ini
lea edi, [esp + 0x10]
call fcn.0046d1f0
mov edx, dword [esp + 0x10]
add esp, 8
push edx
push 0xffffffffffffffff
push 0x545bd4
push str.layout
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4805d9
mov eax, dword [ebx + 0x108]
mov esi, dword [eax + 0x2c]
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4805ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x483a10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x520750
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
mov ecx, ebx
lea eax, [esp + 4]
call fcn.00484040
mov eax, dword [esi + 8]
mov ecx, dword [esp + 4]
cmp ecx, eax
jne 0x483aa3
push edi
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], edi
mov eax, dword [ebx]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
call fcn.00484130
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x44], 1
call fcn.00483e00
mov esi, dword [eax]
mov eax, dword [esp + 0x28]
cmp eax, edi
pop edi
je 0x483a90
push eax
call fcn.004fa776
add esp, 4
lea eax, [esi + 0xc]
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
lea eax, [ecx + 0xc]
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x493230
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5186b8
push eax
mov dword fs:[0], esp
mov eax, dword [ebx + 0x10]
sub esp, 8
xor ecx, ecx
test eax, eax
je 0x493259
mov eax, dword [eax + 0x10]
inc ecx
test eax, eax
jne 0x493251
push ebp
lea ebp, [ecx*4 + 0xa]
test ebp, ebp
push esi
push edi
jne 0x49326c
mov ebp, 1
push ebp
call fcn.004fa746
mov esi, eax
mov ecx, ebp
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0xc], esi
rep stosb byte es:[edi], al
mov dword [esp + 0x10], ebp
push esi
mov ecx, ebx
mov dword [esp + 0x20], 0
call fcn.00495040
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4932a8
sub eax, edx
cmp byte [eax + esi - 1], 0x2d
jne 0x4932cd
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4932c0
sub eax, edx
mov byte [eax + esi - 1], cl
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4932d2
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, esi
lea edx, [eax + 1]
je 0x493300
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4932e6
mov ecx, dword [esp + 0x24]
push ecx
sub eax, edx
push 0x548134
jmp 0x493313
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493300
sub eax, edx
mov edx, dword [esp + 0x24]
push edx
push 0x53e840
add eax, esi
push eax
call fcn.004b3891
mov edi, esi
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x493321
mov eax, dword [str..xmltmp]
mov dword [edi], eax
mov ecx, dword [0x548130]
push esi
mov dword [edi + 4], ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
mov edi, eax
call fcn.004fa776
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x493370
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push 0x51dac0
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov ecx, dword [eax + 0x14]
sub esp, 0x28
push ebx
push esi
mov esi, dword [ecx + edx*4]
xor ebx, ebx
cmp esi, ebx
je 0x4933b6
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
mov eax, dword [eax + 0x10]
xor ecx, ecx
cmp eax, ebx
je 0x4933c8
nop
mov eax, dword [eax + 0x10]
inc ecx
cmp eax, ebx
jne 0x4933c0
lea esi, [ecx*4 + 0xa]
cmp esi, ebx
jne 0x4933d8
mov esi, 1
push ebp
push edi
push esi
call fcn.004fa746
mov ebp, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
mov dword [esp + 0x14], ebp
rep stosb byte es:[edi], al
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x48]
push ebp
mov dword [esp + 0x44], ebx
call fcn.00495040
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493414
sub eax, edx
cmp byte [eax + ebp - 1], 0x2d
jne 0x49343d
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493430
sub eax, edx
mov byte [eax + ebp - 1], bl
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493442
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, ebp
lea edx, [eax + 1]
je 0x493470
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493456
mov ecx, dword [esp + 0x4c]
push ecx
sub eax, edx
push 0x548134
jmp 0x493483
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493470
sub eax, edx
mov edx, dword [esp + 0x4c]
push edx
push 0x53e840
add eax, ebp
push eax
call fcn.004b3891
mov edi, ebp
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x493491
mov eax, dword [str..xmltmp]
mov dword [edi], eax
mov ecx, dword [0x548130]
push 0x543818
push ebp
mov dword [edi + 4], ecx
call fcn.004b4360
add esp, 8
cmp eax, ebx
je 0x4934fa
push eax
call fcn.004b463a
add esp, 4
push ebx
push ebx
push ebx
push ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ebx
call fcn.00495450
mov byte [esp + 0x40], 1
cmp dword [esp + 0x1c], 2
jne 0x49351a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], bl
call fcn.00492140
push ebp
call fcn.004fa776
add esp, 4
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
lea esi, [esp + 0x1c]
call fcn.00492230
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x14]
mov esi, dword [esp + 0x4c]
mov dword [edx + esi*4], eax
push ebp
mov dword [eax + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], bl
call fcn.00492140
push ebp
call fcn.004fa776
mov ecx, dword [esp + 0x3c]
add esp, 4
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x495ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x51c0db
push eax
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x1c]
push edi
push 8
call fcn.004fa746
mov dword [esi + 0x40], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [esi + 0x44], 1
mov edx, dword [esp + 0x28]
mov al, byte [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
push 0x50
mov dword [esi + 0x10], edx
mov byte [esi + 0x3c], al
call fcn.004fa746
mov edi, eax
xor eax, eax
mov dword [esi + 0x14], edi
mov ecx, 0x14
rep stosd dword es:[edi], eax
push 0x50
mov dword [esi + 0x4c], 0x14
mov dword [esi + 0x28], ebx
mov dword [esi + 0xc], ebp
call fcn.004fa746
mov edi, eax
xor eax, eax
mov dword [esi + 0x18], edi
mov ecx, 0x14
rep stosd dword es:[edi], eax
push 0x10
mov dword [esi + 0x50], 0x14
mov dword [esi + 0x2c], ebx
call fcn.004fa746
mov dword [esi + 0x20], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push 0x28
mov dword [esi + 0x58], 4
mov dword [esi + 0x34], ebx
call fcn.004fa746
mov dword [esi + 0x1c], eax
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
mov edi, 0xa
push 0x28
mov dword [esi + 0x54], edi
mov dword [esi + 0x30], ebx
call fcn.004fa746
mov dword [esi + 0x24], eax
add esp, 0x18
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
push ebp
push edx
push esi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x38], ebx
mov dword [esi + 0x64], 1
mov byte [esi + 0x60], bl
mov byte [esi + 0x68], bl
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x48], ebx
call fcn.004958a0
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x14