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

Disassembly:
push 0xffffffffffffffff
push 0x77aaeb
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14c]
push Ordinal_2
push eax
lea eax, [esp + 0x3c]
push eax
mov ebx, ecx
call sub.Storm.dll_Ordinal_501
mov edx, str..w3c
lea ecx, [esp + 0x34]
call fcn.004bc990
xor edi, edi
mov dword [esp + 0x14], vtable.CDataStore.0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x148], edi
call fcn.0054ed10
mov edx, 0x799ba0
lea ecx, [esp + 0x34]
mov ebp, eax
call fcn.004bde00
mov esi, eax
cmp esi, edi
jne 0x54fa12
or eax, 0xffffffff
cmp dword [esp + 0x20], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x14], vtable.CDataStore.0
je 0x54fa0e
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call dword [0x799f80]
xor eax, eax
jmp 0x54fa87
push edi
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], edi
call fcn.0042c7d0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push esi
push ecx
push 1
push edx
call dword [sym.imp.MSVCR80.dll_fwrite]
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
xor eax, eax
add esp, 0x14
cmp ebp, edi
sete al
mov dword [esp + 0x14], vtable.CDataStore.0
mov dword [ebx + 0xec], eax
or eax, 0xffffffff
cmp dword [esp + 0x20], eax
mov dword [esp + 0x144], eax
je 0x54fa85
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call dword [0x799f80]
mov eax, ebp
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00735f58
add esp, 0x134
ret 4
Function at 0x5559b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x77ae36
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
fldz
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
fst dword [esi + 0x10]
fst dword [esi + 0x14]
mov ecx, 0xdeadbeef
fstp dword [esi + 0x18]
mov dword [esi + 0x1c], 0xffffffff
fld dword [0x83d56c]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ecx
fst dword [esi + 0x3c]
fst dword [esi + 0x40]
fst dword [esi + 0x44]
fstp dword [esi + 0x48]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esp + 0x18], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
push 3
lea edx, [eax + 0xb]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.004bf470
mov eax, dword [eax]
mov dword [esi + 4], eax
mov dword [esi + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x5576f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x77aea8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x28]
push esi
call fcn.00557560
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x34], ecx
mov edx, dword [esi + 0x38]
mov dword [edi + 0x38], edx
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
fld dword [esi + 0x40]
fstp dword [edi + 0x40]
xor ebp, ebp
fld dword [esi + 0x44]
lea ebx, [edi + 0x54]
fstp dword [edi + 0x44]
mov dword [esp + 0x20], ebp
fld dword [esi + 0x48]
fstp dword [edi + 0x48]
mov cx, word [esi + 0x4c]
mov word [edi + 0x4c], cx
mov dl, byte [esi + 0x4e]
mov byte [edi + 0x4e], dl
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
push edx
mov ecx, ebx
call fcn.005563e0
mov eax, dword [esi + 0x60]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi + 0x64]
mov dword [edi + 0x64], ecx
lea ebx, [edi + 0x68]
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x6c]
push edx
push eax
mov ecx, ebx
call fcn.005572a0
mov ecx, dword [esi + 0x74]
mov dword [ebx + 0xc], ecx
mov edx, dword [esi + 0x78]
mov dword [edi + 0x78], edx
lea ebx, [edi + 0x7c]
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x80]
push eax
push ecx
mov ecx, ebx
call fcn.00556380
mov edx, dword [esi + 0x88]
mov dword [ebx + 0xc], edx
fld dword [esi + 0x8c]
fstp dword [edi + 0x8c]
mov eax, dword [esi + 0x90]
mov dword [edi + 0x90], eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x561eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x77b5c4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.0055b4d0
xor ebx, ebx
mov dword [esi], vtable.CObjectManagerViewTree.0
mov dword [esi + 0x190], ebx
mov dword [esi + 0x194], ebx
mov dword [esi + 0x198], ebx
mov dword [esi + 0x19c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0xbc], bl
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], 0xffffffff
mov dword [esi + 0x18c], ebx
lea edi, [esi + 0x1a0]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea ecx, [esi + 0x1b4]
call fcn.00561670
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x214], ebx
mov dword [esi + 0x218], ebx
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x220], ebx
push fcn.0055c650
push 0x55db20
push 0x78
push 0x10
lea edx, [esi + 0x224]
push edx
mov byte [esp + 0x30], 5
call fcn.00736657
mov eax, dword [esp + 0x2c]
push ebx
push 0x4ac
push str..CObjectManager.cpp
push 0x9c
mov dword [esi + 0x38], eax
mov dword [esi + 0x210], 0xffffffff
mov dword [esi + 0x1ec], ebx
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 7
je 0x56200a
movzx ecx, word [esi + 0xc]
mov edx, dword [esi + 8]
movsx ecx, cx
push 0x20000
push ecx
push edx
mov ecx, eax
call fcn.00416ba0
jmp 0x56200c
xor eax, eax
push esi
push 0x55f230
mov ecx, eax
mov byte [esp + 0x24], 6
mov dword [esi + 0x34], eax
call fcn.0040c090
mov ecx, dword [esi + 0x34]
push esi
push 0x55e320
call fcn.0040c070
mov ecx, dword [esi + 0x34]
push 0x50
call fcn.0040bfa0
mov ecx, dword [esi + 0x34]
push 1
call fcn.0040bfb0
mov ecx, dword [esi + 0x34]
push ebx
call fcn.0040ad30
push edi
mov edx, 0xb
mov ecx, 0x7bfdc8
call fcn.005386b0
mov eax, dword [edi]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00411090
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 0xc
Function at 0x583940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x77ce63
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
push eax
call fcn.00521170
lea ebp, [esi + 8]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.00639250
fldz
mov ecx, dword [esp + 0x28]
mov dword [ebp], 0x7c4864
mov dword [esi], vtable.CSelector.0
fst dword [esi + 0x38]
fst dword [esi + 0x3c]
or ebp, 0xffffffff
fstp dword [esi + 0x40]
push ecx
mov ecx, esi
mov byte [esp + 0x20], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x48], ebp
mov dword [esi + 0x14], edi
call fcn.00583150
mov dword [esi + 0xc], 1
mov dword [esi + 0x54], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x34], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x1c], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
Function at 0x585e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x77d0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
lea esi, [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 4]
push eax
xor edi, edi
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.004d28b0
mov edx, dword [esi + 0xc]
mov dword [esp + 0x4c], edx
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 4]
push eax
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.004d28b0
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], edx
xor ebx, ebx
mov byte [esp + 0x58], 1
mov dword [esp + 0x2c], ebx
call fcn.004b8600
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
cmp eax, edi
jle 0x585feb
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
cmp ecx, 0x17b
mov edx, 1
jge 0x585f54
call fcn.005b1b10
xor edx, edx
cmp eax, dword [esp + 0x1c]
setle dl
lea eax, [ebx - 1]
cmp eax, edi
jl 0x585f75
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
cmp byte [ecx], 0x2d
jne 0x585f75
mov ecx, dword [esp + 0x30]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4]
cmp byte [eax], 0x2d
je 0x585fdb
cmp edx, edi
je 0x585fdb
lea edi, [ebx + 1]
cmp edi, dword [esp + 0x28]
jbe 0x585fb4
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x585f96
push edi
lea ecx, [esp + 0x2c]
call fcn.0050ec40
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
test edx, edx
je 0x585fa6
sub ecx, edx
add ecx, edi
mov edi, ecx
push edi
lea ecx, [esp + 0x2c]
call fcn.0050f190
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea ecx, [ebx + ebx*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
add ebx, 1
mov dword [esp + 0x2c], ebx
mov dword [eax + 8], ecx
xor edi, edi
add dword [esp + 0x14], 0xc
sub dword [esp + 0x18], 1
jne 0x585f32
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x28]
cmp esi, eax
mov dword [ebp], edx
mov dword [ebp + 4], ebx
mov ebp, dword [esp + 0x30]
je 0x58600a
push ebp
push ebx
mov ecx, esi
call fcn.004d28b0
cmp ebp, edi
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xc], ecx
je 0x586023
push edi
push 0xfffffffffffffffe
push str.._AUWE_TOOLBAR_ITEM__
push ebp
call sub.Storm.dll_Ordinal_403
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x586039
push edi
push 0xfffffffffffffffe
push str.._AUWE_TOOLBAR_ITEM__
push eax
call sub.Storm.dll_Ordinal_403
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
Function at 0x593140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x77d3f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CReplaceUnitsDialog.0
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov dword [esp + 0x14], 0
je 0x59318c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x30], 0
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x5931a2
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x34], 0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004df3b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x77d4d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CReplaceDoodadsDialog.0
mov edi, dword [esi + 0x30]
test edi, edi
mov dword [esp + 0x18], 0
je 0x59380b
mov ecx, edi
call fcn.0063dd60
push 0
push 0xffffffffffffffff
push 0x7987b8
push edi
call sub.Storm.dll_Ordinal_403
mov dword [esi + 0x30], 0
mov edi, dword [esi + 0x34]
test edi, edi
je 0x59382f
mov ecx, edi
call fcn.0063dd60
push 0
push 0xffffffffffffffff
push 0x7987b8
push edi
call sub.Storm.dll_Ordinal_403
mov dword [esi + 0x34], 0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004df3b0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x77d768
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CNumberDialog.0
mov edi, dword [esi + 0x30]
test edi, edi
mov dword [esp + 0x18], 0
je 0x594aab
mov ecx, edi
call fcn.00642c80
push 0
push 0xffffffffffffffff
push 0x7987b8
push edi
call sub.Storm.dll_Ordinal_403
mov dword [esi + 0x30], 0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004df3b0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x595880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x77d856
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov eax, dword [esp + 0x194]
mov esi, dword [esp + 0x198]
xor ebx, ebx
cmp dword [esp + 0x1a4], ebx
mov dword [esp + 0x34], eax
je 0x59593c
push Ordinal_2
push eax
lea eax, [esp + 0x84]
push eax
call sub.Storm.dll_Ordinal_501
mov edx, 0x7a76f0
lea ecx, [esp + 0x7c]
call fcn.004bc990
mov ecx, dword [esp + 0x19c]
mov edx, dword [esp + 0x1a0]
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x28
call fcn.00402520
jmp 0x595a4d
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x19c]
mov edi, dword [esp + 0x1a0]
mov ecx, ebp
imul ecx, edi
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x190], ebx
call fcn.00595710
cmp edi, ebx
jle 0x5959e1
mov ecx, dword [esp + 0x24]
xor edx, edx
add ecx, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
cmp ebp, ebx
jle 0x5959c3
mov eax, edx
mov edi, ebp
lea ecx, [ecx]
mov ebx, dword [esi + 8]
movzx ebx, byte [eax + ebx + 2]
mov byte [ecx + 1], bl
mov ebx, dword [esi + 8]
movzx ebx, byte [eax + ebx + 1]
mov byte [ecx], bl
mov ebx, dword [esi + 8]
movzx ebx, byte [eax + ebx]
mov byte [ecx - 1], bl
add eax, 4
add ecx, 3
sub edi, 1
jne 0x595990
mov edi, dword [esp + 0x1a0]
xor ebx, ebx
mov ecx, dword [esp + 0x18]
lea eax, [ebp*4]
add edx, eax
lea eax, [ebp + ebp*2]
add ecx, eax
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], ecx
jne 0x595985
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
push 1
push ebx
push ebx
push 0x18
push edi
mov edi, dword [esp + 0x38]
push ebp
push edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a8], 1
call fcn.004689a0
mov esi, eax
cmp esi, ebx
je 0x595a29
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x3c]
call fcn.00468e10
mov esi, eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x18c], bl
call fcn.004682a0
cmp edi, ebx
je 0x595a4b
push ebx
push 0xfffffffffffffffe
push str.._AUC3Pixel__
push edi
call sub.Storm.dll_Ordinal_403
mov eax, esi
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.00735f58
add esp, 0x17c
ret 0x14
Function at 0x599a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x77dd13
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CTexturesDialog.0
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov dword [esp + 0x14], 1
je 0x599a7c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x30], 0
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x599a92
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x34], 0
call fcn.004dc820
mov eax, dword [esi + 0x70]
test eax, eax
je 0x599aad
push 0
push 0xfffffffffffffffe
push str..PAVCOsControl__
push eax
call sub.Storm.dll_Ordinal_403
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004df3b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5a49f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x18]
push ebp
mov edx, 0x799ba0
call fcn.004bde00
mov ebp, eax
xor eax, eax
cmp ebp, eax
jne 0x5a4a15
pop ebp
pop ebx
add esp, 0x10
ret 4
push esi
mov esi, dword [ebx + 0x23c]
push edi
xor edi, edi
cmp esi, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
jbe 0x5a4a61
push esi
lea ecx, [esp + 0x14]
call fcn.0040dfe0
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
mov edi, esi
test edx, edx
je 0x5a4a51
sub ecx, edx
add ecx, esi
mov edi, ecx
push edi
lea ecx, [esp + 0x14]
call fcn.0040d600
mov edi, dword [esp + 0x18]
xor eax, eax
push esi
push eax
push edi
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
cmp dword [ebx + 0x23c], eax
jbe 0x5a4a9b
jmp 0x5a4a80
mov ecx, dword [ebx + 0x240]
test byte [eax + ecx], 1
je 0x5a4a90
mov byte [edi + eax], 0xff
add eax, 1
cmp eax, dword [ebx + 0x23c]
jb 0x5a4a80
push ebp
push 1
push esi
push edi
call dword [sym.imp.MSVCR80.dll_fwrite]
push ebp
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x14
test edi, edi
je 0x5a4ac3
push 0
push 0xfffffffffffffffe
push 0x8286d4
push edi
call sub.Storm.dll_Ordinal_403
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 4
Function at 0x5a5160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x77e5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + 0xb4]
mov ecx, dword [ecx + 0xb8]
mov edi, dword [esp + 0x48]
mov esi, eax
sub esi, dword [edi + 0xc]
mov ebp, ecx
sub ebp, dword [edi + 8]
sub esi, dword [edi + 4]
sub ebp, dword [edi]
xor edx, edx
add eax, eax
add ecx, ecx
add esi, esi
add ebp, ebp
add eax, eax
add ecx, ecx
add esi, esi
add ebp, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov ebx, ecx
imul ebx, eax
cmp ebx, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x24], ebx
jbe 0x5a5210
push ebx
lea ecx, [esp + 0x2c]
call fcn.005a2540
mov ecx, eax
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
je 0x5a5201
sub ecx, edx
add ecx, ebx
jmp 0x5a5203
mov ecx, ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.005a25d0
xor edx, edx
nop
mov eax, dword [esp + 0x30]
push ebx
push edx
push eax
mov dword [esp + 0x38], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x48], 0
jle 0x5a52a8
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
xor edx, edx
cmp dword [esp + 0x14], edx
jle 0x5a528f
mov eax, dword [edi + 4]
add eax, eax
add eax, eax
mov ecx, edx
sub ecx, eax
mov eax, dword [edi]
add eax, eax
add eax, eax
mov ebx, eax
mov eax, dword [esp + 0x48]
sub eax, ebx
test ecx, ecx
jl 0x5a5282
cmp ecx, esi
jge 0x5a5282
test eax, eax
jl 0x5a5282
cmp eax, ebp
jge 0x5a5282
mov ebx, dword [esp + 0x20]
imul eax, esi
add eax, dword [ebx + 0x240]
mov cl, byte [eax + ecx]
mov eax, dword [esp + 0x18]
mov byte [eax + edx], cl
add edx, 1
cmp edx, dword [esp + 0x14]
jl 0x5a5242
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x18], ecx
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
jl 0x5a523a
mov edi, dword [esp + 0x20]
lea esi, [edi + 0x238]
lea edx, [esp + 0x28]
cmp esi, edx
je 0x5a52c7
mov eax, dword [esp + 0x30]
push eax
push ebx
mov ecx, esi
call fcn.005a2d80
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xc], ecx
mov ecx, edi
call fcn.005a4e30
mov ecx, edi
call fcn.005a3240
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5a52f3
push 0
push 0xfffffffffffffffe
push str.._AVShadowPixel__
push eax
call sub.Storm.dll_Ordinal_403
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x5aab10
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [ebx + 0xc]
push esi
mov esi, dword [ebx]
rol esi, 3
xor esi, dword [ebx + 4]
mov dword [esp + 0xc], ecx
rol esi, 3
test ebp, ebp
jle 0x5aab53
push edi
xor edi, edi
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x10]
add eax, edi
push eax
call fcn.005a9bf0
xor eax, esi
rol eax, 3
add edi, 0x418
sub ebp, 1
mov esi, eax
jne 0x5aab31
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 4