joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d4e0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, edx
mov ecx, 0xa7
call fcn.0049f090
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebp
call esi
mov eax, dword [0x63d780]
push 0
push eax
call esi
mov ecx, dword [0x63d7a4]
push 0
push ecx
call esi
mov edx, dword [0x63d8f0]
push 0
push edx
call esi
mov eax, dword [0x63d7d0]
push 0
push eax
call esi
mov ecx, dword [0x63d7a0]
push 0
push ecx
call esi
call fcn.0045b1e0
mov edx, dword [0x63d8f0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push edx
call ebx
mov eax, dword [0x63d7d0]
push 0x63d668
push 0x100
push 0xd
push eax
call ebx
mov ecx, dword [0x63d7a0]
push 0x63d900
push 0x100
push 0xd
push ecx
call ebx
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, edi
mov ecx, str.DIALOG_CREATE_BROWSE
push 0
push 0x44d6a0
call fcn.0044a0a0
push 0x3f1
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [0x63d8f0], eax
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x63d8f0]
push 0
push 0
push 0xb
push edx
call ebx
mov edx, dword [0x63d8f0]
mov ecx, edi
call fcn.0044ce00
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44d630
mov edx, 0x44cfb0
mov ecx, 0x63d7d8
call fcn.0045bf90
cmp eax, 0x80000006
je 0x44d61a
push 0
push eax
mov eax, dword [0x63d8f0]
push 0x14e
push eax
call ebx
mov ecx, dword [0x63d8f0]
push ecx
push 0x103f1
push 0x111
push edi
call ebx
push 0x5c
push 0x63d7d8
call fcn.004c5e20
add esp, 8
test eax, eax
je 0x44d630
mov byte [eax], 0
mov edx, dword [0x63d8f0]
push 0
push 1
push 0xb
push edx
call ebx
push 1
push ebp
call esi
mov eax, dword [0x63d780]
push 1
push eax
call esi
mov ecx, dword [0x63d7a4]
push 1
push ecx
call esi
mov edx, dword [0x63d7a0]
push 1
push edx
call esi
mov eax, dword [0x63d7d0]
push 1
push eax
call esi
mov ecx, dword [0x63d8f0]
push 1
push ecx
call esi
mov edx, dword [0x63d8f0]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4501b0
Capabilities:
Create process on windows
Delete file
Hide graphical window

Disassembly:
sub esp, 0x344
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push 0
push 0
push esi
push str.open
push 0
call sub.storm.dll_Ordinal_346
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push eax
call edi
cmp eax, 0x20
ja 0x4502a7
push 0x4ecbc0
push str.battle.htm
call fcn.004c6fc0
add esp, 8
test eax, eax
je 0x45020e
push eax
call fcn.004c6ed0
add esp, 4
lea eax, [esp + 0x4c]
push eax
push 0
push str.battle.htm
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
ja 0x45029c
push 1
push 0
lea ecx, [esp + 0x54]
push esi
push ecx
push str.open
push 0
call sub.storm.dll_Ordinal_346
push eax
call edi
cmp eax, 0x20
ja 0x45029c
push 0
call sub.storm.dll_Ordinal_346
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 9
push 0
call sub.storm.dll_Ordinal_346
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x150]
mov ecx, 0x4b5
push 0x200
call fcn.00449f80
lea edx, [esp + 0xc]
mov ecx, 0x4b6
push 0x40
call fcn.00449f80
lea edx, [esp + 0xc]
lea eax, [esp + 0x150]
push 0x30
push edx
push eax
push ebx
call fcn.0044e5f0
push str.battle.htm
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
add esp, 0x344
ret

