joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401890
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x4db3c8]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
mov ebp, dword [esp + 0x21c]
push esi
lea eax, [esp + 8]
push eax
push 0x4c84b0
push 1
push 0
push 0x4c84c0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x401961
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4c8500
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x401953
push 0x104
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 1
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebp
call fcn.0040d840
add esp, 4
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x218]
pop esi
pop ebp
xor ecx, esp
call fcn.00470aa1
add esp, 0x214
ret

Function at 0x4046f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404709
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404744
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x404740
lea ebx, [ebx]
cmp esi, eax
jae 0x404744
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x404730
cmp esi, eax
jb 0x40474a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x406d30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4db3c8]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov esi, dword [esp + 0x114]
lea eax, [esp + 4]
push eax
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x406d9f
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
cmp eax, 1
jne 0x406d9f
lea eax, [esp + 8]
push eax
push 0x104
push esi
call fcn.0041eb30
add esp, 0xc
mov al, 1
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00470aa1
add esp, 0x10c
ret
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
xor al, al
call fcn.00470aa1
add esp, 0x10c
ret
Function at 0x407290
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x486d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4db3c8]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
mov eax, dword [0x4db3c8]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x444]
push ebx
call fcn.0041d390
add esp, 4
test eax, eax
jne 0x4072e5
xor al, al
jmp 0x4073d5
lea ecx, [esp + 0x10]
call fcn.00434860
xor edi, edi
push 0x3ff
lea eax, [esp + 0x35]
push edi
push eax
mov dword [esp + 0x448], edi
mov byte [esp + 0x3c], 0
call fcn.00470ce0
add esp, 0xc
lea esi, [edi + 1]
mov ecx, dword [esp + 0x14]
cmp ecx, edi
mov edx, dword [esp + 0x18]
jne 0x407322
xor eax, eax
jmp 0x407329
mov eax, edx
sub eax, ecx
sar eax, 2
cmp esi, eax
jge 0x40738a
cmp esi, 1
jle 0x407351
push 0x400
lea ecx, [esp + 0x34]
push 0x48d5d0
push ecx
call fcn.0041e8f0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp ecx, edi
je 0x40735e
sub edx, ecx
mov eax, edx
sar eax, 2
jne 0x407362
xor ecx, ecx
jmp 0x40736f
cmp eax, edi
ja 0x40736f
call fcn.00471370
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + esi*4]
push 0x400
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0041e8f0
add esp, 0xc
add esi, 1
jmp 0x407312
push 1
push edi
lea ecx, [esp + 0x38]
push ecx
push ebx
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov eax, dword [esp + 0x24]
seta bl
cmp eax, edi
je 0x4073b6
push eax
call fcn.00450664
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
je 0x4073d3
push eax
call fcn.00450664
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.00470aa1
add esp, 0x430
ret

Function at 0x40dad0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4db3c8]
xor eax, esp
mov dword [esp + 0x94], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x94]
sbb eax, eax
xor ecx, esp
add eax, 1
call fcn.00470aa1
add esp, 0x98
ret
Function at 0x40db20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4db3c8]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp byte [0x4dd9f0], 0
push edi
mov edi, dword [esp + 0x218]
jne 0x40dc35
lea eax, [esp + 4]
push eax
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40dc35
mov edx, dword [esp + 4]
lea ecx, [esp + 0x10c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
cmp eax, 1
sete al
test al, al
je 0x40dc35
push esi
push 0x103
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.00470ce0
add esp, 0xc
mov esi, 1
cmp esi, 1
je 0x40dbbd
push esi
push 0x4b170c
lea ecx, [esp + 0x14]
push 0x104
push ecx
call fcn.004274e0
add esp, 0x10
push 0x4b16f4
lea edx, [esp + 0x114]
push edx
push 0x104
push 0x4dd9f0
call fcn.00427480
push 0x104
push edi
push 0x4dd9f0
call fcn.0041e8f0
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0x4dd9f0
call fcn.0041e8f0
push 0x4dd9f0
call fcn.0041d390
add esp, 0x2c
test eax, eax
je 0x40dc19
add esi, 1
cmp esi, 0x3e7
jle 0x40dba0
pop esi
mov eax, 0x4dd9f0
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00470aa1
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
mov eax, 0x4dd9f0
call fcn.00470aa1
add esp, 0x210
ret

Function at 0x40dc50
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4db3c8]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
mov ebx, dword [esp + 0x114]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0xc], 6
jb 0x40dca5
push ebx
call fcn.0040db20
add esp, 4
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00470aa1
add esp, 0x10c
ret
cmp byte [0x4ddaf8], 0
jne 0x40dd82
lea ecx, [esp + 4]
push ecx
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40dcdd
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00470aa1
add esp, 0x10c
ret
push esi
push edi
push 0x103
lea edx, [esp + 0x15]
push 0
push edx
mov byte [esp + 0x1c], 0
call fcn.00470ce0
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
add esp, 0xc
mov esi, 1
cmp esi, 1
je 0x40dd20
push esi
push 0x4b170c
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.004274e0
add esp, 0x10
mov ecx, dword [esp + 0xc]
push 0x4ddaf8
push ecx
call edi
push 0x104
push str.Blizzard_Entertainment_
push 0x4ddaf8
call fcn.0041e8f0
push 0x104
push ebx
push 0x4ddaf8
call fcn.0041e8f0
push 0x104
lea edx, [esp + 0x2c]
push edx
push 0x4ddaf8
call fcn.0041e8f0
push 0x4ddaf8
call fcn.0041d390
add esp, 0x28
test eax, eax
je 0x40dd80
add esi, 1
cmp esi, 0x3e7
jle 0x40dd03
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
pop ebx
xor ecx, esp
mov eax, 0x4ddaf8
call fcn.00470aa1
add esp, 0x10c
ret
Function at 0x40dda0
Capabilities:
Get common file path

Disassembly:
push ecx
cmp byte [0x4ddc00], 0
jne 0x40ddf7
lea eax, [esp]
push eax
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40ddc0
xor eax, eax
pop ecx
ret
mov ecx, dword [esp]
push 0x4ddc00
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0
push 0x104
push 0x4ddc00
call fcn.00423910
push 0x104
push str.VirtualStore
push 0x4ddc00
call fcn.0041e8f0
add esp, 0x18
mov eax, 0x4ddc00
pop ecx
ret

Function at 0x40de00
Capabilities:
Check os version

Disassembly:
sub esp, 0x108
mov eax, dword [0x4db3c8]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
mov esi, dword [esp + 0x114]
lea eax, [esp + 8]
push eax
xor bl, bl
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0xc], 6
jb 0x40dea6
push edi
push esi
call fcn.0041d6b0
push esi
mov edi, eax
call fcn.0041eb50
add esp, 8
cmp edi, eax
ja 0x40de8c
add esi, edi
push esi
call fcn.0040dda0
push eax
lea ecx, [esp + 0x14]
push 0x104
push ecx
call fcn.00427480
lea edx, [esp + 0x1c]
push edx
call fcn.0041e350
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00470aa1
add esp, 0x108
ret
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00470aa1
add esp, 0x108
ret
mov ecx, dword [esp + 0x10c]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00470aa1
add esp, 0x108
ret

Function at 0x414170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x487af9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4db3c8]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4db3c8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], 0x30
mov byte [esp + 0x19], 0x31
mov byte [esp + 0x1a], 0x32
mov byte [esp + 0x1b], 0x33
mov byte [esp + 0x1c], 0x34
mov byte [esp + 0x1d], 0x35
mov byte [esp + 0x1e], 0x36
mov byte [esp + 0x1f], 0x37
mov byte [esp + 0x20], 0x38
mov byte [esp + 0x21], 0x39
mov byte [esp + 0x22], 0x41
mov byte [esp + 0x23], 0x42
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0x44
mov byte [esp + 0x26], 0x45
mov byte [esp + 0x27], 0x46
mov byte [esi + 4], al
movzx edi, byte [esp + 0x40]
mov dword [esp + 0x34], eax
mov eax, edi
shr eax, 4
mov cl, byte [esp + eax + 0x18]
mov byte [esp + 0xc], cl
mov edx, dword [esp + 0xc]
push edx
push 1
mov ecx, esi
mov dword [esp + 0x18], 1
call fcn.004084d0
and edi, 0xf
mov al, byte [esp + edi + 0x18]
mov byte [esp + 0xc], al
mov ecx, dword [esp + 0xc]
push ecx
push 1
mov ecx, esi
call fcn.004084d0
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00470aa1
add esp, 0x2c
ret
Function at 0x4152d0
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword [0x4d6d88]
cmp eax, 0xffffffff
jne 0x415332
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
cmp eax, 0x809
jg 0x415319
je 0x41530e
sub eax, 0x407
je 0x415303
sub eax, 5
jne 0x415320
mov eax, 4
mov dword [0x4d6d88], eax
ret
mov eax, 1
mov dword [0x4d6d88], eax
ret
mov eax, 2
mov dword [0x4d6d88], eax
ret
cmp eax, 0xc0a
je 0x415328
xor eax, eax
mov dword [0x4d6d88], eax
ret
mov eax, 3
mov dword [0x4d6d88], eax
ret

Function at 0x415d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487e53
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4db3c8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
lea edi, [esi + 0x10]
mov dword [esi], vtable.TryWowHttpDataDownloadCallBack.0
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x20], ebx
mov byte [edi + 4], bl
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x20], 1
mov dword [esi + 0x2c], eax
jne 0x415e27
mov ebp, dword [edi + 0x14]
mov eax, dword [esp + 0x2c]
cmp ebp, eax
ja 0x415e20
cmp dword [edi + 0x18], eax
je 0x415e20
push 1
push eax
mov ecx, edi
call fcn.00401360
test al, al
je 0x415e20
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], ebp
jb 0x415e1a
mov eax, dword [edi + 4]
jmp 0x415e1d
lea eax, [edi + 4]
mov byte [eax + ebp], bl
mov ecx, edi
call fcn.00415cf0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x3c]
push eax
mov dword [esi + 0x48], ecx
mov dword [esi + 8], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], 0x2710
mov dword [esi + 0x40], edx
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
mov byte [esi + 0x46], bl
mov byte [esi + 0x47], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0xc], ebx
call fcn.0041e3b0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x41cc80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
shr edi, 2
mov eax, 0xeeeeeeee
je 0x41ccde
mov edx, dword [esp + 0x14]
push ebx
lea esp, [esp]
mov ecx, edx
and ecx, 0xff
add eax, dword [ecx*4 + 0x4d8368]
sub edi, 1
lea ecx, [eax + edx]
xor ecx, dword [esi]
mov ebx, eax
mov dword [esi], ecx
shl ebx, 5
add ebx, ecx
mov ecx, edx
not ecx
shl ecx, 0x15
add ecx, 0x11111111
shr edx, 0xb
add esi, 4
or edx, ecx
test edi, edi
lea eax, [eax + ebx + 3]
jne 0x41cca0
pop ebx
pop edi
pop esi
ret

Function at 0x41ccf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov dl, byte [esi]
add esi, 1
test dl, dl
mov eax, 0x7fed7fed
mov ecx, 0xeeeeeeee
je 0x41cd3f
push ebx
push edi
mov edi, dword [esp + 0x14]
shl edi, 8
movzx edx, dl
movzx edx, byte [edx + 0x4d8768]
lea ebx, [edi + edx]
add eax, ecx
xor eax, dword [ebx*4 + 0x4d7368]
mov ebx, ecx
shl ebx, 5
add ebx, edx
mov dl, byte [esi]
add ebx, ecx
add esi, 1
test dl, dl
lea ecx, [ebx + eax + 3]
jne 0x41cd11
pop edi
pop ebx
pop esi
ret

Function at 0x41e460
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x60
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 8]
cmp eax, 0x80000000
jae 0x41e4a4
xor edx, edx
add esp, 0x60
ret
push esi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.GlobalMemoryStatusEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x3c
lea ecx, [esp + 0x2c]
push 0
push ecx
mov esi, eax
mov dword [esp + 0x30], 0x40
call fcn.00470ce0
add esp, 0xc
test esi, esi
je 0x41e4f3
lea edx, [esp + 0x24]
push edx
call esi
test eax, eax
je 0x41e4f3
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
pop esi
add esp, 0x60
ret
cmp dword [esp + 0xc], 0x80000000
jne 0x41e509
mov eax, SHChangeNotifyRegister
xor edx, edx
pop esi
add esp, 0x60
ret
xor eax, eax
lea edx, [eax + 1]
pop esi
add esp, 0x60
ret

Function at 0x41eff0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
test cl, cl
mov eax, 0x1000193
je 0x41f01e
nop
movzx ecx, cl
xor eax, ecx
mov cl, byte [edx + 1]
imul eax, eax, 0x1000193
add edx, 1
test cl, cl
jne 0x41f000
test eax, eax
jne 0x41f01e
mov eax, 1
ret
Function at 0x41f020
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 8]
mov dl, byte [esi]
test dl, dl
mov eax, 0x1000193
je 0x41f04e
movzx edx, dl
xor eax, edx
mov dl, byte [esi + 1]
imul eax, eax, 0x1000193
add esi, 1
test dl, dl
jne 0x41f030
test eax, eax
jne 0x41f04e
mov eax, 1
mov edx, dword [esp + 0xc]
mov esi, eax
and esi, 0x3f
mov dword [edx], esi
cmp dword [ecx + esi*8], 0
je 0x41f075
nop
mov esi, dword [edx]
cmp dword [ecx + esi*8], eax
je 0x41f07b
add esi, 1
and esi, 0x3f
mov dword [edx], esi
cmp dword [ecx + esi*8], 0
jne 0x41f060
xor al, al
pop esi
ret 8
mov al, 1
pop esi
ret 8

Function at 0x420790
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x58
mov ecx, dword [esp + 0x60]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, dword [esp + 0x64]
push eax
push ecx
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.004205f0
mov edx, dword [esp + 0x5c]
push edx
lea ecx, [esp + 4]
call fcn.004206e0
add esp, 0x58
ret

Function at 0x420920
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x60
mov ecx, dword [esp + 0x68]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
push eax
push ecx
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
mov dword [esp + 0x20], 0xc3d2e1f0
call fcn.0041c8f0
mov edx, dword [esp + 0x64]
push edx
lea ecx, [esp + 4]
call fcn.00420860
add esp, 0x60
ret

Function at 0x421490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.00421330
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esp + 0x30], 0
jne 0x421500
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ebx
push 0
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.004210d0
test eax, eax
push edi
setne bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x2c]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x4216b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x84
push esi
mov esi, dword [esp + 0x94]
xor ecx, ecx
cmp esi, ecx
jne 0x4216d0
mov al, 1
pop esi
add esp, 0x84
ret 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x98]
cmp ebp, ecx
push edi
mov dword [esp + 0x10], esi
je 0x4217c7
mov ebx, dword [esp + 0x98]
lea eax, [esi + 0x10]
xor edi, edi
mov dword [esp + 0x14], eax
jmp 0x421702
xor ecx, ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], eax
cmp eax, esi
lea eax, [esp + 0x28]
jb 0x421715
lea eax, [esp + 0x10]
mov esi, dword [eax]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ecx
push esi
lea ecx, [edi + ebx]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], esi
mov dword [esp + 0x4c], 0x67452301
mov dword [esp + 0x50], 0xefcdab89
mov dword [esp + 0x54], 0x98badcfe
mov dword [esp + 0x58], 0x10325476
call fcn.004205f0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x40]
call fcn.004206e0
lea eax, [edi + esi]
add eax, ebx
lea ecx, [eax + 0x10]
lea edx, [esp + 0x18]
cmp edx, ecx
jae 0x421785
lea ecx, [esp + 0x28]
cmp ecx, eax
jbe 0x421785
push 0x10
push eax
push edx
call fcn.00473fe0
add esp, 0xc
jmp 0x4217a0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041f1f0
test al, al
jne 0x4217d6
add edi, dword [esp + 0x14]
mov ecx, 0xfffffff0
sub ecx, esi
add ebp, ecx
test ebp, ebp
jne 0x421700
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
add esp, 0x84
ret 0xc
pop edi
pop ebp
pop ebx
xor al, al
pop esi
add esp, 0x84
ret 0xc

Function at 0x421b90
Capabilities:
Connect to http server

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xc]
mov edx, dword [edi]
push edi
push 0
push 3
push 0
push 0
push eax
push ecx
push edx
mov dword [edi + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
test esi, esi
jne 0x421bdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x421bd1
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [edi + 0xc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea ecx, [esp + 0x10]
push ecx
push 2
push esi
mov dword [esp + 0x1c], eax
call edi
push 4
lea edx, [esp + 0x10]
push edx
push 6
push esi
call edi
pop edi
mov eax, esi
pop esi
ret
Function at 0x425280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4880e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x40]
push ebx
push ebp
push esi
mov esi, ecx
mov cl, byte [esp + 0x48]
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], eax
mov byte [esi + 8], cl
mov dword [esi + 0xc], 1
mov dl, byte [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov al, byte [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov byte [esi + 0x2c], dl
mov dl, byte [esp + 0x40]
xor ebx, ebx
cmp ebp, 1
mov dword [esi], vtable.Blizzard::IOAlignUnitInternal.0
mov dword [esi + 0x28], edi
mov byte [esi + 0x2d], al
mov dword [esi + 0x30], ecx
mov byte [esi + 0x34], dl
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x38], ebp
ja 0x4252f5
lea eax, [esi + 0x40]
jmp 0x425310
xor ecx, ecx
mov eax, ebp
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00450669
add esp, 4
cmp byte [esp + 0x38], bl
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
jne 0x42535a
push ebx
lea edx, [edi - 1]
xor ebp, ebp
add edx, eax
push edi
adc ebp, ecx
push ebp
push edx
call fcn.004726a0
push ebx
push edi
push edx
push eax
call fcn.00471e10
mov ebp, dword [esp + 0x30]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
xor ebx, ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp edx, ecx
jg 0x42536e
jl 0x425377
cmp eax, edi
jb 0x425377
push ecx
push edi
push edx
push eax
call fcn.00473ad0
cmp ebp, ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jbe 0x4253b0
xor eax, eax
mov edx, ebp
or edi, 0xffffffff
jmp 0x425390
mov ecx, dword [esi + 0x3c]
mov dword [eax + ecx], edi
mov dword [eax + ecx + 4], edi
mov ecx, dword [esi + 0x3c]
mov byte [eax + ecx + 8], bl
mov ecx, dword [esi + 0x3c]
mov dword [eax + ecx + 0xc], ebx
add eax, 0x10
sub edx, 1
jne 0x425390
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x30