joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ed40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
or ebp, 0xffffffff
jmp 0x42ed62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42ed69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42ed58
mov eax, 1
add ebx, ebx
jne 0x42ed7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42ed70
jne 0x42ed8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ed70
xor ecx, ecx
sub eax, 3
jb 0x42eda0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42ee12
mov ebp, eax
add ebx, ebx
jne 0x42edab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42edb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42eddc
inc ecx
add ebx, ebx
jne 0x42edc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42edbd
jne 0x42edd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42edbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42edfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42eded
jmp 0x42ed5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42edfc
add edi, ecx
jmp 0x42ed5e
pop esi
mov edi, esi
mov ecx, 0xadb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42ee1a
cmp byte [edi], 2
jne 0x42ee1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42ee1f
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x42ee97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2fdd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2fee0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42ee4c
mov ecx, edi
jns 0x42ee7b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2fee8]
or eax, eax
je 0x42ee91
mov dword [ebx], eax
add ebx, 4
jmp 0x42ee69
call dword [esi + 0x2fee4]
mov ebp, dword [esi + 0x2feec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42eecb
sub esp, 0xffffff80
jmp 0x41a480
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x428db0
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x4b3680]
sub esp, 0x218
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x428dd3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x218
ret
mov ebx, dword [esp + 0x230]
lea eax, [esp + 0x20]
push 0x104
push eax
push 0
push str.War2CD
push 0x49dc0c
call sub.Storm.dll_Ordinal_422
test eax, eax
je 0x428e78
push 0x104
lea ecx, [esp + 0x24]
push str.Install.exe
push ecx
call sub.Storm.dll_Ordinal_503
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push 1
push 0x3e8
push eax
call sub.Storm.dll_Ordinal_266
test eax, eax
je 0x428e78
push str.rezCDversion.txt
call fcn.004290d0
add esp, 4
test eax, eax
jne 0x428e44
mov ecx, dword [esp + 0x10]
push ecx
call sub.Storm.dll_Ordinal_252
jmp 0x428e78
test ebx, ebx
je 0x428e6c
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0
push ebx
push eax
call sub.Storm.dll_Ordinal_268
test eax, eax
je 0x428f41
mov ecx, dword [esp + 0x18]
push ecx
call sub.Storm.dll_Ordinal_253
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x428f87
lea eax, [esp + 0x124]
mov ebp, str.Install.exe
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x428f85
cmp eax, 0x104
ja 0x428f85
cmp byte [str.Install.exe], 0x5c
jne 0x428eb4
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x5c
je 0x428eac
mov al, byte [esp + 0x124]
lea edi, [esp + 0x124]
test al, al
je 0x428f85
mov cl, byte [edi]
mov esi, edi
inc edi
test cl, cl
je 0x428eda
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x428ed3
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x428f7c
push 0x104
lea eax, [esp + 0x24]
push esi
push eax
call sub.Storm.dll_Ordinal_501
push 0x104
lea ecx, [esp + 0x24]
push ebp
push ecx
call sub.Storm.dll_Ordinal_503
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push 1
push 0x3e8
push eax
call sub.Storm.dll_Ordinal_266
test eax, eax
je 0x428f7c
push str.rezCDversion.txt
call fcn.004290d0
add esp, 4
test eax, eax
jne 0x428f50
mov ecx, dword [esp + 0x14]
push ecx
call sub.Storm.dll_Ordinal_252
jmp 0x428f7c
mov edx, dword [esp + 0x10]
push edx
call sub.Storm.dll_Ordinal_252
jmp 0x428e78
test ebx, ebx
je 0x428f74
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 0
push ebx
push eax
call sub.Storm.dll_Ordinal_268
test eax, eax
je 0x428fba
mov ecx, dword [esp + 0x1c]
push ecx
call sub.Storm.dll_Ordinal_253
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x428f87
cmp byte [edi], 0
jne 0x428eca
xor eax, eax
test eax, eax
mov dword [0x4b3680], eax
jne 0x428dc3
mov eax, dword [esp + 0x22c]
test eax, eax
je 0x428fc6
call fcn.0048b580
test eax, eax
jne 0x428dda
push eax
call fcn.0048b6f0
add esp, 4
jmp 0x428dda
mov edx, dword [esp + 0x14]
push edx
call sub.Storm.dll_Ordinal_252
jmp 0x428f7c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x218
ret
Function at 0x428ff0
Capabilities:
Get file version info

Disassembly:
mov eax, dword [0x4ce7bc]
sub esp, 0xc
push esi
push 0x104
push 0x4b3688
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x429018
mov byte [0x4b3688], al
pop esi
add esp, 0xc
ret
lea ecx, [esp + 8]
push ecx
push 0x4b3688
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4290c7
push edi
push 0
push 0x719
push str.C:war2bneLANGSourceINIT.cpp
push esi
call sub.Storm.dll_Ordinal_401
mov edi, eax
push edi
push esi
push 0
push 0x4b3688
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4290b4
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
push 0x494fdc
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4290b4
mov ecx, dword [esp + 8]
push 0x4f
push 1
push 1
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.Warcraft_II_BNE_v_d._d_d
push 0x104
push str.internal_version_unknown
call fcn.00489aa0
add esp, 0x28
push 0
push 0x757
push str.C:war2bneLANGSourceINIT.cpp
push edi
call sub.Storm.dll_Ordinal_403
pop edi
pop esi
add esp, 0xc
ret

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

Disassembly:
mov al, byte [0x4b4914]
test al, al
jne 0x431ff5
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov bl, 1
push esi
mov byte [0x4b4914], bl
call ebp
mov ecx, dword [0x4b4908]
add ecx, 0x1d4c0
cmp eax, ecx
ja 0x431e96
mov eax, dword [0x4b48e0]
cmp eax, 2
jb 0x431ff6
sub eax, 2
cmp eax, 0x2d
jbe 0x431e9b
mov eax, 0x2d
mov dword [0x4b48e0], eax
call fcn.004203f0
push 0x4321b0
push str.rez_btimeout.bin
mov byte [0x4b3fd4], bl
call fcn.0042ec30
add esp, 8
mov byte [0x4b3fd4], 0
call fcn.004051d0
mov dword [0x4b4904], 0
call ebp
mov esi, eax
mov al, byte [0x4ce53a]
test al, al
jne 0x431fc3
mov eax, dword [0x4b4904]
test eax, eax
jne 0x431fc3
call fcn.004788d0
call fcn.00477df0
push 3
call fcn.0041c750
add esp, 4
call fcn.00432000
call ebp
lea edx, [esi + 0x3e8]
cmp eax, edx
jbe 0x431fac
mov eax, dword [0x4b4918]
test eax, eax
je 0x431fa8
mov ecx, dword [0x4b48e0]
test ecx, ecx
je 0x431f38
dec ecx
mov dword [0x4b48e0], ecx
push 0xffffffffffffffe2
push eax
call fcn.00402ad0
mov ecx, dword [0x4b48e0]
mov esi, eax
mov eax, ecx
xor edx, edx
mov ebx, 0x3c
add esp, 8
div ebx
mov eax, 0x88888889
push edx
mul ecx
shr edx, 5
push edx
push str._d:_02d
push 0x20
push 0x4b48e4
call fcn.00489aa0
push esi
mov dword [esi + 0x14], 0x4b48e4
call fcn.004043a0
mov eax, dword [0x4b48e0]
add esp, 0x18
test eax, eax
jne 0x431fa8
push esi
call fcn.00404480
mov eax, dword [0x4b4918]
push 2
push eax
call fcn.00402ad0
push eax
call fcn.00404840
add esp, 0x10
call ebp
mov esi, eax
call fcn.004551e0
call fcn.004051d0
mov al, byte [0x4ce53a]
test al, al
je 0x431ee4
mov eax, dword [0x4b4918]
test eax, eax
je 0x431fdf
push eax
call fcn.004055a0
add esp, 4
mov dword [0x4b4918], 0
call fcn.004051d0
mov byte [0x4b4914], 0
call ebp
pop esi
pop ebp
mov dword [0x4b4908], eax
pop ebx
ret
xor eax, eax
jmp 0x431e9b
Function at 0x434920
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xbd
push str.C:war2bneLANGSourceNEWCMPGN.cpp
push fcn.00462fa0
push fcn.00462d30
push str.rez_newcmpgn.bin
call fcn.00404cd0
push 0x434a00
push 3
push eax
call fcn.00405720
lea ecx, [eax - 1]
add esp, 0x20
xor dl, dl
cmp ecx, 3
ja case.default.0x434958
jmp dword [ecx*4 + 0x4349e8]
mov byte [0x4abb2c], 1
mov word [0x4abd52], 0x52c9
cmp eax, 0xfffffffd
je 0x4349e6
push 1
mov byte [0x4acbde], dl
call fcn.00420490
add esp, 4
jmp fcn.00441250
mov byte [0x4abb2c], dl
mov word [0x4abd52], 0x52c8
jmp case.default.0x434958
push 0xf
mov byte [0x4abb2c], 1
mov word [0x4abd52], 0x53c7
mov byte [0x4acbde], 0
call fcn.00420490
add esp, 4
jmp fcn.00441250
xor dl, dl
push 0xf
mov byte [0x4abb2c], dl
mov word [0x4abd52], 0x53c6
mov byte [0x4acbde], dl
call fcn.00420490
add esp, 4
jmp fcn.00441250
ret
Function at 0x440d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov al, byte [0x4bdb38]
sub esp, 8
test al, al
je 0x440e6c
mov edx, dword [0x4bdb28]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push edx
call sub.Storm.dll_Ordinal_258
mov eax, dword [0x4bdb34]
test eax, eax
jne 0x440dbb
mov eax, dword [0x4a1848]
cmp byte [eax*8 + 0x4a1899], 1
je 0x440dbb
mov eax, dword [esp]
cmp eax, 0x96640
jbe 0x440dbb
mov ecx, dword [esp + 4]
add eax, 0xfff699c0
cmp ecx, eax
jbe 0x440dbb
mov eax, dword [0x4bdb28]
mov dword [0x4bdb34], 1
test eax, eax
je 0x440dbb
mov al, byte [0x4bdb38]
test al, al
je 0x440dbb
mov eax, dword [0x4d6af4]
test eax, eax
je 0x440dbb
mov edx, dword [0x4ce7b8]
mov ecx, dword [0x4bdb2c]
push 3
push edx
mov dword [0x4bdb30], ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x4ce7b8]
push 0x4410c0
push 0x14
push 3
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp]
mov eax, dword [esp + 4]
cmp eax, ecx
jb 0x440e6c
mov edx, dword [0x4bdb28]
push 0
push 0xffffd8f0
push edx
call sub.Storm.dll_Ordinal_261
mov eax, dword [0x4bdb28]
mov dword [0x4bdb34], 0
push eax
call sub.Storm.dll_Ordinal_257
mov ecx, dword [0x4a1848]
cmp byte [ecx*8 + 0x4a1899], 2
jne 0x440e6c
mov eax, dword [0x4bdb3c]
test eax, eax
jne 0x440e24
call sub.KERNEL32.dll_GetTickCount
mov dword [0x4bb908], eax
mov dword [0x4bdb3c], 1
add esp, 8
ret
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [0x4bb908]
cmp eax, 0x7d0
jb 0x440e6c
mov edx, dword [0x4bdb2c]
mov eax, dword [0x4bdb28]
push 0
push edx
push eax
mov dword [0x4bdb3c], 0
call sub.Storm.dll_Ordinal_261
mov edx, dword [0x4a1848]
xor ecx, ecx
mov cl, byte [edx*8 + 0x4a189b]
push ecx
call fcn.00440ea0
add esp, 4
add esp, 8
ret
Function at 0x4600f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov dword [0x4ce7bc], esi
call fcn.00488a80
push str.Warcraft_II
push str.War2Class
push esi
call fcn.0045e760
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 0xc
rep stosd dword es:[edi], eax
mov eax, dword [0x4ce7bc]
push 0x65
push eax
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0x45efd0
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 5
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x34], str.War2Class
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x46018e
push str.RegisterClass
call fcn.00488ae0
add esp, 4
mov ecx, dword [0x4ce7bc]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push ecx
push 0
push 0
push 1
call esi
push eax
push 0
call esi
push eax
push 0
push 0
push 0x90080000
push str.Warcraft_II
push str.War2Class
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x4ce7b8], eax
jne 0x4601e1
push str.CreateWindowEx
call fcn.00488ae0
mov eax, dword [0x4ce7b8]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x4ce7b8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov dword [esp + 0x3c], eax
mov eax, dword [0x4ce798]
test eax, eax
je 0x46023a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [0x4ce7b8], eax
je 0x4602d7
call fcn.00462c70
push 1
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call esi
test eax, eax
je 0x4602c2
mov ecx, dword [0x4ab950]
test ecx, ecx
je 0x4602a1
mov eax, dword [0x4ce7b8]
test eax, eax
je 0x4602a1
lea edx, [esp + 0x10]
push edx
push ecx
push eax
call edi
test eax, eax
je 0x4602a1
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4ce7b8]
cmp eax, ecx
jne 0x4602af
mov eax, dword [esp + 0x14]
cmp eax, 0x100
je 0x460292
cmp eax, 0x104
jne 0x4602af
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048a870
add esp, 4
jmp 0x4602af
lea edx, [esp + 0x10]
push edx
call ebx
lea eax, [esp + 0x10]
push eax
call ebp
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call esi
test eax, eax
jne 0x460252
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x3c]
cmp eax, 0x7d0
jbe 0x46021f
call fcn.0042a240
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0x10
Function at 0x466ca0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x146
push esi
mov dword [esp + 0x1c], 0xb
mov dword [esp + 0x20], 0x12
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], 0xd
mov dword [esp + 0x2c], 0xe
call edi
cmp eax, 1
jne 0x466cf6
mov eax, dword [esp + 0x34]
test eax, eax
jge 0x466e1f
jmp 0x466d06
cmp eax, 4
jne 0x466d06
cmp dword [esp + 0x34], 0xffffffff
je 0x466e1f
push ebx
push ebp
push 0x2c4
push str.C:war2bneBattle.netgluBNCreate.cpp
push fcn.00462d30
push str.rezchatroom.tbl
call fcn.00409930
add esp, 0x10
mov dword [esp + 0x10], eax
push 0
push 0
push 0xb
push esi
call edi
push 0
push 0
push 0x14b
push esi
call edi
lea eax, [esp + 0x14]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x466d56
cmp eax, ebx
jne 0x466d81
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov dx, word [ecx]
push edx
push eax
call fcn.00409950
add esp, 8
push eax
push 0
push 0x143
push esi
call edi
push ebx
push ebp
push 0x151
push esi
call edi
inc ebp
mov ecx, dword [esp + 0x38]
inc ebx
add ecx, 4
cmp ebx, 5
mov dword [esp + 0x38], ecx
jb 0x466d49
push 0
push 0
push 0x14e
push esi
call edi
mov edx, dword [str.Resources]
lea ecx, [esp + 0x14]
push 0x20
push ecx
push 0
push edx
push 0x49dc0c
call sub.Storm.dll_Ordinal_422
mov al, byte [esp + 0x14]
pop ebp
test al, al
pop ebx
je 0x466dd1
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push 0x14d
push esi
call edi
push esi
push 0x105dd
push 0x111
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push 0
push 1
push 0xb
push esi
call edi
push 0
push 0
push 0x150
push esi
call edi
mov edx, dword [esp + 8]
mov ecx, dword [eax*4 + 0x4a5f04]
push 0x2da
push str.C:war2bneBattle.netgluBNCreate.cpp
push edx
mov dword [0x4d0ac8], ecx
call fcn.00462f80
add esp, 0xc
pop edi
pop esi
add esp, 0x24
ret

Function at 0x467900
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push esi
call edi
cmp eax, 0xffffffff
je 0x467942
lea eax, [esp + 8]
push eax
push 0x20
push 0xd
push esi
call edi
mov edx, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
push 0
push edx
push 0x49dc0c
call sub.Storm.dll_Ordinal_425
pop edi
pop esi
add esp, 0x20
ret
Function at 0x489040
Capabilities:
Check for time delay via gettickcount
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor eax, eax
mov ecx, 0x100
mov edi, 0x4d54a8
push 0x100
push eax
push 0x4d54a8
rep stosd dword es:[edi], eax
mov byte [0x4aa388], 0
call fcn.0048a720
push 0x1df
push 0x27f
push 0
push 0
call fcn.00486260
call fcn.004051d0
mov ecx, 0x100
xor eax, eax
mov edi, 0x4d58a8
push 1
rep stosd dword es:[edi], eax
call fcn.00409d50
add esp, 0x20
mov dword [esp + 0x10], 0
call sub.KERNEL32.dll_GetTickCount
movsx esi, word [esp + 0x10]
movsx edi, word [esp + 0x18]
mov ebp, eax
xor ecx, ecx
mov bl, byte [ecx + 0x4d58a8]
xor edx, edx
mov dl, byte [ecx + 0x4d60ac]
mov eax, ebx
and eax, 0xff
sub edx, eax
mov eax, esi
imul eax, edx
cdq
idiv edi
add al, bl
mov byte [ecx + 0x4d54a8], al
inc ecx
cmp ecx, 0x400
jb 0x4890b5
push 0x100
push 0
push 0x4d54a8
call fcn.0048a720
add esp, 0xc
call sub.KERNEL32.dll_GetTickCount
mov ecx, eax
sub ecx, ebp
cmp ecx, 0x10
jae 0x48911c
mov edx, ebp
sub edx, eax
add edx, 0x10
push edx
call fcn.004604f0
add esp, 4
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
sub eax, ebp
cmp ecx, edx
jae 0x48913a
lea esi, [eax + ecx]
cmp esi, edx
jbe 0x48913a
mov dword [esp + 0x10], edx
jmp 0x4890a2
add ecx, eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jbe 0x4890a2
push 1
call fcn.00409d50
add esp, 4
cmp word [0x4d6530], 0
pop edi
pop esi
pop ebp
pop ebx
je 0x489173
push 0
call fcn.00489870
add esp, 4
mov word [0x4d6530], 0
pop ecx
ret

Function at 0x489180
Capabilities:
Check for time delay via gettickcount
Encrypt data using rc4 ksa

Disassembly:
push ecx
cmp word [0x4d6530], 0
mov byte [0x4aa388], 1
jne 0x4891a5
push 1
call fcn.00489870
add esp, 4
mov word [0x4d6530], 1
push ebx
push ebp
push esi
push edi
mov ecx, 0x100
xor eax, eax
mov edi, 0x4d60ac
mov esi, 0x4d54a8
rep stosd dword es:[edi], eax
mov ecx, 0x100
mov edi, 0x4d58a8
rep movsd dword es:[edi], dword [esi]
push 1
call fcn.00409d50
add esp, 4
mov dword [esp + 0x10], 0
call sub.KERNEL32.dll_GetTickCount
movsx esi, word [esp + 0x10]
movsx edi, word [esp + 0x18]
mov ebp, eax
xor ecx, ecx
mov bl, byte [ecx + 0x4d58a8]
xor edx, edx
mov dl, byte [ecx + 0x4d60ac]
mov eax, ebx
and eax, 0xff
sub edx, eax
mov eax, esi
imul eax, edx
cdq
idiv edi
add al, bl
mov byte [ecx + 0x4d54a8], al
inc ecx
cmp ecx, 0x400
jb 0x4891ed
push 0x100
push 0
push 0x4d54a8
call fcn.0048a720
add esp, 0xc
call sub.KERNEL32.dll_GetTickCount
mov ecx, eax
sub ecx, ebp
cmp ecx, 0x10
jae 0x489254
mov edx, ebp
sub edx, eax
add edx, 0x10
push edx
call fcn.004604f0
add esp, 4
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
sub eax, ebp
cmp ecx, edx
jae 0x489272
lea esi, [eax + ecx]
cmp esi, edx
jbe 0x489272
mov dword [esp + 0x10], edx
jmp 0x4891da
add ecx, eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jbe 0x4891da
push 1
call fcn.00409d50
call fcn.004051d0
push 0x100
push 0
push 0x4d5ca8
call fcn.0048a720
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x48b4e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.0047ff4c
nop
nop
nop
nop
nop
nop
Function at 0x48c0a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x11c]
test edi, edi
jne 0x48c0c2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
mov al, byte [edi]
mov esi, edi
test al, al
je 0x48c160
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError_1]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov al, byte [esi]
test al, al
je 0x48c0ec
cmp al, 0x5c
je 0x48c0ec
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48c0e0
mov eax, esi
sub eax, edi
add eax, 2
cmp eax, 0x105
jb 0x48c0ff
mov eax, 0x105
push eax
lea eax, [esp + 0x14]
push edi
push eax
call sub.Storm.dll_Ordinal_501
cmp eax, 0x104
jae 0x48c0b5
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x48c12a
cmp byte [esi], 0
je 0x48c160
jmp 0x48c154
call ebx
cmp eax, 0xb7
je 0x48c13c
cmp eax, 5
jne 0x48c0b5
lea edx, [esp + 0x10]
push edx
call ebp
cmp eax, 0xffffffff
je 0x48c0b5
test al, 0x10
je 0x48c0b5
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48c0da
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret

Function at 0x48cc60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, dword [ecx]
mov edx, esi
dec esi
test edx, edx
je 0x48cc9a
mov edx, dword [esp + 8]
xor ecx, ecx
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ab0f0]
xor ecx, eax
mov eax, ecx
mov ecx, esi
dec esi
test ecx, ecx
jne 0x48cc78
pop esi
ret

Function at 0x4d96e0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004da450
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4dc154
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004da450
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]