Function at 0x45aef0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x25c
lea eax, [esp + 0x54]
push esi
push edi
push 0x104
push eax
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45af14
mov byte [esp + 0x5c], al
lea ecx, [esp + 0x5c]
push 0x5c
push ecx
call fcn.004c5e20
add esp, 8
test eax, eax
je 0x45af2b
mov byte [eax + 1], 0
lea edx, [esp + 0x5c]
push 0x104
lea eax, [esp + 0x164]
push edx
push eax
call sub.storm.dll_Ordinal_501
lea ecx, [esp + 0x160]
push 0x104
push str.StarEdit.exe
push ecx
call sub.storm.dll_Ordinal_503
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
push 0
push 0x20
push 0
push 0
lea edx, [esp + 0x17c]
push 0
push edx
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x45aff3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, 5
mov ecx, esi
call fcn.004d7b60
mov esi, eax
mov ecx, esi
call fcn.004d8b50
mov eax, dword [esp + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, esi
call fcn.004d8b80
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
mov eax, 1
pop edi
pop esi
add esp, 0x25c
ret
mov ecx, 1
call fcn.00457cc0
mov ecx, eax
call fcn.0045f180
xor eax, eax
pop edi
pop esi
add esp, 0x25c
ret
Function at 0x45bd80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
xor ebx, ebx
push eax
push ebx
push ebx
push 0x80
push str.Recent_Maps
push 0x4ec1a0
mov ebp, 5
mov dword [esp + 0x28], ebx
call sub.storm.dll_Ordinal_421
test eax, eax
mov eax, dword [esp + 0x10]
je 0x45be14
cmp eax, ebx
je 0x45be14
push ebx
push 0x1ed
push str.U:SWarlanggluMap.cpp
push eax
call sub.storm.dll_Ordinal_401
mov esi, eax
mov ecx, dword [esp + 0x10]
push ebx
push ecx
push esi
push 0x80
push str.Recent_Maps
push 0x4ec1a0
call sub.storm.dll_Ordinal_421
test eax, eax
jne 0x45be0a
push ebx
push 0x1f4
push str.U:SWarlanggluMap.cpp
push esi
call sub.storm.dll_Ordinal_403
xor esi, esi
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
jmp 0x45be18
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
jmp 0x45be18
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x45bf7b
mov esi, eax
cmp eax, ebx
mov dword [esp + 0x18], esi
jle 0x45bf66
jmp 0x45be38
mov ebp, dword [esp + 0x1c]
cmp byte [edi], bl
je 0x45bf66
mov edx, ebp
dec ebp
test edx, edx
mov dword [esp + 0x1c], ebp
je 0x45bf66
push edi
call sub.storm.dll_Ordinal_506
mov ebp, eax
mov ecx, edi
mov edx, dword [esp + 0x10]
push esi
inc ebp
call fcn.00474790
test eax, eax
jbe 0x45bf52
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x45bf52
mov eax, dword [0x640cc0]
xor ecx, ecx
cmp eax, ebx
setle cl
dec ecx
and ecx, eax
mov esi, ecx
cmp esi, ebx
jle 0x45beb5
lea edx, [esi + 0x269]
push edi
push edx
call fcn.004c5fc0
add esp, 8
test eax, eax
je 0x45beb7
cmp esi, ebx
jne 0x45beae
mov esi, 0x640cbc
mov esi, dword [esi + 4]
cmp esi, ebx
jg 0x45be91
xor esi, esi
cmp esi, ebx
jne 0x45bee7
push 0x5c
push edi
call fcn.004c5e20
add esp, 8
cmp eax, ebx
je 0x45bed9
mov byte [eax], bl
inc eax
push eax
mov edx, edi
mov cl, 0x14
call fcn.0045bab0
jmp 0x45bf52
mov eax, edi
mov edx, edi
push eax
mov cl, 0x14
call fcn.0045bab0
jmp 0x45bf52
mov edx, dword [esi]
cmp edx, ebx
je 0x45bf10
mov ecx, dword [esi + 4]
cmp ecx, ebx
jge 0x45bef8
not ecx
jmp 0x45beff
mov eax, esi
sub eax, dword [edx + 4]
add ecx, eax
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov dword [esi], ebx
mov dword [esi + 4], ebx
cmp dword [esi], ebx
je 0x45bf2e
push 0xffffffffffffffff
mov ecx, esi
call fcn.00460620
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [0x640cbc]
mov dword [esi], eax
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov dword [eax + 4], esi
mov dword [0x640cbc], esi
mov al, byte [esi + 0x268]
or al, 0x10
mov byte [esi + 0x268], al
mov esi, dword [esp + 0x18]
add edi, ebp
sub esi, ebp
cmp esi, ebx
mov dword [esp + 0x18], esi
jg 0x45be34
mov edx, dword [esp + 0x14]
push ebx
push 0x22f
push str.U:SWarlanggluMap.cpp
push edx
call sub.storm.dll_Ordinal_403
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x45e400
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x280
mov edx, 0xb
push ebx
push ebp
push esi
push edi
call fcn.004d7b60
mov ecx, eax
call fcn.004dbf10
mov eax, dword [0x640f00]
xor ebx, ebx
xor ecx, ecx
cmp eax, ebx
setle cl
dec ecx
and eax, ecx
cmp eax, ebx
je 0x45e5e5
push 0x104
lea edx, [esp + 0x8c]
push 0x4ec1a0
push edx
call sub.storm.dll_Ordinal_501
lea eax, [esp + 0x88]
push 0x104
push 0x4f15bc
push eax
call sub.storm.dll_Ordinal_503
mov ecx, 0x44
push 0x104
call fcn.00457cc0
lea ecx, [esp + 0x8c]
push eax
push ecx
call sub.storm.dll_Ordinal_503
mov eax, dword [0x640f00]
xor edi, edi
xor edx, edx
cmp eax, ebx
setle dl
dec edx
and edx, eax
mov esi, edx
cmp esi, ebx
jle 0x45e5a2
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, edi
inc edi
push eax
push 0x4eb8bc
lea eax, [esp + 0x1c]
push 0x10
push eax
call fcn.004d39c0
add esp, 0x10
mov ecx, 0x45
push 0x40
call fcn.00457cc0
lea ecx, [esp + 0x4c]
push eax
push ecx
call sub.storm.dll_Ordinal_501
lea edx, [esp + 0x14]
lea eax, [esp + 0x48]
push 0x40
push edx
push eax
call sub.storm.dll_Ordinal_503
cmp dword [esi + 0x50], ebx
je 0x45e540
push 0x104
lea ecx, [esp + 0x190]
push str.SoftwareBlizzard_Entertainment_
push ecx
call sub.storm.dll_Ordinal_501
lea edx, [esp + 0x88]
lea eax, [esp + 0x18c]
push 0x104
push edx
push eax
call sub.storm.dll_Ordinal_503
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18c]
push ecx
push edx
push 0x80000002
call ebp
test eax, eax
jne 0x45e589
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x45e589
lea edx, [esi + 0x2c]
push 0x24
lea eax, [esp + 0x28]
push edx
push eax
call sub.storm.dll_Ordinal_501
lea ecx, [esp + 0x24]
push 0x24
push 0x4f1a08
push ecx
call sub.storm.dll_Ordinal_503
lea edx, [esi + 0x3a]
lea eax, [esp + 0x24]
push 0x24
push edx
push eax
call sub.storm.dll_Ordinal_503
lea ecx, [esp + 0x24]
lea edx, [esp + 0x48]
push ecx
push ebx
lea eax, [esp + 0x90]
push edx
push eax
call sub.storm.dll_Ordinal_425
cmp esi, ebx
jne 0x45e592
mov esi, 0x640efc
mov esi, dword [esi + 4]
cmp esi, ebx
jg 0x45e4a0
mov eax, dword [0x640f00]
xor ecx, ecx
cmp eax, ebx
setle cl
dec ecx
and ecx, eax
mov esi, ecx
cmp esi, ebx
je 0x45e5e5
call fcn.00441fe0
cmp dword [esi], ebx
je 0x45e5d5
push 0xffffffffffffffff
mov ecx, esi
call fcn.00460620
mov edx, dword [esi]
mov dword [eax], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi], ebx
mov dword [esi + 4], ebx
push ebx
push 0xfffffffffffffffe
push str.._AU_PHONENUMBER__
push esi
call sub.storm.dll_Ordinal_403
jmp 0x45e59d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x280
ret
Function at 0x464f30
Capabilities:
Get disk information

