joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f8790
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x4f87ab
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x30
jge 0x4f87cc
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x5847e0]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x4f87a2
mov esp, ebp
pop ebp
ret 8

Function at 0x4f8950
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x4f896b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x4f898c
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x584a10]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x4f8962
mov esp, ebp
pop ebp
ret 8
Function at 0x4fac60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x56d599
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 0xc], 0
call fcn.00410610
mov ecx, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x20], 0
push 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4facf1
push 0x104
mov ecx, esi
call fcn.004070d0
mov edx, dword [esp + 8]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00407110
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x4fad10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56e5f9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], 0
mov ecx, esi
mov dword [esp + 0x1c], 1
call fcn.00410610
push 0x2f
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], 1
call fcn.00406b60
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.00408860
sub eax, edi
dec eax
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00406c40
push eax
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.00406980
lea ecx, [esp + 0x10]
call fcn.004072c0
lea ecx, [esp + 0x28]
call fcn.004072c0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x4fae40
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5bda40]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x4fae92
cmp dword [esp + 4], 5
jbe 0x4fae92
cmp dword [esp + 8], 4
jae 0x4fae92
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00538a54
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.00538a54
add esp, 0x118
ret
Function at 0x4fb080
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x56fb9e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp + 0x814], esi
je 0x4fb0ef
push ecx
lea eax, [ebp + 0x810]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.004068e0
call fcn.0050ba00
add esp, 4
cmp eax, esi
jne 0x4fb2b8
push esi
push esi
push esi
push esi
push 1
push esi
lea ecx, [ebp - 0x38]
call fcn.0051b70a
push esi
push str.http
lea ecx, [ebp + 0x80c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call fcn.00406ae0
test eax, eax
jl 0x4fb1d1
lea ecx, [ebp - 0x14]
call fcn.00410610
push ecx
mov bl, 4
mov byte [ebp - 4], bl
lea edx, [ebp + 0x80c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call fcn.004068e0
lea eax, [ebp - 0x20]
push eax
call fcn.004fafb0
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00406980
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.004072c0
lea ecx, [ebp - 0x14]
call fcn.004070f0
test al, al
jne 0x4fb18d
lea ecx, [ebp + 0x80c]
call fcn.004072e0
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea ecx, [ebp - 0x14]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push 0x7d0
push 2
lea ecx, [ebp - 0x38]
call fcn.004192f0
push esi
push esi
push 0x80400002
push esi
lea ecx, [ebp + 0x80c]
call fcn.004072e0
push eax
lea ecx, [ebp - 0x38]
call fcn.0051c3b6
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.004faf20
cmp eax, esi
je 0x4fb21a
lea ecx, [ebp - 0x14]
call fcn.004072c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0051bf19
lea ecx, [ebp + 0x80c]
call fcn.004072c0
lea ecx, [ebp + 0x810]
call fcn.004072c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00538a54
add ebp, 0x804
mov esp, ebp
pop ebp
ret
push esi
push 0x80
push 2
push esi
push 2
push 0xc0000000
lea ecx, [ebp + 0x810]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, 0xffffffff
je 0x4fb1c9
mov dword [ebp - 0x24], esi
lea esp, [esp]
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
push 0x400
lea eax, [ebp]
push eax
mov ecx, edi
call edx
push 0
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push esi
lea ecx, [ebp]
push ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test esi, esi
jg 0x4fb250
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], 0
call fcn.0051bda3
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x14]
call fcn.004072c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0051bf19
lea ecx, [ebp + 0x80c]
call fcn.004072c0
lea ecx, [ebp + 0x810]
call fcn.004072c0
mov eax, 1
jmp 0x4fb1f5
Function at 0x4fb4e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x56e568
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
push 1
push 0
push 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0
call fcn.004072e0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [eax - 0x1c]
cmp ecx, 2
jbe 0x4fb5e8
cmp eax, 0x20
ja 0x4fb5e8
lea edx, [esp + 8]
push 0x26
push edx
call fcn.004fac60
push str.Internet_Exploreriexplore.exe
push eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x68], 1
call fcn.00406e40
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x54], 3
call fcn.004072c0
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.004068e0
call fcn.0050ba00
add esp, 4
test eax, eax
je 0x4fb5df
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0053f680
add esp, 0xc
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x1c], str.open
call fcn.004072e0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 1
call fcn.004072e0
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esp + 4]
call fcn.004072c0
lea ecx, [esp + 0x5c]
call fcn.004072c0
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x54
ret

Function at 0x4fb610
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x56e568
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
lea eax, [esp + 8]
push 0x26
push eax
mov dword [esp + 0x5c], 0
call fcn.004fac60
push str.Internet_Exploreriexplore.exe
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x68], 1
call fcn.00406e40
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x54], 3
call fcn.004072c0
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.004068e0
call fcn.0050ba00
add esp, 4
test eax, eax
je 0x4fb6e2
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0053f680
add esp, 0xc
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x1c], str.open
call fcn.004072e0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 1
call fcn.004072e0
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x4fb6fc
push 1
push 0
push 0
lea ecx, [esp + 0x68]
call fcn.004072e0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 4]
call fcn.004072c0
lea ecx, [esp + 0x5c]
call fcn.004072c0
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x54
ret
Function at 0x4fbad0
Capabilities:
Access peb ldr_data
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x56e530
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x20], 2
cmp dword [esp + 0x34], 8
jne 0x4fbbba
lea ecx, [esp + 8]
call fcn.00410610
lea ecx, [esp + 0xc]
call fcn.00410610
lea eax, [esp + 0x14]
push 0x10
push eax
mov byte [esp + 0x28], 4
call fcn.004fac60
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 5
call fcn.00406980
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 4
call fcn.004072c0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x10]
push str._s_s.lnk
push eax
call fcn.004089d0
add esp, 0x10
lea ecx, [esp + 0x34]
push ecx
push 0x57f754
push 1
push 0
push 0x57f864
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4fbba8
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push 0x57f894
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x34]
jge 0x4fbbe8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xc]
call fcn.004072c0
lea ecx, [esp + 8]
call fcn.004072c0
lea ecx, [esp + 0x28]
call fcn.004072c0
lea ecx, [esp + 0x2c]
call fcn.004072c0
lea ecx, [esp + 0x30]
call fcn.004072c0
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
mov esi, dword [eax]
lea ecx, [esp + 0x28]
call fcn.0041cbb0
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x50]
push eax
push ecx
call edx
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
call fcn.00407110
mov eax, dword [esp + 0x34]
mov esi, dword [eax]
push 0
lea ecx, [esp + 0x30]
call fcn.004072e0
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x44]
push eax
push ecx
call edx
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
push 1
lea ecx, [esp + 0xc]
call fcn.0041cbb0
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x18]
push eax
push ecx
call edx
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00407110
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xc]
call fcn.004072c0
lea ecx, [esp + 8]
call fcn.004072c0
lea ecx, [esp + 0x28]
call fcn.004072c0
lea ecx, [esp + 0x2c]
call fcn.004072c0
lea ecx, [esp + 0x30]
call fcn.004072c0
xor eax, eax
test esi, esi
setge al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x500800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x56e488
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
mov ebx, 1
cmp esi, eax
ja 0x500863
cmp dword [edi + 0x18], eax
je 0x500863
push ebx
push eax
mov ecx, edi
call fcn.00402590
test al, al
je 0x50085c
push esi
mov ecx, edi
call fcn.00402550
mov edx, dword [esp + 0x84]
mov esi, dword [edx + 4]
mov ebp, dword [edx + 8]
add esi, ebx
sub ebp, ebx
cmp esi, ebp
je 0x5009d3
jmp 0x500887
mov edx, dword [esp + 0x84]
mov al, byte [esi]
add esi, ebx
mov byte [esp + 0x18], al
cmp al, 0x22
je 0x5009d3
cmp al, 0x5c
jne 0x500939
cmp esi, ebp
je 0x500953
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
mov dword [esp + 0x10], esi
cmp eax, 0x53
ja case.0x5008c5.35
movzx eax, byte [eax + 0x500a14]
jmp dword [eax*4 + 0x5009ec]
push 0x22
jmp 0x50093e
push 0x2f
jmp 0x50093e
push 0x5c
jmp 0x50093e
push 8
jmp 0x50093e
push 0xc
jmp 0x50093e
push 0xa
jmp 0x50093e
push 0xd
jmp 0x50093e
push 9
jmp 0x50093e
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x14]
push ecx
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.00500a70
test al, al
je 0x500985
mov ecx, dword [esp + 0x14]
push ecx
lea esi, [esp + 0x58]
call fcn.004ff0e0
add esp, 4
push eax
mov ecx, edi
mov dword [esp + 0x7c], ebx
call fcn.004481d0
mov ecx, esi
mov dword [esp + 0x78], 0xffffffff
call fcn.00402030
mov esi, dword [esp + 0x10]
jmp 0x500946
mov edx, dword [esp + 0x18]
push edx
push ebx
mov ecx, edi
call fcn.004127f0
cmp esi, ebp
jne 0x500880
jmp 0x5009d3
push 0x5a39dc
lea ecx, [esp + 0x20]
call fcn.00401fb0
mov ecx, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x88]
lea ebx, [esp + 0x20]
mov dword [esp + 0x7c], 0
call fcn.00500cf0
mov ecx, ebx
jmp 0x5009cc
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
push 0x5a39fc
lea ecx, [esp + 0x3c]
call fcn.00401fb0
mov ecx, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x88]
lea ebx, [esp + 0x3c]
mov dword [esp + 0x7c], 2
call fcn.00500cf0
mov ecx, ebx
mov bl, al
call fcn.00402030
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8

Function at 0x5023e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56e3d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.00401fb0
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 0
call fcn.004481d0
push eax
mov ecx, esi
call fcn.00401ff0
lea ecx, [esp + 8]
call fcn.00402030
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
add esp, 0x2c
ret
Function at 0x503250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56f9c9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5bda40]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
call fcn.00402070
mov ebx, 1
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], ebx
call fcn.00402070
mov ecx, esi
mov dword [esp + 0x58], ebx
call fcn.0042bf40
mov ecx, esi
mov ebx, eax
call fcn.00402050
lea esi, [esp + 0x30]
mov ecx, ebx
call fcn.00502f50
mov eax, esi
lea esi, [esp + 0x14]
call fcn.005038d0
push eax
mov ecx, edi
mov byte [esp + 0x5c], 2
call fcn.00403050
mov ecx, esi
call fcn.004020e0
lea ecx, [esp + 0x30]
call fcn.004020e0
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00538a54
add esp, 0x50
ret

Function at 0x503310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56f969
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5bda40]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
call fcn.00410380
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], 1
call fcn.00402070
mov eax, esi
lea esi, [esp + 0x14]
mov dword [esp + 0x58], 1
call fcn.005038d0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call fcn.00403050
mov ecx, esi
mov byte [esp + 0x58], 1
call fcn.004020e0
lea ecx, [esp + 0x30]
call fcn.0042bf40
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.00402100
push eax
mov edx, edi
mov ecx, esi
call fcn.00502e40
add esp, 4
lea ecx, [esp + 0x30]
call fcn.004020e0
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00538a54
add esp, 0x54
ret

Function at 0x5033e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56e358
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5bda40]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x5ca81c]
mov ebx, ecx
mov dword [esp + 0xc], 0
mov byte [esp + 0xb], 1
test eax, eax
jbe 0x50346f
push eax
lea edx, [esp + 0xf]
lea ecx, [esp + 0x14]
call fcn.005034a0
add esp, 4
mov dword [esp + 0x38], 0
cmp byte [esp + 0xb], 0
je 0x50345e
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00402900
lea ecx, [esp + 0x10]
call fcn.004020e0
jmp 0x50347f
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004020e0
push 0
lea edx, [esp + 0xf]
mov ecx, esi
call fcn.005034a0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00538a54
add esp, 0x34
ret
Function at 0x503620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56e2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5bda40]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x5ca81c]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xc], 0
mov byte [esp + 0xb], 1
test eax, eax
jbe 0x5036bf
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x503676
cmp ecx, 1
jne 0x5036bf
push edi
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x1b]
mov ecx, esi
call fcn.00503700
add esp, 0x10
mov dword [esp + 0x38], 0
cmp byte [esp + 0xb], 0
lea ecx, [esp + 0x10]
je 0x5036b2
push ecx
mov ecx, ebp
call fcn.00401ff0
lea ecx, [esp + 0x10]
call fcn.00402030
jmp 0x5036d5
mov dword [esp + 0x38], 0xffffffff
call fcn.00402030
mov edx, dword [esp + 0x44]
push edi
push ebx
push edx
push ebp
lea edx, [esp + 0x1b]
mov ecx, esi
call fcn.00503700
add esp, 0x10
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00538a54
add esp, 0x34
ret
Function at 0x503f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x56e292
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5bda40]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x5bda40]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], 0
call fcn.00402900
push 0x5a3b64
lea ecx, [esp + 0x24]
mov dword [esp + 0x84], 0
call fcn.004020a0
mov byte [esp + 0x80], 1
mov ebx, 1
push edi
lea esi, [esp + 0x24]
mov dword [esp + 0x18], ebx
call fcn.00503ef0
add esp, 4
test al, al
jne 0x503ff8
push 0x5a3b6c
lea ecx, [esp + 0x40]
call fcn.004020a0
mov dword [esp + 0x80], 2
mov ebx, 3
push edi
lea esi, [esp + 0x40]
mov dword [esp + 0x18], ebx
call fcn.00503ef0
add esp, 4
mov byte [esp + 0x13], 0
test al, al
je 0x503ffd
mov byte [esp + 0x13], 1
test bl, 2
je 0x50400e
lea ecx, [esp + 0x3c]
and ebx, 0xfffffffd
call fcn.004020e0
mov dword [esp + 0x80], 0
test bl, 1
je 0x504027
lea ecx, [esp + 0x20]
call fcn.004020e0
cmp byte [esp + 0x13], 0
je 0x504059
mov ebx, 2
mov eax, edi
lea ecx, [esp + 0x20]
call fcn.00503d00
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 3
call fcn.00403050
lea ecx, [esp + 0x20]
call fcn.004020e0
lea ecx, [esp + 0x58]
xor esi, esi
call fcn.00402100
mov ecx, edi
mov ebx, eax
call fcn.0042bf40
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 8
call fcn.00448f10
add esp, 8
xor edx, edx
test eax, eax
jbe 0x5040ec
movzx ecx, word [ebx + edx*2]
mov edi, 0x30
cmp di, cx
ja 0x5040ac
cmp cx, 0x39
ja 0x5040ac
movzx ecx, cx
sub ecx, edi
jmp 0x5040e2
mov edi, 0x61
cmp di, cx
ja 0x5040c8
mov edi, 0x66
cmp di, cx
jb 0x5040c8
movzx ecx, cx
sub ecx, 0x57
jmp 0x5040e2
mov edi, 0x41
cmp di, cx
ja 0x5040ec
mov edi, 0x46
cmp di, cx
jb 0x5040ec
movzx ecx, cx
sub ecx, 0x37
shl esi, 4
inc edx
add esi, ecx
cmp edx, eax
jb 0x504091
lea ecx, [esp + 0x58]
call fcn.004020e0
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00538a54
add esp, 0x74
ret
Function at 0x508950
Capabilities:
Parse url

Disassembly:
mov eax, 0x2f24
call fcn.0053fde0
mov eax, dword [0x5bda40]
xor eax, esp
mov dword [esp + 0x2f20], eax
mov eax, dword [esp + 0x2f2c]
lea edx, [esp + 0xfe0]
mov dword [esp + 8], edx
mov dword [esp], eax
lea edx, [esp + 0x1f80]
mov dword [esp + 0x20], edx
lea eax, [esp + 0x40]
mov dword [esp + 0x14], eax
push ebp
mov ebp, dword [esp + 0x2f2c]
lea edx, [esp + 0x17b4]
lea eax, [esp + 0x814]
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x2758]
mov dword [esp + 0x40], eax
mov eax, 0x3e8
push 0
push 0
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
call fcn.00402100
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.00410dc0
mov cx, word [esp + 0x20]
mov edx, dword [esp + 0x34]
mov word [ebp], cx
push edx
mov ecx, edi
call fcn.00410dc0
mov eax, dword [esp + 0x3c]
push eax
mov ecx, ebx
call fcn.00410dc0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov dword [edx], ecx
mov ecx, dword [esp + 0x2f24]
pop ebp
xor ecx, esp
call fcn.00538a54
add esp, 0x2f24
ret 8