joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x42b11b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x42b21e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x44c83c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44c83c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44c83c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44c83c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44c83c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44c83c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44c83c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x44c83c]
xor eax, edx
inc ecx
dec edi
jne 0x42b136
pop edi
test esi, esi
je 0x42b240
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x44c83c]
xor eax, edx
inc ecx
dec esi
jne 0x42b222
pop esi
pop ebx
not eax
ret

Function at 0x42b250
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x44c83c]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x44c83c]
xor eax, edx
mov dword [ecx + 8], eax
ret
Function at 0x42bc70
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x42bcb1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42bca6
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x42bcc4
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x1c], ecx
pop ebp
pop ebx
ret
Function at 0x42c7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp edi, ebx
jne 0x42c7fe
pop edi
pop esi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
jne 0x42c810
pop edi
pop esi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x7c], ebx
je 0x42c81e
push edi
call fcn.0042cc50
add esp, 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push edi
call fcn.0042c5e0
add esp, 0x10
test eax, eax
je 0x42c847
pop edi
pop esi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
mov ebp, dword [sym.imp.MSVCRT.dll_malloc]
push 0x84
call ebp
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x42c86a
pop edi
pop esi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
push 0x4000
call ebp
mov dword [esi], eax
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x42c8a2
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
sete al
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
cmp eax, ebx
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
jne 0x42c8f0
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
push eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0042b500
add esp, 4
test eax, eax
jne 0x42c8f0
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x42c91d
mov edx, dword [edi + 0x38]
shr edx, 8
mov byte [esi + 0x80], dl
jmp 0x42c929
mov eax, dword [edi + 0x3c]
shr eax, 0x18
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
mov ebp, dword [esp + 0x20]
neg cl
sbb ecx, ecx
lea ebx, [esi + 0x70]
and ecx, 0xc
mov dword [esi + 0x74], 0x23456789
test ebp, ebp
mov dword [esi + 0x7c], ecx
mov dword [ebx], 0x12345678
mov dword [esi + 0x78], 0x34567890
je 0x42c969
mov al, byte [ebp]
test al, al
je 0x42c969
push eax
push ebx
call fcn.0042b250
add esp, 8
inc ebp
jne 0x42c955
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 0
lea ecx, [edx + eax + 0x1e]
xor eax, eax
mov dword [esi + 0x3c], ecx
mov dword [edi + 0x7c], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x42cda0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x42ce82
cmp dword [ebp + 4], 0xffffffff
jne 0x42ce82
push ebx
lea ebx, [ebp + 0x140]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov cl, byte [ecx + ebp + 0x13f]
cmp cl, 0x5c
je 0x42ce12
cmp cl, 0x2f
je 0x42ce12
mov edi, 0x453ce0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp edi, 1
pop ebx
jne 0x42ce3e
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42ce3e
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push edi
push ecx
push esi
call fcn.0042ba20
add esp, 0x10
test eax, eax
jne 0x42ce61
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.0042bf40
add esp, 4
mov dword [ebp], eax
neg eax
sbb eax, eax
pop edi
and eax, 0xfffffe00
pop esi
add eax, 0x200
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc
Function at 0x42d3e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
test ebx, ebx
push ebp
je 0x42d408
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42d408
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, dword [esp + 0x218]
mov cl, byte [ebp]
test cl, cl
je 0x42d4e2
mov eax, ebp
mov edx, ebp
cmp cl, 0x2f
je 0x42d428
cmp cl, 0x5c
jne 0x42d42a
mov eax, edx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x42d41e
push esi
cmp eax, ebp
push edi
je 0x42d46c
sub eax, ebp
mov esi, ebp
mov ecx, eax
lea edi, [esp + 0x114]
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]
mov byte [esp + eax + 0x114], 0
lea eax, [esp + 0x114]
push eax
push ebx
call fcn.0042d3e0
add esp, 8
test ebx, ebx
mov byte [esp + 0x10], 0
je 0x42d498
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop edi
cmp eax, 0xffffffff
pop esi
jne 0x42d4e2
lea ecx, [esp + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x42de60
Capabilities:
Parse url

Disassembly:
sub esp, 0x948
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea esi, [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.00442c60
test eax, eax
jl 0x42e040
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x159]
mov byte [esp + 0x158], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x95c]
push edx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x15c]
push 0x10000000
push edi
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0x800
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x42df27
mov ecx, esi
call fcn.00443000
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x948
ret 0xc
mov al, byte [esp + 0x158]
test al, al
jne 0x42df42
mov byte [esp + 0x158], 0x2f
mov byte [esp + 0x159], 0
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.00442da0
mov edi, eax
test edi, edi
jl 0x42e037
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x34]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00442e10
test eax, eax
jl 0x42e018
mov eax, dword [esp + 0x964]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x168]
push 0
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, ebp
call fcn.0042e4e0
test eax, eax
jl 0x42e018
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
push 0
call fcn.0042e760
mov edi, eax
cmp edi, 1
je 0x42e01c
xor ebx, ebx
test edi, edi
jge 0x42dfc2
cmp edi, 0x80092002
jne 0x42e037
mov ebx, 1
mov ecx, dword [esp + 0x960]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42e02e
push ebx
push edi
push esi
mov ecx, ebp
call fcn.0042e050
xor edx, edx
test eax, eax
setge dl
dec edx
and edx, eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push esi
mov edi, edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42e033
mov edi, eax
jmp 0x42e037
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x948
ret 0xc
mov edi, 0x800401ea
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.00443000
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x948
ret 0xc
Function at 0x42e050
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0x140c
call fcn.0041b540
mov ebx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x80004005
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x42e095
mov ecx, ebp
call fcn.0042e1d0
mov ebx, eax
test ebx, ebx
je 0x42e19d
jl 0x42e1a7
xor edi, edi
mov dword [esp + 0x1c], ebx
test ebx, ebx
mov dword [esp + 0x28], edi
jle 0x42e141
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x42e0be
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
call dword [ecx + 4]
cmp ebx, 0x400
mov esi, 0x400
jg 0x42e0cd
mov esi, ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
push eax
push esi
lea edx, [edi + ecx]
lea ecx, [ebp + 0xc]
push edx
call fcn.004431c0
test eax, eax
jl 0x42e1ad
cmp eax, esi
jne 0x42e135
mov edx, dword [esp + 0x28]
add edi, esi
add edx, esi
cmp edi, 0x1400
mov dword [esp + 0x28], edx
jge 0x42e106
cmp ebx, esi
jne 0x42e133
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 0
push eax
push edi
mov edi, dword [esp + 0x30]
push ecx
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42e193
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
xor edi, edi
sub ebx, esi
test ebx, ebx
jg 0x42e0a7
mov esi, dword [esp + 0x2c]
jne 0x42e1b1
xor edi, edi
cmp esi, edi
je 0x42e16f
mov edx, dword [ebp + 8]
lea eax, [esp + 0x18]
push edx
push 2
push eax
lea ecx, [ebp + 0xc]
mov dword [esp + 0x24], edi
call fcn.004431c0
cmp eax, edi
jg 0x42e173
cmp word [esp + 0x18], 0xd0a
jne 0x42e1ad
jmp 0x42e173
mov dword [esp + 0x10], edi
mov eax, dword [ebp + 0x20]
cmp eax, edi
je 0x42e18a
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
call dword [ecx + 4]
cmp esi, edi
je 0x42e1b1
jmp 0x42e076
mov dword [esp + 0x10], 0x800401ea
jmp 0x42e1b1
mov dword [esp + 0x10], 0
jmp 0x42e1b1
mov dword [esp + 0x10], ebx
jmp 0x42e1b1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x42e1c6
push eax
call fcn.0041da60
add esp, 4
mov eax, dword [esp]
add esp, 0x10
ret 0xc
Function at 0x42e2b0
Capabilities:
Parse url

Disassembly:
mov eax, 0x1148
call fcn.00441e20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ebx, [ebp + 0xc]
mov ecx, ebx
call fcn.00442c60
test eax, eax
jl 0x42e4c8
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x159]
mov byte [esp + 0x158], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x959]
mov byte [esp + 0x958], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, dword [esp + 0x115c]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x14]
mov edx, 0x800
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x44], edx
lea edx, [esp + 0x14]
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x95c]
push 0x10000000
push esi
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x4c], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x42e397
mov ecx, ebx
call fcn.00443000
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x1148
ret 0x1c
lea eax, [esp + 0x10]
push 0x4000000
lea ecx, [esp + 0x15c]
push eax
lea edx, [esp + 0x960]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_UrlEscapeA]
mov al, byte [esp + 0x158]
test al, al
jne 0x42e3d2
mov byte [esp + 0x158], 0x2f
mov byte [esp + 0x159], 0
lea eax, [esp + 0x58]
mov ecx, ebx
push eax
call fcn.00442da0
mov esi, eax
test esi, esi
jl 0x42e4bf
mov esi, dword [esp + 0x1168]
test esi, esi
je 0x42e405
mov eax, dword [esp + 0x116c]
test eax, eax
je 0x42e405
mov edi, 1
jmp 0x42e407
xor edi, edi
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
push 0
push ecx
push edx
mov ecx, ebx
call fcn.00442e10
test eax, eax
jl 0x42e4b5
mov eax, dword [esp + 0x1174]
mov ecx, dword [esp + 0x1170]
mov edx, dword [esp + 0x1164]
push eax
mov eax, dword [esp + 0x1164]
push 0
push ecx
push edx
lea ecx, [esp + 0x168]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, ebp
call fcn.0042e4e0
test eax, eax
jl 0x42e4b5
test edi, edi
je 0x42e4b9
lea eax, [esp + 0x50]
mov ecx, ebp
push eax
push 0
call fcn.0042e760
mov edi, eax
test edi, edi
jl 0x42e4bd
mov ecx, dword [esp + 0x116c]
mov eax, dword [ecx]
cmp edi, eax
jbe 0x42e482
mov edi, eax
test edi, edi
je 0x42e4a8
mov edx, dword [ebp + 8]
mov ecx, ebx
push edx
push edi
push esi
call fcn.004431c0
mov esi, eax
sub esi, edi
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [esp + 0x116c]
mov dword [eax], edi
jmp 0x42e4bf
mov eax, dword [esp + 0x116c]
xor esi, esi
mov dword [eax], edi
jmp 0x42e4bf
mov esi, eax
jmp 0x42e4bf
xor esi, esi
jmp 0x42e4bf
mov esi, edi
mov ecx, ebx
call fcn.00443000
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1148
ret 0x1c
Function at 0x42e970
Capabilities:
Parse url

Disassembly:
sub esp, 0xa88
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea esi, [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.00442c60
xor ebx, ebx
cmp eax, ebx
jl 0x42eb85
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x299]
mov byte [esp + 0x298], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xa9c]
push edx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x29c]
push 0x10000000
push edi
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0x800
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x42ea37
mov ecx, esi
call fcn.00443000
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0xa88
ret 8
mov al, byte [esp + 0x298]
test al, al
jne 0x42ea52
mov byte [esp + 0x298], 0x2f
mov byte [esp + 0x299], 0
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.00442da0
mov edi, eax
cmp edi, ebx
jl 0x42eb7c
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x34]
push ebx
push ecx
push edx
mov ecx, esi
call fcn.00442e10
cmp eax, ebx
jl 0x42eb6b
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x15c]
mov dword [esp + 0x158], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xaa0]
lea eax, [esp + 0x158]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x42eabc
mov dword [esp + 0x178], ebx
jmp 0x42eac3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x178]
lea eax, [esp + 0x298]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, ebp
call fcn.0042e6d0
cmp eax, ebx
jl 0x42eb6b
mov eax, dword [esp + 0x178]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.0042e760
mov edi, eax
test edi, edi
jge 0x42eb10
cmp edi, 0x80092002
jne 0x42eb7c
mov ebx, 1
jmp 0x42eb12
je 0x42eb6f
mov ecx, dword [esp + 0xaa0]
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42eb73
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push edi
push esi
mov ecx, ebp
call fcn.0042e050
lea edx, [esp + 0x14]
mov edi, eax
push edx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42eb78
mov edi, eax
jmp 0x42eb7c
xor edi, edi
jmp 0x42eb7c
mov edi, 0x800401ea
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.00443000
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa88
ret 8
Function at 0x42f0a0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x42f0da
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42f0d5
call fcn.0042f270
test eax, eax
je 0x42f0cc
pop edi
mov eax, 1
pop esi
add esp, 8
ret 4
mov ecx, esi
call fcn.0042f190
jmp 0x42f0da
call fcn.0042f1c0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0xc], eax
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x42f060
push 0
push 0
mov dword [esp + 0x20], esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x42f13f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42f12f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
pop edi
mov eax, 1
pop esi
add esp, 8
ret 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x430220
Capabilities:
Get common file path

Disassembly:
push esi
push 0x469028
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x469028
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.Storm_
push 0x469028
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
push 0x469028
push str._smd_
push 0x104
push 0x46912c
call esi
push 0x46912c
call fcn.00427dd0
add esp, 0x14
push 0x46912c
push str._sTemp_
push 0x104
push 0x469438
call esi
push 0x469438
call fcn.00427dd0
add esp, 0x14
push 0x46912c
push str._smat_
push 0x104
push 0x469230
call esi
push 0x469230
call fcn.00427dd0
add esp, 0x14
push 0x46912c
push str._stt_
push 0x104
push 0x46953c
call esi
push 0x46953c
call fcn.00427dd0
add esp, 0x14
push 0x46912c
push str._sTempp2p_
push 0x104
push 0x469744
call esi
push 0x469744
call fcn.00427dd0
add esp, 0x14
push 0x46912c
push str._sConfig.ini
push 0x104
push 0x469334
call esi
add esp, 0x10
push 0x46912c
push str._sexmat.ini
push 0x104
push 0x469640
call esi
add esp, 0x10
pop esi
ret