Disassembly:
sub esp, 0x21c
mov eax, dword [0x64c27c]
push ebx
push ebp
push esi
test eax, eax
push edi
mov ebx, edx
mov dword [esp + 0x1c], ecx
je 0x464f59
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
lea eax, [esp + 0x24]
push 0x104
push eax
push 0
push str.StarCD
push 0x4ec1a0
call sub.storm.dll_Ordinal_422
test eax, eax
je 0x464fda
push 0x104
lea ecx, [esp + 0x28]
push str.Install.exe
push ecx
call sub.storm.dll_Ordinal_503
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
push edx
push 1
push 0x3e8
push eax
call sub.storm.dll_Ordinal_266
test eax, eax
je 0x464fd2
test ebx, ebx
je 0x464fce
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push 0
push ebx
push edx
call sub.storm.dll_Ordinal_268
test eax, eax
je 0x465110
mov eax, dword [esp + 0x20]
push eax
call sub.storm.dll_Ordinal_253
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4650c9
lea edx, [esp + 0x128]
mov ebp, str.Install.exe
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4650c7
cmp eax, 0x104
ja 0x4650c7
cmp byte [str.Install.exe], 0x5c
jne 0x465016
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x5c
je 0x46500e
mov al, byte [esp + 0x128]
lea edi, [esp + 0x128]
test al, al
je 0x4650c7
mov al, byte [edi]
mov esi, edi
inc edi
test al, al
je 0x46503c
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x465035
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x4650be
push 0x104
lea edx, [esp + 0x28]
push esi
push edx
call sub.storm.dll_Ordinal_501
lea eax, [esp + 0x24]
push 0x104
push ebp
push eax
call sub.storm.dll_Ordinal_503
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push 1
push 0x3e8
push edx
call sub.storm.dll_Ordinal_266
test eax, eax
je 0x4650ba
test ebx, ebx
je 0x4650b6
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 0
push ebx
push ecx
call sub.storm.dll_Ordinal_268
test eax, eax
je 0x4650a8
mov edx, dword [esp + 0x18]
push edx
call sub.storm.dll_Ordinal_253
jmp 0x4650b6
mov eax, dword [esp + 0x14]
push eax
call sub.storm.dll_Ordinal_252
xor eax, eax
jmp 0x4650ba
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4650c9
cmp byte [edi], 0
jne 0x46502c
xor eax, eax
test eax, eax
mov dword [0x64c27c], eax
jne 0x4650f3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x465103
call fcn.004d5f10
test eax, eax
jne 0x464f59
xor cl, cl
call fcn.004d6350
jmp 0x464f59
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x21c
ret
mov ecx, dword [esp + 0x10]
push ecx
call sub.storm.dll_Ordinal_252
xor eax, eax
jmp 0x464fd2
Function at 0x465810
Capabilities:
Get file version info

Disassembly:
mov eax, dword [0x64e4a8]
sub esp, 0xc
push esi
push edi
push 0x104
push 0x64c068
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46583a
mov byte [0x64c068], al
pop edi
pop esi
add esp, 0xc
ret
lea ecx, [esp + 0xc]
push ecx
push 0x64c068
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4658ea
push 0
push 0x113
push str.U:SWarlanginit.cpp
push esi
call sub.storm.dll_Ordinal_401
mov edi, eax
push edi
push esi
push 0
push 0x64c068
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4658d8
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
push 0x4f15bc
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4658d8
mov ecx, dword [esp + 8]
push 0xc1
push 1
push 5
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
mov edx, eax
and edx, 0xffff
add edx, 0x40
shr eax, 0x10
push edx
push eax
mov eax, ecx
and eax, 0xffff
shr ecx, 0x10
push eax
push ecx
push str.v_d._d_d
push 0x104
push str.internal_version_unknown
call fcn.004d39c0
add esp, 0x28
push 0
push 0x14a
push str.U:SWarlanginit.cpp
push edi
call sub.storm.dll_Ordinal_403
pop edi
pop esi
add esp, 0xc
ret
Function at 0x46d960
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x65088c]
sub esp, 0x108
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, ecx
je 0x46d97e
cmp edi, dword [0x650890]
je 0x46d9c4
cmp eax, ebx
mov dword [0x650890], edi
je 0x46d9a5
push eax
call sub.storm.dll_Ordinal_257
mov eax, dword [0x65088c]
push eax
call sub.storm.dll_Ordinal_253
mov dword [0x65088c], ebx
mov byte [0x65089c], bl
cmp edi, ebx
je 0x46dae2
mov ecx, dword [edi*8 + 0x4f2e10]
push 0x65088c
push ecx
call sub.storm.dll_Ordinal_267
mov eax, dword [0x65088c]
cmp eax, ebx
je 0x46dae2
lea edx, [esp + 0xc]
mov esi, eax
push edx
push eax
call sub.storm.dll_Ordinal_264
test eax, eax
je 0x46da32
mov eax, dword [esp + 0xc]
push 0x104
cmp eax, ebx
je 0x46d9fb
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.storm.dll_Ordinal_275
test eax, eax
jne 0x46da0a
jmp 0x46da32
lea edx, [esp + 0x14]
push edx
push esi
call sub.storm.dll_Ordinal_276
test eax, eax
je 0x46da32
lea eax, [esp + 0x10]
push 0x5c
push eax
call sub.storm.dll_Ordinal_571
cmp eax, ebx
je 0x46da1d
mov byte [eax + 1], bl
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
xor edx, edx
cmp eax, 4
sete dl
mov eax, edx
cmp eax, ebx
je 0x46da64
cmp word [0x63c51c], 3
jne 0x46dae2
mov ecx, 0x8c
call fcn.0043fb00
mov ecx, eax
mov edx, 8
call fcn.00469c60
pop edi
pop esi
pop ebx
add esp, 0x108
ret
mov eax, dword [0x6b3e24]
mov byte [0x6508a0], bl
cmp eax, ebx
je 0x46dae2
mov cl, byte [edi*8 + 0x4f2e14]
mov eax, dword [0x650894]
dec cl
mov edx, dword [0x65088c]
neg cl
sbb ecx, ecx
push ebx
and ecx, 0xfffc0000
push ebx
push eax
add ecx, 0x40000
push ebx
push ecx
push 0x40000
push edx
call sub.storm.dll_Ordinal_255
test eax, eax
jne 0x46dadb
mov eax, dword [0x65088c]
cmp eax, ebx
je 0x46dacb
push eax
call sub.storm.dll_Ordinal_257
mov eax, dword [0x65088c]
push eax
call sub.storm.dll_Ordinal_253
mov dword [0x65088c], ebx
mov byte [0x65089c], bl
pop edi
pop esi
pop ebx
add esp, 0x108
ret
mov byte [0x65089c], 1
pop edi
pop esi
pop ebx
add esp, 0x108
ret
Function at 0x46dcc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x65088c]
test eax, eax
je 0x46dda6
mov cl, byte [0x65089c]
push edi
push esi
push ebp
test cl, cl
je 0x46dd7c
mov al, byte [0x6508a0]
mov byte [0x65089c], 0
test al, al
jne 0x46dcf5
mov eax, dword [0x650894]
jmp 0x46dd12
mov ecx, dword [0x650894]
mov dword [0x650898], 0xffffd8f0
lea eax, [ecx - 0x2ee]
cmp eax, 0xffffd8f0
jl 0x46dd17
mov dword [0x650898], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov edi, eax
mov esi, 5
call ebp
mov edx, eax
sub edx, edi
js 0x46dd26
mov ecx, dword [0x4e6300]
lea edi, [eax + 0x14]
mov eax, dword [0x650898]
sub eax, esi
cmp eax, ecx
mov dword [0x650898], eax
jl 0x46dd5a
push 0
push eax
mov eax, dword [0x65088c]
add esi, 5
push eax
call sub.storm.dll_Ordinal_261
jmp 0x46dd26
mov ecx, dword [0x65088c]
push 0
push 0xffffd8f0
push ecx
mov dword [0x650898], 0xffffd8f0
call sub.storm.dll_Ordinal_261
mov eax, dword [0x65088c]
test eax, eax
je 0x46dd9c
push eax
call sub.storm.dll_Ordinal_257
mov edx, dword [0x65088c]
push edx
call sub.storm.dll_Ordinal_253
mov dword [0x65088c], 0
pop ebp
pop esi
mov byte [0x65089c], 0
pop edi
ret

Function at 0x471220
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp cl, 1
push edi
mov bl, dl
mov byte [esp + 0xf], cl
jne 0x471272
call esi
cmp bl, byte [0x650950]
jne 0x471263
mov edi, dword [0x650954]
mov ecx, eax
sub ecx, edi
cmp ecx, 0x1f4
jae 0x471263
mov cl, bl
call fcn.00463240
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov cl, byte [esp + 0xf]
mov byte [0x650950], bl
mov dword [0x650954], eax
test cl, cl
jne 0x471287
mov byte [0x650950], bl
call esi
mov cl, byte [esp + 0xf]
mov dword [0x650954], eax
mov byte [esp + 0x11], cl
mov edx, 3
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], 0x13
mov byte [esp + 0x12], bl
call fcn.004745e0
cmp byte [esp + 0xf], 1
jne 0x4712db
mov ecx, 0xc
xor eax, eax
mov edi, 0x650958
mov esi, dword [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov edi, 0x650958
and ecx, 0xff
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x478610
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ecx, 8
xor eax, eax
mov edi, 0x652738
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x430
mov edi, 0x651668
rep stosd dword es:[edi], eax
mov byte [0x651660], bl
mov byte [0x652728], bl
mov byte [0x65272c], bl
mov byte [0x652730], bl
mov byte [0x65165c], bl
call fcn.0046b1b0
mov al, byte [0x650bdc]
mov dword [0x651658], ebx
cmp al, bl
je 0x47869a
mov eax, dword [0x65272c]
and eax, 0xff
mov byte [eax + 0x652738], 1
mov al, byte [0x65272c]
inc al
mov byte [0x65272c], al
mov ecx, dword [0x65272c]
and ecx, 0xff
inc al
mov byte [0x65272c], al
mov byte [ecx + 0x652738], 2
mov al, byte [0x651660]
inc al
cmp al, 0x10
mov byte [0x651660], al
jb 0x4786b0
mov byte [0x651660], bl
mov al, byte [0x652728]
mov cl, byte [0x65272c]
inc al
cmp al, cl
mov byte [0x652728], al
jb 0x4786cc
mov byte [0x652728], bl
mov edx, dword [0x652728]
xor ecx, ecx
and edx, 0xff
mov al, byte [edx + 0x652738]
mov byte [esp + 0x10], al
call fcn.00476e80
mov ebp, eax
mov eax, dword [esp + 0x10]
and eax, 0xff
dec eax
je 0x47877b
dec eax
je 0x47870f
mov edi, dword [0x651660]
and edi, 0xff
jmp 0x4787a8
xor esi, esi
mov ecx, 0x4feeb4
mov edi, dword [ecx - 0x30]
mov edx, dword [ecx]
xor esi, edi
lea eax, [esi*8]
shr esi, 0x1d
or eax, esi
xor eax, edx
mov edx, ecx
sub ecx, 4
lea esi, [eax*8]
shr eax, 0x1d
or esi, eax
cmp edx, 0x4fee88
jne 0x478716
call fcn.00476eb0
mov ecx, esi
lea edx, [esi*8]
shr ecx, 0x1d
or ecx, edx
mov esi, dword [0x4fefa4]
xor eax, ecx
lea ecx, [eax*8]
shr eax, 0x1d
or ecx, eax
xor ecx, esi
lea edi, [ecx*8]
shr ecx, 0x1d
or edi, ecx
jmp 0x4787a8
xor edi, edi
call fcn.00421050
mov esi, eax
cmp esi, ebx
je 0x4787a8
mov ecx, esi
call fcn.00423e40
mov esi, dword [esi + 4]
xor eax, edi
mov ecx, eax
shr ecx, 0x1d
lea edx, [eax*8]
or ecx, edx
cmp esi, ebx
mov edi, ecx
jne 0x478788
cmp ebp, ebx
je 0x4787b6
mov ecx, 1
call fcn.00476e80
mov edx, dword [0x4fef3c]
mov esi, dword [0x651658]
and edx, 0xffff
mov ecx, esi
imul ecx, edx
mov ebp, dword [0x63c568]
xor eax, eax
shl edx, 2
sar edx, 2
lea ecx, [ebp + ecx*4]
mov ebp, edx
dec edx
test ebp, ebp
je 0x478801
inc edx
mov ebp, dword [ecx]
add ecx, 4
and ebp, 0xbfffffff
xor eax, ebp
mov ebp, eax
shr ebp, 0x1d
shl eax, 3
or eax, ebp
dec edx
jne 0x4787e7
xor ecx, ecx
inc esi
mov cx, word [0x4fef3e]
mov dword [0x651658], esi
cmp esi, ecx
jb 0x47881b
mov dword [0x651658], ebx
mov ebp, dword [0x4f30d8]
mov edx, dword [0x650990]
mov ebx, dword [0x65098c]
mov ecx, 8
sub ecx, ebp
xor edx, ebx
shl edx, cl
xor edx, eax
mov eax, dword [0x651660]
and eax, 0xff
xor edi, edx
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*2]
mov ecx, edi
shr ecx, 0x10
lea eax, [edx*4 + 0x651668]
mov dl, byte [esp + 0x10]
xor ecx, edi
mov word [eax], cx
mov byte [eax + 2], dl
mov cl, byte [0x652730]
mov byte [eax + 4], cl
mov dl, byte [0x65165c]
lea ecx, [eax + 0xc]
mov byte [eax + 5], dl
push ecx
lea edx, [eax + 8]
lea ecx, [eax + 3]
call fcn.00410450
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x478890
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov al, byte [ecx + 1]
mov dword [esp + 4], ecx
mov cl, al
push ebx
shr cl, 4
push ebp
and al, 0xf
push esi
cmp cl, 0x10
push edi
mov byte [esp + 0x18], cl
mov byte [esp + 0x13], al
jae 0x478981
mov ebx, dword [esp + 0x18]
mov cl, byte [str._b_b_b_b_b_b]
and ebx, 0xff
mov esi, dword [esp + 0x14]
mov eax, ebx
shl eax, 5
add eax, ebx
lea edx, [ebx + eax*2]
shl edx, 2
mov al, byte [edx + 0x65166c]
shr al, cl
xor al, byte [esi + 6]
test al, 1
jne 0x478981
xor ecx, ecx
mov cl, byte [esi + 5]
mov ebp, ecx
lea edi, [ebp + 0xd]
cmp edi, 0x100
jb 0x478901
mov edi, 0xff
mov ecx, dword [str._b_b_b_b_b_b]
mov esi, 1
xor eax, eax
shl esi, cl
cmp ebp, edi
lea ecx, [ebp + edx + 0x651674]
ja 0x478933
sub edi, ebp
inc edi
xor edx, edx
mov dl, byte [ecx]
and edx, esi
xor eax, edx
inc ecx
mov edx, eax
add eax, eax
shr edx, 0x1f
or eax, edx
dec edi
jne 0x47891e
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, eax
shr edx, 8
xor eax, edx
mov dl, byte [ecx + 4]
cmp dl, al
jne 0x478981
mov eax, ebx
shl eax, 5
add eax, ebx
lea ebx, [ebx + eax*2]
shl ebx, 2
mov dx, word [ebx + 0x651668]
cmp dx, word [ecx + 2]
jne 0x478981
mov al, byte [esp + 0x13]
mov cl, byte [ebx + 0x65166a]
cmp cl, al
jne 0x478981
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret