joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e590
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, edx
mov edi, ecx
mov edx, dword [esp + 0x14]
mov ecx, eax
call fcn.0044ac50
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x409
push edi
call ebp
test esi, esi
mov ebx, eax
je 0x44e61d
cmp byte [esi + 0x12], 1
je 0x44e5d1
mov cx, word [esi]
cmp cx, 0xe
je 0x44e5d1
call fcn.0044b840
test eax, eax
je 0x44e61d
mov cx, word [esi]
call fcn.0044b840
mov esi, eax
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
neg esi
sbb esi, esi
and esi, 2
add esi, 4
push esi
push 1
push 0x405
push ebx
call ebp
and esi, 0xffff
shl esi, 0x10
or esi, 4
push ebx
push esi
push 0x114
push edi
call ebp
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x44e626
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [0x6470f8]
mov ecx, dword [0x6470f0]
call fcn.0044b7a0
test eax, eax
je 0x44e652
push 5
push 0x3f9
push edi
call ebp
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 5
jmp 0x44e667
push 0
push 0x3f9
push edi
call ebp
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0
push 0x406
push edi
call ebp
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0x147
push 0x3f1
push edi
call esi
cmp eax, 0xffffffff
je 0x44e6ad
push 0
push eax
push 0x150
push 0x3f1
push edi
call esi
mov esi, eax
mov ecx, esi
call fcn.0045f580
mov dword [0x647100], esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x44e6c0
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [0x647100]
sub esp, 0xb4
lea edx, [esp]
push esi
call fcn.0045e8a0
test eax, eax
je 0x44e78e
test byte [esp + 8], 0x80
je 0x44e73d
mov eax, dword [0x647278]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov ecx, dword [0x647208]
push 0
push ecx
call esi
mov edx, dword [0x647280]
push 0
push edx
call esi
mov eax, dword [0x647284]
push 0
push eax
call esi
mov ecx, dword [0x6470fc]
push 0
push ecx
call esi
mov edx, dword [0x647250]
push 0
push edx
call esi
mov eax, dword [0x64727c]
push 0
push eax
call esi
pop esi
add esp, 0xb4
ret
mov ecx, dword [0x647278]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push ecx
call esi
mov edx, dword [0x647208]
push 1
push edx
call esi
mov eax, dword [0x647280]
push 1
push eax
call esi
mov ecx, dword [0x647284]
push 1
push ecx
call esi
mov edx, dword [0x6470fc]
push 1
push edx
call esi
mov eax, dword [0x647250]
push 1
push eax
call esi
mov ecx, dword [0x64727c]
push 1
push ecx
call esi
pop esi
add esp, 0xb4
ret
Function at 0x44f4e0
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.004a5e60
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebp
call esi
mov eax, dword [0x64722c]
push 0
push eax
call esi
mov ecx, dword [0x647254]
push 0
push ecx
call esi
mov edx, dword [0x6473a0]
push 0
push edx
call esi
mov eax, dword [0x647284]
push 0
push eax
call esi
mov ecx, dword [0x647250]
push 0
push ecx
call esi
call fcn.0045e6e0
mov edx, dword [0x6473a0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push edx
call ebx
mov eax, dword [0x647284]
push 0x647108
push 0x100
push 0xd
push eax
call ebx
mov ecx, dword [0x647250]
push 0x6473b0
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 0x44f6b0
mov dword [0x6474c4], 1
call fcn.0044bbb0
mov dword [0x6474c4], 0
push 0x3f1
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [0x6473a0], 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 [0x6473a0]
push 0
push 0
push 0xb
push edx
call ebx
mov edx, dword [0x6473a0]
mov ecx, edi
call fcn.0044ed10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44f644
mov edx, 0x44ef20
mov ecx, 0x647288
call fcn.0045f430
cmp eax, 0x80000006
je 0x44f62e
push 0
push eax
mov eax, dword [0x6473a0]
push 0x14e
push eax
call ebx
mov ecx, dword [0x6473a0]
push ecx
push 0x103f1
push 0x111
push edi
call ebx
push 0x5c
push 0x647288
call fcn.004ce000
add esp, 8
test eax, eax
je 0x44f644
mov byte [eax], 0
mov edx, dword [0x6473a0]
push 0
push 1
push 0xb
push edx
call ebx
push 1
push ebp
call esi
mov eax, dword [0x64722c]
push 1
push eax
call esi
mov ecx, dword [0x647254]
push 1
push ecx
call esi
mov edx, dword [0x647250]
push 1
push edx
call esi
mov eax, dword [0x647284]
push 1
push eax
call esi
mov ecx, dword [0x6473a0]
push 1
push ecx
call esi
mov edx, dword [0x6473a0]
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 0x4523f0
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 0x4524e7
push 0x4f6138
push str.battle.htm
call fcn.004cf1c0
add esp, 8
test eax, eax
je 0x45244e
push eax
call fcn.004cf0d0
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 0x4524dc
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 0x4524dc
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.0044ba90
lea edx, [esp + 0xc]
mov ecx, 0x4b6
push 0x40
call fcn.0044ba90
lea edx, [esp + 0xc]
lea eax, [esp + 0x150]
push 0x30
push edx
push eax
push ebx
call fcn.00450820
push str.battle.htm
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
add esp, 0x344
ret
Function at 0x45f220
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 0x4f56a4
mov ebp, 5
mov dword [esp + 0x28], ebx
call sub.Storm.dll_Ordinal_421
test eax, eax
mov eax, dword [esp + 0x10]
je 0x45f2b4
cmp eax, ebx
je 0x45f2b4
push ebx
push 0x27e
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 0x4f56a4
call sub.Storm.dll_Ordinal_421
test eax, eax
jne 0x45f2aa
push ebx
push 0x285
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 0x45f2b8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
jmp 0x45f2b8
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x45f41b
mov esi, eax
cmp eax, ebx
mov dword [esp + 0x18], esi
jle 0x45f406
jmp 0x45f2d8
mov ebp, dword [esp + 0x1c]
cmp byte [edi], bl
je 0x45f406
mov edx, ebp
dec ebp
test edx, edx
mov dword [esp + 0x1c], ebp
je 0x45f406
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.004790b0
test eax, eax
jbe 0x45f3f2
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x45f3f2
mov eax, dword [0x64a8b8]
xor ecx, ecx
cmp eax, ebx
setle cl
dec ecx
and ecx, eax
mov esi, ecx
cmp esi, ebx
jle 0x45f355
lea edx, [esi + 0x269]
push edi
push edx
call fcn.004ce4d0
add esp, 8
test eax, eax
je 0x45f357
cmp esi, ebx
jne 0x45f34e
mov esi, 0x64a8b4
mov esi, dword [esi + 4]
cmp esi, ebx
jg 0x45f331
xor esi, esi
cmp esi, ebx
jne 0x45f387
push 0x5c
push edi
call fcn.004ce000
add esp, 8
cmp eax, ebx
je 0x45f379
mov byte [eax], bl
inc eax
push eax
mov edx, edi
mov cl, 0x14
call fcn.0045f000
jmp 0x45f3f2
mov eax, edi
mov edx, edi
push eax
mov cl, 0x14
call fcn.0045f000
jmp 0x45f3f2
mov edx, dword [esi]
cmp edx, ebx
je 0x45f3b0
mov ecx, dword [esi + 4]
cmp ecx, ebx
jg 0x45f398
not ecx
jmp 0x45f39f
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 0x45f3ce
push 0xffffffffffffffff
mov ecx, esi
call fcn.0045ca60
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 [0x64a8b4]
mov dword [esi], eax
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov dword [eax + 4], esi
mov dword [0x64a8b4], 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 0x45f2d4
mov edx, dword [esp + 0x14]
push ebx
push 0x2c0
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 0x461ec0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x280
mov edx, 0xb
push ebx
push ebp
push esi
push edi
call fcn.004e0230
mov ecx, eax
call fcn.004e46d0
mov eax, dword [0x64ab00]
xor ebx, ebx
xor ecx, ecx
cmp eax, ebx
setle cl
dec ecx
and eax, ecx
cmp eax, ebx
je 0x4620ab
push 0x104
lea edx, [esp + 0x8c]
push 0x4f56a4
push edx
call sub.Storm.dll_Ordinal_501
lea eax, [esp + 0x88]
push 0x104
push 0x4fac04
push eax
call sub.Storm.dll_Ordinal_503
mov ecx, 0x44
push 0x104
call fcn.0045afd0
lea ecx, [esp + 0x8c]
push eax
push ecx
call sub.Storm.dll_Ordinal_503
mov eax, dword [0x64ab00]
xor edi, edi
xor edx, edx
cmp eax, ebx
setle dl
dec edx
and edx, eax
mov esi, edx
cmp esi, ebx
jle 0x462068
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, edi
inc edi
push eax
push 0x4f4e1c
lea eax, [esp + 0x1c]
push 0x10
push eax
call fcn.004db920
add esp, 0x10
mov ecx, 0x45
push 0x40
call fcn.0045afd0
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 0x462006
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 0x20019
push ebx
push edx
push 0x80000002
call ebp
test eax, eax
jne 0x46204f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x46204f
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 0x4fb068
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 0x462058
mov esi, 0x64aafc
mov esi, dword [esi + 4]
cmp esi, ebx
jg 0x461f60
mov eax, dword [0x64ab00]
xor ecx, ecx
cmp eax, ebx
setle cl
dec ecx
and ecx, eax
mov esi, ecx
cmp esi, ebx
je 0x4620ab
call fcn.004a10a0
cmp dword [esi], ebx
je 0x46209b
push 0xffffffffffffffff
mov ecx, esi
call fcn.0045ca60
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 0x462063
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x280
ret
Function at 0x468bd0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x21c
mov eax, dword [0x655ecc]
push ebx
push ebp
push esi
test eax, eax
push edi
mov ebx, edx
mov dword [esp + 0x1c], ecx
je 0x468bf9
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 0x4f56a4
call sub.Storm.dll_Ordinal_422
test eax, eax
je 0x468c7a
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 3
push 0x3e8
push eax
call sub.Storm.dll_Ordinal_266
test eax, eax
je 0x468c72
test ebx, ebx
je 0x468c6e
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 0x468db0
mov eax, dword [esp + 0x20]
push eax
call sub.Storm.dll_Ordinal_253
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x468d69
lea edx, [esp + 0x128]
mov ebp, str.Install.exe
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x468d67
cmp eax, 0x104
ja 0x468d67
cmp byte [str.Install.exe], 0x5c
jne 0x468cb6
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x5c
je 0x468cae
mov al, byte [esp + 0x128]
lea edi, [esp + 0x128]
test al, al
je 0x468d67
mov al, byte [edi]
mov esi, edi
inc edi
test al, al
je 0x468cdc
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x468cd5
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x468d5e
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 3
push 0x3e8
push edx
call sub.Storm.dll_Ordinal_266
test eax, eax
je 0x468d5a
test ebx, ebx
je 0x468d56
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 0x468d48
mov edx, dword [esp + 0x18]
push edx
call sub.Storm.dll_Ordinal_253
jmp 0x468d56
mov eax, dword [esp + 0x14]
push eax
call sub.Storm.dll_Ordinal_252
xor eax, eax
jmp 0x468d5a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x468d69
cmp byte [edi], 0
jne 0x468ccc
xor eax, eax
test eax, eax
mov dword [0x655ecc], eax
jne 0x468d93
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x468da3
call fcn.004de460
test eax, eax
jne 0x468bf9
xor cl, cl
call fcn.004de920
jmp 0x468bf9
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 0x468c72
Function at 0x4694d0
Capabilities:
Get file version info

Disassembly:
mov eax, dword [0x65810c]
sub esp, 0xc
push esi
push edi
push 0x104
push 0x655cb8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4694fa
mov byte [0x655cb8], al
pop edi
pop esi
add esp, 0xc
ret
lea ecx, [esp + 0xc]
push ecx
push 0x655cb8
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4695b1
push 0
push 0x150
push str.U:SWarlanginit.cpp
push esi
call sub.Storm.dll_Ordinal_401
mov edi, eax
push edi
push esi
push 0
push 0x655cb8
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x46959f
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
push 0x4fac04
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46959f
mov esi, dword [esp + 8]
mov edx, 0x20
mov ecx, dword [esi + 0x14]
mov eax, ecx
and eax, 0xffff
je 0x46956a
lea edx, [eax + 0x40]
mov eax, dword [esi + 0x10]
push 0xc3
push 1
push 5
shr ecx, 0x10
push edx
push ecx
mov ecx, eax
and ecx, 0xffff
shr eax, 0x10
push ecx
push eax
push str.v_d._d_d
push 0x104
push str.internal_version_unknown
call fcn.004db920
add esp, 0x28
push 0
push 0x187
push str.U:SWarlanginit.cpp
push edi
call sub.Storm.dll_Ordinal_403
pop edi
pop esi
add esp, 0xc
ret
Function at 0x471c00
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x65a6d4]
sub esp, 0x108
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, ecx
je 0x471c1e
cmp edi, dword [0x65a6d8]
je 0x471c64
cmp eax, ebx
mov dword [0x65a6d8], edi
je 0x471c45
push eax
call sub.Storm.dll_Ordinal_257
mov eax, dword [0x65a6d4]
push eax
call sub.Storm.dll_Ordinal_253
mov dword [0x65a6d4], ebx
mov byte [0x65a6e4], bl
cmp edi, ebx
je 0x471d82
mov ecx, dword [edi*8 + 0x4fc470]
push 0x65a6d4
push ecx
call sub.Storm.dll_Ordinal_267
mov eax, dword [0x65a6d4]
cmp eax, ebx
je 0x471d82
lea edx, [esp + 0xc]
mov esi, eax
push edx
push eax
call sub.Storm.dll_Ordinal_264
test eax, eax
je 0x471cd2
mov eax, dword [esp + 0xc]
push 0x104
cmp eax, ebx
je 0x471c9b
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.Storm.dll_Ordinal_275
test eax, eax
jne 0x471caa
jmp 0x471cd2
lea edx, [esp + 0x14]
push edx
push esi
call sub.Storm.dll_Ordinal_276
test eax, eax
je 0x471cd2
lea eax, [esp + 0x10]
push 0x5c
push eax
call sub.Storm.dll_Ordinal_571
cmp eax, ebx
je 0x471cbd
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 0x471d04
cmp word [0x645f6c], 3
jne 0x471d82
mov ecx, 0x8c
call fcn.00440bd0
mov ecx, eax
mov edx, 8
call fcn.0046dc50
pop edi
pop esi
pop ebx
add esp, 0x108
ret
mov eax, dword [0x6be87c]
mov byte [0x65a6e8], bl
cmp eax, ebx
je 0x471d82
mov cl, byte [edi*8 + 0x4fc474]
mov eax, dword [0x65a6dc]
dec cl
mov edx, dword [0x65a6d4]
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 0x471d7b
mov eax, dword [0x65a6d4]
cmp eax, ebx
je 0x471d6b
push eax
call sub.Storm.dll_Ordinal_257
mov eax, dword [0x65a6d4]
push eax
call sub.Storm.dll_Ordinal_253
mov dword [0x65a6d4], ebx
mov byte [0x65a6e4], bl
pop edi
pop esi
pop ebx
add esp, 0x108
ret
mov byte [0x65a6e4], 1
pop edi
pop esi
pop ebx
add esp, 0x108
ret
Function at 0x471f60
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x65a6d4]
test eax, eax
je 0x472046
mov cl, byte [0x65a6e4]
push edi
push esi
push ebp
test cl, cl
je 0x47201c
mov al, byte [0x65a6e8]
mov byte [0x65a6e4], 0
test al, al
jne 0x471f95
mov eax, dword [0x65a6dc]
jmp 0x471fb2
mov ecx, dword [0x65a6dc]
mov dword [0x65a6e0], 0xffffd8f0
lea eax, [ecx - 0x2ee]
cmp eax, 0xffffd8f0
jl 0x471fb7
mov dword [0x65a6e0], 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 0x471fc6
mov ecx, dword [0x4eea78]
lea edi, [eax + 0x14]
mov eax, dword [0x65a6e0]
sub eax, esi
cmp eax, ecx
mov dword [0x65a6e0], eax
jl 0x471ffa
push 0
push eax
mov eax, dword [0x65a6d4]
add esi, 5
push eax
call sub.Storm.dll_Ordinal_261
jmp 0x471fc6
mov ecx, dword [0x65a6d4]
push 0
push 0xffffd8f0
push ecx
mov dword [0x65a6e0], 0xffffd8f0
call sub.Storm.dll_Ordinal_261
mov eax, dword [0x65a6d4]
test eax, eax
je 0x47203c
push eax
call sub.Storm.dll_Ordinal_257
mov edx, dword [0x65a6d4]
push edx
call sub.Storm.dll_Ordinal_253
mov dword [0x65a6d4], 0
pop ebp
pop esi
mov byte [0x65a6e4], 0
pop edi
ret

Function at 0x475990
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 0x4759e2
call esi
cmp bl, byte [0x65a7bc]
jne 0x4759d3
mov edi, dword [0x65a7c0]
mov ecx, eax
sub ecx, edi
cmp ecx, 0x1f4
jae 0x4759d3
mov cl, bl
call fcn.00466e70
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov cl, byte [esp + 0xf]
mov byte [0x65a7bc], bl
mov dword [0x65a7c0], eax
test cl, cl
jne 0x4759f7
mov byte [0x65a7bc], bl
call esi
mov cl, byte [esp + 0xf]
mov dword [0x65a7c0], 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.00478f00
cmp byte [esp + 0xf], 1
jne 0x475a4b
mov ecx, 0xc
xor eax, eax
mov edi, 0x65a7c8
mov esi, dword [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov edi, 0x65a7c8
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 0x47d9a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ecx, 8
xor eax, eax
mov edi, 0x65c880
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x430
mov edi, 0x65b7b0
rep stosd dword es:[edi], eax
mov byte [0x65b7ac], bl
mov byte [0x65c870], bl
mov byte [0x65c874], bl
mov byte [0x65c878], bl
mov byte [0x65b7a8], bl
call fcn.0046f250
mov al, byte [0x65aa4c]
mov dword [0x65b7a4], ebx
cmp al, bl
je 0x47da2a
mov eax, dword [0x65c874]
and eax, 0xff
mov byte [eax + 0x65c880], 1
mov al, byte [0x65c874]
inc al
mov byte [0x65c874], al
mov ecx, dword [0x65c874]
and ecx, 0xff
inc al
mov byte [0x65c874], al
mov byte [ecx + 0x65c880], 2
mov al, byte [0x65b7ac]
inc al
cmp al, 0x10
mov byte [0x65b7ac], al
jb 0x47da40
mov byte [0x65b7ac], bl
mov al, byte [0x65c870]
mov cl, byte [0x65c874]
inc al
cmp al, cl
mov byte [0x65c870], al
jb 0x47da5c
mov byte [0x65c870], bl
mov edx, dword [0x65c870]
xor ecx, ecx
and edx, 0xff
mov al, byte [edx + 0x65c880]
mov byte [esp + 0x10], al
call fcn.0047bc00
mov ebp, eax
mov eax, dword [esp + 0x10]
and eax, 0xff
dec eax
je 0x47db03
dec eax
je 0x47da9b
mov esi, dword [0x65b7ac]
and esi, 0xff
jmp 0x47db2e
xor esi, esi
mov ecx, 0x508774
xor esi, dword [ecx - 0x30]
mov eax, esi
shr eax, 0x1d
lea edx, [esi*8]
or eax, edx
mov edx, dword [ecx]
xor eax, edx
mov edx, eax
shr edx, 0x1d
shl eax, 3
or edx, eax
mov esi, edx
mov edx, ecx
sub ecx, 4
cmp edx, 0x508748
jne 0x47daa2
call fcn.0047bc30
mov ecx, esi
lea edx, [esi*8]
shr ecx, 0x1d
or ecx, edx
mov esi, dword [0x508864]
xor eax, ecx
mov ecx, eax
shr ecx, 0x1d
shl eax, 3
or ecx, eax
xor ecx, esi
mov esi, ecx
shr esi, 0x1d
shl ecx, 3
or esi, ecx
jmp 0x47db2e
xor edi, edi
call fcn.00421c90
mov esi, eax
cmp esi, ebx
je 0x47db2c
mov ecx, esi
call fcn.00424ae0
mov esi, dword [esi + 4]
xor eax, edi
mov edx, eax
shr edx, 0x1d
shl eax, 3
or edx, eax
cmp esi, ebx
mov edi, edx
jne 0x47db10
mov esi, edi
cmp ebp, ebx
je 0x47db3c
mov ecx, 1
call fcn.0047bc00
mov edx, dword [0x5087fc]
mov edi, dword [0x65b7a4]
and edx, 0xffff
mov ecx, edi
imul ecx, edx
mov ebp, dword [0x646518]
xor eax, eax
shl edx, 2
sar edx, 2
lea ecx, [ebp + ecx*4]
mov ebp, edx
dec edx
test ebp, ebp
je 0x47db87
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 0x47db6d
xor ecx, ecx
inc edi
mov cx, word [0x5087fe]
mov dword [0x65b7a4], edi
cmp edi, ecx
jb 0x47dba1
mov dword [0x65b7a4], ebx
mov ebp, dword [0x4fc738]
mov edx, dword [0x65a804]
mov ebx, dword [0x65a800]
mov ecx, 8
sub ecx, ebp
xor edx, ebx
shl edx, cl
xor edx, eax
mov eax, dword [0x65b7ac]
and eax, 0xff
xor esi, edx
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*2]
mov ecx, esi
shr ecx, 0x10
lea eax, [edx*4 + 0x65b7b0]
mov dl, byte [esp + 0x10]
xor ecx, esi
mov word [eax], cx
mov byte [eax + 2], dl
mov cl, byte [0x65c878]
mov byte [eax + 4], cl
mov dl, byte [0x65b7a8]
lea ecx, [eax + 0xc]
mov byte [eax + 5], dl
push ecx
lea edx, [eax + 8]
lea ecx, [eax + 3]
call fcn.00410c20
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret