joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468be0
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 0x468c09
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 0x468c8a
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 0x468c82
test ebx, ebx
je 0x468c7e
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 0x468dc0
mov eax, dword [esp + 0x20]
push eax
call sub.Storm.dll_Ordinal_253
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x468d79
lea edx, [esp + 0x128]
mov ebp, str.Install.exe
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x468d77
cmp eax, 0x104
ja 0x468d77
cmp byte [str.Install.exe], 0x5c
jne 0x468cc6
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x5c
je 0x468cbe
mov al, byte [esp + 0x128]
lea edi, [esp + 0x128]
test al, al
je 0x468d77
mov al, byte [edi]
mov esi, edi
inc edi
test al, al
je 0x468cec
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x468ce5
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x468d6e
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 0x468d6a
test ebx, ebx
je 0x468d66
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 0x468d58
mov edx, dword [esp + 0x18]
push edx
call sub.Storm.dll_Ordinal_253
jmp 0x468d66
mov eax, dword [esp + 0x14]
push eax
call sub.Storm.dll_Ordinal_252
xor eax, eax
jmp 0x468d6a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x468d79
cmp byte [edi], 0
jne 0x468cdc
xor eax, eax
test eax, eax
mov dword [0x655ecc], eax
jne 0x468da3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x468db3
call fcn.004de590
test eax, eax
jne 0x468c09
xor cl, cl
call fcn.004dea50
jmp 0x468c09
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 0x468c82
Function at 0x4694e0
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 0x46950a
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 0x4695c1
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 0x4695af
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
push 0x4fac0c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4695af
mov esi, dword [esp + 8]
mov edx, 0x20
mov ecx, dword [esi + 0x14]
mov eax, ecx
and eax, 0xffff
je 0x46957a
lea edx, [eax + 0x40]
mov eax, dword [esi + 0x10]
push 0xc5
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.004dba60
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 0x471c10
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 0x471c2e
cmp edi, dword [0x65a6d8]
je 0x471c74
cmp eax, ebx
mov dword [0x65a6d8], edi
je 0x471c55
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 0x471d92
mov ecx, dword [edi*8 + 0x4fc478]
push 0x65a6d4
push ecx
call sub.Storm.dll_Ordinal_267
mov eax, dword [0x65a6d4]
cmp eax, ebx
je 0x471d92
lea edx, [esp + 0xc]
mov esi, eax
push edx
push eax
call sub.Storm.dll_Ordinal_264
test eax, eax
je 0x471ce2
mov eax, dword [esp + 0xc]
push 0x104
cmp eax, ebx
je 0x471cab
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.Storm.dll_Ordinal_275
test eax, eax
jne 0x471cba
jmp 0x471ce2
lea edx, [esp + 0x14]
push edx
push esi
call sub.Storm.dll_Ordinal_276
test eax, eax
je 0x471ce2
lea eax, [esp + 0x10]
push 0x5c
push eax
call sub.Storm.dll_Ordinal_571
cmp eax, ebx
je 0x471ccd
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 0x471d14
cmp word [0x645f6c], 3
jne 0x471d92
mov ecx, 0x8c
call fcn.00440c20
mov ecx, eax
mov edx, 8
call fcn.0046dc60
pop edi
pop esi
pop ebx
add esp, 0x108
ret
mov eax, dword [0x6be884]
mov byte [0x65a6e8], bl
cmp eax, ebx
je 0x471d92
mov cl, byte [edi*8 + 0x4fc47c]
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 0x471d8b
mov eax, dword [0x65a6d4]
cmp eax, ebx
je 0x471d7b
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 0x471f70
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x65a6d4]
test eax, eax
je 0x472056
mov cl, byte [0x65a6e4]
push edi
push esi
push ebp
test cl, cl
je 0x47202c
mov al, byte [0x65a6e8]
mov byte [0x65a6e4], 0
test al, al
jne 0x471fa5
mov eax, dword [0x65a6dc]
jmp 0x471fc2
mov ecx, dword [0x65a6dc]
mov dword [0x65a6e0], 0xffffd8f0
lea eax, [ecx - 0x2ee]
cmp eax, 0xffffd8f0
jl 0x471fc7
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 0x471fd6
mov ecx, dword [0x4eea78]
lea edi, [eax + 0x14]
mov eax, dword [0x65a6e0]
sub eax, esi
cmp eax, ecx
mov dword [0x65a6e0], eax
jl 0x47200a
push 0
push eax
mov eax, dword [0x65a6d4]
add esi, 5
push eax
call sub.Storm.dll_Ordinal_261
jmp 0x471fd6
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 0x47204c
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 0x4759a0
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 0x4759f2
call esi
cmp bl, byte [0x65a7bc]
jne 0x4759e3
mov edi, dword [0x65a7c0]
mov ecx, eax
sub ecx, edi
cmp ecx, 0x1f4
jae 0x4759e3
mov cl, bl
call fcn.00466e80
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 0x475a07
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.00478f50
cmp byte [esp + 0xf], 1
jne 0x475a5b
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 0x47da20
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ecx, 8
xor eax, eax
mov edi, 0x65c888
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x430
mov edi, 0x65b7b8
rep stosd dword es:[edi], eax
mov byte [0x65b7b4], bl
mov byte [0x65c878], bl
mov byte [0x65c87c], bl
mov byte [0x65c880], bl
mov byte [0x65b7b0], bl
call fcn.0046f260
mov al, byte [0x65aa4c]
mov dword [0x65b7ac], ebx
cmp al, bl
je 0x47daaa
mov eax, dword [0x65c87c]
and eax, 0xff
mov byte [eax + 0x65c888], 1
mov al, byte [0x65c87c]
inc al
mov byte [0x65c87c], al
mov ecx, dword [0x65c87c]
and ecx, 0xff
inc al
mov byte [0x65c87c], al
mov byte [ecx + 0x65c888], 2
mov al, byte [0x65b7b4]
inc al
cmp al, 0x10
mov byte [0x65b7b4], al
jb 0x47dac0
mov byte [0x65b7b4], bl
mov al, byte [0x65c878]
mov cl, byte [0x65c87c]
inc al
cmp al, cl
mov byte [0x65c878], al
jb 0x47dadc
mov byte [0x65c878], bl
mov edx, dword [0x65c878]
xor ecx, ecx
and edx, 0xff
mov al, byte [edx + 0x65c888]
mov byte [esp + 0x10], al
call fcn.0047bc70
mov ebp, eax
mov eax, dword [esp + 0x10]
and eax, 0xff
dec eax
je 0x47db8b
dec eax
je 0x47db1f
mov edi, dword [0x65b7b4]
and edi, 0xff
jmp 0x47dbb8
xor esi, esi
mov ecx, 0x508774
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, 0x508748
jne 0x47db26
call fcn.0047bca0
mov ecx, esi
lea edx, [esi*8]
shr ecx, 0x1d
or ecx, edx
mov esi, dword [0x508864]
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 0x47dbb8
xor edi, edi
call fcn.00421cb0
mov esi, eax
cmp esi, ebx
je 0x47dbb8
mov ecx, esi
call fcn.00424b00
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 0x47db98
cmp ebp, ebx
je 0x47dbc6
mov ecx, 1
call fcn.0047bc70
mov edx, dword [0x5087fc]
mov esi, dword [0x65b7ac]
and edx, 0xffff
mov ecx, esi
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 0x47dc11
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 0x47dbf7
xor ecx, ecx
inc esi
mov cx, word [0x5087fe]
mov dword [0x65b7ac], esi
cmp esi, ecx
jb 0x47dc2b
mov dword [0x65b7ac], ebx
mov ebp, dword [0x4fc740]
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 [0x65b7b4]
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 + 0x65b7b8]
mov dl, byte [esp + 0x10]
xor ecx, edi
mov word [eax], cx
mov byte [eax + 2], dl
mov cl, byte [0x65c880]
mov byte [eax + 4], cl
mov dl, byte [0x65b7b0]
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
Function at 0x47dcb0
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 0x47dda1
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 + 0x65b7bc]
shr al, cl
xor al, byte [esi + 6]
test al, 1
jne 0x47dda1
xor ecx, ecx
mov cl, byte [esi + 5]
mov ebp, ecx
lea edi, [ebp + 0xd]
cmp edi, 0x100
jb 0x47dd21
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 + 0x65b7c4]
ja 0x47dd53
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 0x47dd3e
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 0x47dda1
mov eax, ebx
shl eax, 5
add eax, ebx
lea ebx, [ebx + eax*2]
shl ebx, 2
mov dx, word [ebx + 0x65b7b8]
cmp dx, word [ecx + 2]
jne 0x47dda1
mov al, byte [esp + 0x13]
mov cl, byte [ebx + 0x65b7ba]
cmp cl, al
jne 0x47dda1
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
Function at 0x47ddb0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov al, byte [0x65b7b4]
push ebp
inc al
push esi
cmp al, 0x10
push edi
mov byte [0x65b7b4], al
jb 0x47ddcb
mov byte [0x65b7b4], 0
mov al, byte [0x65c878]
mov cl, byte [0x65c87c]
inc al
cmp al, cl
mov byte [0x65c878], al
jb 0x47dde8
mov byte [0x65c878], 0
mov eax, dword [0x65c878]
and eax, 0xff
mov cl, byte [eax + 0x65c888]
mov byte [esp + 0xc], cl
xor ecx, ecx
call fcn.0047bc70
mov ebp, eax
mov eax, dword [esp + 0xc]
and eax, 0xff
dec eax
je 0x47de97
dec eax
je 0x47de29
mov esi, dword [0x65b7b4]
and esi, 0xff
jmp 0x47dec2
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 0x47de30
call fcn.0047bca0
lea ecx, [esi*8]
shr esi, 0x1d
or ecx, esi
mov esi, dword [0x508864]
xor eax, ecx
mov ecx, eax
shr ecx, 0x1d
lea edx, [eax*8]
or ecx, edx
xor ecx, esi
mov esi, ecx
shr esi, 0x1d
lea eax, [ecx*8]
or esi, eax
jmp 0x47dec2
xor edi, edi
call fcn.00421cb0
mov esi, eax
test esi, esi
je 0x47dec0
mov ecx, esi
call fcn.00424b00
mov esi, dword [esi + 4]
xor eax, edi
lea edi, [eax*8]
shr eax, 0x1d
or edi, eax
test esi, esi
jne 0x47dea4
mov esi, edi
test ebp, ebp
je 0x47ded0
mov ecx, 1
call fcn.0047bc70
mov edx, dword [0x5087fc]
mov edi, dword [0x65b7ac]
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 0x47df1b
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 0x47df01
xor ecx, ecx
inc edi
mov cx, word [0x5087fe]
mov dword [0x65b7ac], edi
cmp edi, ecx
jb 0x47df39
mov dword [0x65b7ac], 0
mov edx, dword [0x4fc740]
mov ebp, dword [0x65a800]
mov ecx, 8
sub ecx, edx
mov edx, dword [0x65a804]
xor edx, ebp
shl edx, cl
xor edx, eax
mov eax, dword [0x65b7b4]
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 + 0x65b7b8]
mov dl, byte [esp + 0xc]
xor ecx, esi
mov word [eax], cx
mov byte [eax + 2], dl
mov cl, byte [0x65c880]
mov byte [eax + 4], cl
mov dl, byte [0x65b7b0]
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 ecx
ret
Function at 0x4a5310
Capabilities:
Hash data using sha1

Disassembly:
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
xor ecx, ecx
lea eax, [eax*4 + 0x691888]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x4ca000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov ebx, edx
xor ebp, ebp
xor eax, eax
test edi, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], eax
je 0x4ca033
mov dword [esp + 0x10], 1
mov dword [ebx], edi
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx]
test esi, esi
je 0x4ca1a7
lea eax, [ebx + ebp*4]
mov dword [esp + 0x14], eax
jmp 0x4ca04a
mov ebx, dword [esp + 0x20]
cmp esi, edi
je case.0x4ca0c7.14
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4ca087
xor ecx, ecx
mov cx, word [esi + 0x64]
test byte [ecx*4 + 0x6baaa0], 0x10
je 0x4ca06b
mov esi, eax
test ebp, ebp
lea eax, [ebp - 1]
je 0x4ca087
lea ecx, [ebx + eax*4]
cmp dword [ecx], esi
je case.0x4ca0c7.14
mov edx, eax
dec eax
sub ecx, 4
test edx, edx
jne 0x4ca075
mov ecx, dword [esi + 0xc]
mov eax, dword [0x65a800]
test byte [ecx + 0xc], al
je case.0x4ca0c7.14
mov ecx, dword [esi + 0xdc]
test ch, 3
je 0x4ca0af
test dword [esi + 0xe4], eax
je case.0x4ca0c7.14
xor eax, eax
mov ax, word [esi + 0x64]
add eax, 0xfffffff2
cmp eax, 0xc2
ja case.0x4ca0c7.19
xor edx, edx
mov dl, byte [eax + 0x4ca20c]
jmp dword [edx*4 + 0x4ca1f4]
mov ecx, esi
call fcn.00425760
test eax, eax
je 0x4ca1eb
mov eax, dword [0x665b78]
test eax, eax
jne 0x4ca1eb
mov al, byte [esi + 0x4c]
mov edx, dword [0x4fc740]
mov ecx, eax
and ecx, 0xff
cmp ecx, edx
jne 0x4ca1eb
test edi, edi
je 0x4ca13e
cmp byte [edi + 0x4c], al
jne case.0x4ca0c7.14
mov dx, word [edi + 0x64]
cmp dx, word [esi + 0x64]
jne case.0x4ca0c7.14
mov ecx, dword [esi + 0xdc]
mov eax, dword [edi + 0xdc]
xor eax, ecx
test al, 0x10
jne case.0x4ca0c7.14
test ch, 8
je 0x4ca132
test cl, 0x10
je 0x4ca137
test ah, 1
jne case.0x4ca0c7.14
test eax, 0x40000000
jne case.0x4ca0c7.14
cmp ebp, 0xc
jl 0x4ca1d7
mov ecx, dword [esi + 0xc]
mov edi, ebx
call fcn.00412a40
mov ebx, eax
mov eax, dword [esp + 0x10]
dec ebp
test eax, eax
je 0x4ca182
mov eax, dword [edi]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
je 0x4ca178
mov ecx, dword [eax + 0xc]
call fcn.00412a40
cmp ebx, eax
ja 0x4ca1d3
cmp esi, dword [esp + 0x28]
je 0x4ca1d3
add edi, 4
mov eax, ebp
dec ebp
test eax, eax
jne 0x4ca15c
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
mov esi, dword [eax]
test esi, esi
jne 0x4ca046
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test ebp, ebp
jne 0x4ca1c7
test eax, eax
jne 0x4ca1b3
test edi, edi
je 0x4ca1c7
test edi, edi
je 0x4ca1b9
mov eax, edi
mov dword [esp + 0x10], 1
mov dword [ebx], eax
mov ebp, dword [esp + 0x10]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
mov dword [edi], esi
jmp 0x4ca182
mov eax, dword [esp + 0x14]
inc ebp
mov dword [esp + 0x10], ebp
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x14], eax
jmp case.0x4ca0c7.14
mov dword [esp + 0x1c], esi
jmp case.0x4ca0c7.14
Function at 0x4cf3c0
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 0x74
push 1
xor edi, edi
call fcn.004d2e10
mov esi, eax
add esp, 8
test esi, esi
je 0x4cf420
push esi
call fcn.004d0e30
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x14]
push eax
push esi
push 0x4cf440
push ecx
push edx
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x4cf438
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call fcn.004d13e0
add esp, 4
test edi, edi
je 0x4cf436
push edi
call fcn.004d0590
add esp, 4
xor eax, eax
pop edi
pop esi
ret

Function at 0x4cfbd0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef2b0
push 0x4d3208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x6bcb28], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x6bcb24], ecx
shl ecx, 8
add ecx, edx
mov dword [0x6bcb20], ecx
shr eax, 0x10
mov dword [0x6bcb1c], eax
call fcn.004d3f60
test eax, eax
jne 0x4cfc3a
push 0x1c
call fcn.004cfdb0
add esp, 4
call fcn.004d0dd0
test eax, eax
jne 0x4cfc4d
push 0x10
call fcn.004cfdb0
add esp, 4
mov dword [ebp - 4], 0
call fcn.004d3d50
call fcn.004d3d40
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x6c5a98], eax
call fcn.004d36e0
mov dword [0x6bca7c], eax
test eax, eax
je 0x4cfc80
mov eax, dword [0x6c5a98]
test eax, eax
jne 0x4cfc8a
push 0xffffffffffffffff
call fcn.004d0fb0
add esp, 4
call fcn.004d3430
call fcn.004d3340
call fcn.004d0f80
mov esi, dword [0x6c5a98]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x4cfd69
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x4cfcd1
test al, al
je 0x4cfcd1
and eax, 0xff
push eax
call fcn.004d32e0
add esp, 4
test eax, eax
je 0x4cfcab
inc esi
mov dword [ebp - 0x64], esi
jmp 0x4cfcab
cmp byte [esi], 0x22
jne 0x4cfcda
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x4cfcea
cmp al, 0x20
ja 0x4cfcea
inc esi
mov dword [ebp - 0x64], esi
jmp 0x4cfcda
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4cfd0b
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x4cfd10
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.004d0fb0
jmp 0x4cfd4e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x4cfcda
inc esi
mov dword [ebp - 0x64], esi
jmp 0x4cfd69
Function at 0x4cfdb0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x6bca84], 1
jne 0x4cfdbe
call fcn.004d3fa0
mov eax, dword [esp + 4]
push eax
call fcn.004d3fe0
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4d0dd0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.004d03e0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x503650], eax
je 0x4d0e28
push 0x74
push 1
call fcn.004d2e10
mov esi, eax
add esp, 8
test esi, esi
je 0x4d0e28
mov eax, dword [0x503650]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4d0e28
push esi
call fcn.004d0e30
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4d0e50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x503650]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4d0ebe
push 0x74
push 1
call fcn.004d2e10
mov esi, eax
add esp, 8
test esi, esi
je 0x4d0eb4
mov ecx, dword [0x503650]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4d0eb4
push esi
call fcn.004d0e30
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
push 0x10
call fcn.004cfd80
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret

Function at 0x4d0ed0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x503650]
cmp eax, 0xffffffff
je 0x4d0f7f
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x4d0ef4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x4d0f70
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4d0f04
push eax
call fcn.004d13e0
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4d0f14
push eax
call fcn.004d13e0
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4d0f24
push eax
call fcn.004d13e0
add esp, 4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4d0f34
push eax
call fcn.004d13e0
add esp, 4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4d0f44
push eax
call fcn.004d13e0
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4d0f54
push eax
call fcn.004d13e0
add esp, 4
mov eax, dword [esi + 0x50]
cmp eax, 0x503720
je 0x4d0f67
push eax
call fcn.004d13e0
add esp, 4
push esi
call fcn.004d13e0
add esp, 4
mov eax, dword [0x503650]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret