joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099a0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x254
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
xor bl, bl
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x409a73
lea eax, [esp + 0x28]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x409a6c
jmp 0x4099f0
lea ecx, [esp + 0x4c]
push 0x464150
push ecx
call fcn.00456b6f
add esp, 8
test eax, eax
je 0x409a17
lea edx, [esp + 0x28]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4099f0
jmp 0x409a6c
mov eax, dword [esp + 0x30]
push 0xc
push str.explorer.exe
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.004056b0
mov ecx, dword [esp + 0x30]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x409a6c
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
add esi, 0x20
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
cmp eax, 1
jne 0x409a65
mov bl, al
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0043b82a
add esp, 0x254
ret

Function at 0x409a90
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x35c
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x354], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
mov edi, edx
xor bl, bl
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x409ba2
lea eax, [esp + 0x28]
push eax
push ebp
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x409b9b
lea ecx, [ecx]
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x409afc
lea ecx, [esp + 0x28]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409ae0
jmp 0x409b9b
push 0x104
lea edx, [esp + 0x25d]
push 0
push edx
mov dword [edi + 0x1c], eax
mov byte [esp + 0x264], 0
call fcn.0043e300
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x268]
push 0x46417c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x270]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409b40
sub eax, edx
push eax
lea edx, [esp + 0x25c]
push edx
mov ecx, edi
call fcn.004056b0
mov eax, dword [esp + 0x30]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x409b9b
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push eax
add edi, 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
cmp eax, 1
jne 0x409b94
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0043b82a
add esp, 0x35c
ret
Function at 0x40b960
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edi
xor edi, edi
mov eax, esi
call fcn.004057b0
push eax
call ebp
cmp eax, 0xffffffff
jne 0x40b9b4
push 0
mov eax, esi
call fcn.004057b0
push eax
call ebx
mov eax, esi
call fcn.004057b0
push eax
call ebp
cmp eax, 0xffffffff
jne 0x40b9b4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 1
cmp edi, 3
jl 0x40b971
pop edi
pop ebp
xor al, al
pop ebx
ret
pop edi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x40b9c0
Capabilities:
Check if file exists
Get file attributes
Get file size
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45d838
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push esi
mov byte [esp + 0x3b], bl
mov byte [ecx + 4], bl
call fcn.00405fd0
lea eax, [esp + 0x54]
push eax
call fcn.0040b5c0
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x68], ebx
call fcn.00405fd0
mov ebp, 0x10
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x50], ebp
jb 0x40ba47
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0043bef7
add esp, 4
cmp dword [esi + 0x18], ebp
mov edi, dword [esi + 0x14]
mov eax, edi
jb 0x40ba56
mov eax, dword [esi + 4]
jmp 0x40ba59
lea eax, [esi + 4]
push eax
xor eax, eax
mov ecx, 0x463cd3
call fcn.00401050
add esp, 4
cmp eax, ebx
jne 0x40ba7c
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
je 0x40bba4
mov dword [esp + 0x14], ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push esi
mov byte [ecx + 4], bl
call fcn.00405fd0
mov ecx, dword [esp + 0x80]
call fcn.0040f0d0
add esp, 0x1c
cmp al, bl
je 0x40bb90
xor edi, edi
mov eax, esi
call fcn.004057b0
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call ebp
cmp eax, 0xffffffff
je 0x40baeb
test al, 2
je 0x40baeb
and eax, 0xfffffffd
push eax
mov eax, esi
call fcn.004057b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add edi, 1
cmp edi, 3
jl 0x40bab8
mov eax, esi
call fcn.004057b0
push eax
call ebp
cmp eax, 0xffffffff
je 0x40bb90
test al, 2
jne 0x40bb90
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00405fd0
mov eax, dword [esp + 0x20]
xor ebp, ebp
cmp dword [esp + 0x34], 0x10
jae 0x40bb34
lea eax, [esp + 0x20]
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40bb63
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x34], 0x10
jb 0x40bb77
mov edx, dword [esp + 0x20]
push edx
call fcn.0043bef7
add esp, 4
mov eax, dword [esp + 0x64]
cmp ebp, dword [eax + 0x14]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
je 0x40bbbb
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x40ba80
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x50
ret
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x40d1b0
Capabilities:
Write file on windows

Disassembly:
cmp dword [edi + 0x1c], 0x10
push ebx
mov ebx, dword [esp + 8]
push esi
jb 0x40d1c1
mov eax, dword [edi + 8]
jmp 0x40d1c4
lea eax, [edi + 8]
push 0x464268
push eax
call fcn.0043c403
mov esi, eax
add esp, 8
test esi, esi
je 0x40d1fe
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40d1e0
push esi
sub eax, edx
push 1
push eax
push ebx
call fcn.0043c2bd
push esi
call fcn.0043c488
add esp, 0x14
pop esi
mov eax, edi
pop ebx
ret 4
Function at 0x40efe0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45b538
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x40f025
lea eax, [esp + 0x2c]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40f09a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.0043c776
mov edi, eax
add esp, 4
test edi, edi
je 0x40f093
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x40f08a
cmp dword [esp + 0x10], esi
jne 0x40f08a
mov ecx, dword [esp + 0x14]
push esi
push edi
call fcn.004056b0
push edi
call fcn.0043c771
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x40], 0x10
jb 0x40f0ae
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043bef7
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x40f0d0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov ebx, 0x10
cmp dword [esp + 0x24], ebx
push edi
mov esi, ecx
jae 0x40f0e8
lea eax, [esp + 0x14]
push 0x464304
push eax
call fcn.0043c403
mov edi, eax
add esp, 8
test edi, edi
je 0x40f13f
cmp dword [esi + 0x18], ebx
mov eax, dword [esi + 0x14]
jb 0x40f109
mov esi, dword [esi + 4]
jmp 0x40f10c
add esi, 4
push edi
push 1
push eax
push esi
call fcn.0043c2bd
push edi
mov esi, eax
call fcn.0043c488
add esp, 0x14
cmp esi, 1
jne 0x40f13f
cmp dword [esp + 0x28], ebx
jb 0x40f139
mov eax, dword [esp + 0x14]
push eax
call fcn.0043bef7
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
cmp dword [esp + 0x28], ebx
jb 0x40f152
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043bef7
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4103d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov ebx, 0x10
cmp eax, ebx
push edi
mov byte [esp + 0x10], 0x37
mov byte [esp + 0x11], 0x58
mov byte [esp + 0x12], 0x81
mov byte [esp + 0x13], 0x77
mov byte [esp + 0x14], 0x5b
mov byte [esp + 0x15], 0xf8
mov byte [esp + 0x16], 0xa
mov byte [esp + 0x17], 0x70
mov byte [esp + 0x18], 0x66
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x9c
mov byte [esp + 0x1b], 0xb4
mov byte [esp + 0x1c], 0xff
mov byte [esp + 0x1d], 0xa0
mov byte [esp + 0x1e], 0x9e
mov byte [esp + 0x1f], 0x97
mov byte [esp + 0x20], 3
mov byte [esp + 0x21], 0x30
mov byte [esp + 0x22], 0xb7
mov byte [esp + 0x23], 0x4e
mov byte [esp + 0x24], 0xa7
mov byte [esp + 0x25], 0x39
mov byte [esp + 0x26], 0x23
mov byte [esp + 0x27], 0x5a
mov byte [esp + 0x28], 0x64
mov byte [esp + 0x29], 0x2b
mov byte [esp + 0x2a], 0x41
mov byte [esp + 0x2b], 0x4f
mov byte [esp + 0x2c], 0x31
mov byte [esp + 0x2d], 0xce
mov byte [esp + 0x2e], 0x90
mov byte [esp + 0x2f], 0x9a
lea edi, [esi + 4]
jb 0x41049b
mov ecx, dword [edi]
jmp 0x41049d
mov ecx, edi
lea edx, [esp + 0x10]
cmp edx, ecx
jb 0x4104d4
cmp eax, ebx
jb 0x4104ad
mov ecx, dword [edi]
jmp 0x4104af
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x10]
cmp edx, ecx
jbe 0x4104d4
cmp eax, ebx
jb 0x4104c2
mov edi, dword [edi]
push ebx
lea edx, [esp + 0x14]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.00405fd0
jmp 0x41050f
cmp eax, ebx
jae 0x4104e4
mov eax, dword [esi + 0x14]
push eax
push ebx
mov ecx, esi
call fcn.004066f0
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x4104ef
mov eax, dword [edi]
jmp 0x4104f1
mov eax, edi
push ebx
lea edx, [esp + 0x14]
push edx
push ecx
push eax
call fcn.0043b894
add esp, 0x10
cmp dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
jb 0x41050b
mov edi, dword [edi]
mov byte [edi + 0x10], 0
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
lea esi, [ebp + 4]
jb 0x41051d
mov eax, dword [esi]
jmp 0x41051f
mov eax, esi
lea edx, [esp + 0x20]
cmp edx, eax
jb 0x410567
cmp ecx, ebx
jb 0x41052f
mov eax, dword [esi]
jmp 0x410531
mov eax, esi
mov edx, dword [ebp + 0x14]
add edx, eax
lea eax, [esp + 0x20]
cmp edx, eax
jbe 0x410567
cmp ecx, ebx
jb 0x410544
mov esi, dword [esi]
push ebx
lea ecx, [esp + 0x24]
sub ecx, esi
push ecx
push ebp
mov ecx, ebp
call fcn.00405fd0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043b82a
add esp, 0x24
ret
cmp ecx, ebx
jae 0x410577
mov edx, dword [ebp + 0x14]
push edx
push ebx
mov ecx, ebp
call fcn.004066f0
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
jb 0x410582
mov eax, dword [esi]
jmp 0x410584
mov eax, esi
push ebx
lea edx, [esp + 0x24]
push edx
push ecx
push eax
call fcn.0043b894
add esp, 0x10
cmp dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], ebx
jb 0x41059e
mov esi, dword [esi]
mov ecx, dword [esp + 0x30]
pop edi
mov byte [esi + 0x10], 0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b82a
add esp, 0x24
ret
Function at 0x4105c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45e338
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0xf
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 1
call fcn.004103d0
mov ecx, dword [esp + 0x34]
mov ebp, 0x10
add esp, 4
cmp dword [esp + 0x44], ebp
mov dword [esp + 0xc], 1
jae 0x410644
lea ecx, [esp + 0x30]
cmp dword [esp + 0x60], ebp
mov eax, dword [esp + 0x4c]
jae 0x410652
lea eax, [esp + 0x4c]
push ebx
lea edx, [esp + 0x10]
push edx
push ecx
push eax
mov ecx, esi
lea edx, [esp + 0x20]
call fcn.00413e50
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x7c], 2
call fcn.00405fd0
cmp dword [esp + 0x28], ebp
jb 0x41068b
mov eax, dword [esp + 0x14]
push eax
call fcn.0043bef7
add esp, 4
cmp dword [esp + 0x44], ebp
jb 0x41069e
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0043bef7
add esp, 4
cmp dword [esp + 0x60], ebp
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x4106c1
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043bef7
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0043b82a
add esp, 0x68
ret
Function at 0x4106e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45e338
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0xf
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 1
call fcn.004103d0
mov eax, dword [esp + 0x34]
mov ebp, 0x10
add esp, 4
cmp dword [esp + 0x44], ebp
mov dword [esp + 0xc], 1
jae 0x410764
lea eax, [esp + 0x30]
cmp dword [esp + 0x60], ebp
mov edx, dword [esp + 0x4c]
jae 0x410772
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00414300
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x7c], 2
call fcn.00405fd0
cmp dword [esp + 0x28], ebp
jb 0x4107a8
mov edx, dword [esp + 0x14]
push edx
call fcn.0043bef7
add esp, 4
cmp dword [esp + 0x44], ebp
jb 0x4107bb
mov eax, dword [esp + 0x30]
push eax
call fcn.0043bef7
add esp, 4
cmp dword [esp + 0x60], ebp
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x4107de
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0043bef7
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0043b82a
add esp, 0x68
ret
Function at 0x413bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d35e
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0x14], 2
mov dword [esi], vtable.CryptoPP::Grouper.0
mov dword [esi + 4], vtable.CryptoPP::Grouper.1.0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov byte [esp + 0x14], 6
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x413c5c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov dword [esi + 0xc], edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4162e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d0b1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push 1
push eax
push ecx
lea edi, [esp + 0x1c]
mov dword [esp + 0x30], 1
call fcn.00416590
push eax
push esi
call fcn.00431270
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x416363
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x4163e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d0b1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esp + 0x1c]
mov dword [esp + 0x30], 1
call fcn.004167b0
push eax
push esi
call fcn.00431270
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x416462
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x416480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d0b1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.00416700
push eax
push esi
call fcn.00431270
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x416501
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x416d40
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 8
push esi
push 0
push 0
push 0
push 1
push 0
mov esi, eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [edi], eax
jne 0x416d63
xor al, al
pop esi
add esp, 8
ret
push ebp
mov ebp, 0x10
cmp dword [esi + 0x44], ebp
jb 0x416d73
mov ecx, dword [esi + 0x30]
jmp 0x416d76
lea ecx, [esi + 0x30]
movzx edx, word [esi + 0x48]
push 0
push 0
push 3
push 0
push 0
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [edi + 4], eax
jne 0x416d9c
pop ebp
xor al, al
pop esi
add esp, 8
ret
cmp dword [esi + 0x64], ebp
jb 0x416da6
mov edx, dword [esi + 0x50]
jmp 0x416da9
lea edx, [esi + 0x50]
cmp dword [esi + 0x28], ebp
jb 0x416db3
mov ecx, dword [esi + 0x14]
jmp 0x416db6
lea ecx, [esi + 0x14]
push ebx
mov ebx, dword [esi + 0xc]
push 0
push ebx
push 0
push 0
push str.HTTP_1.0
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [edi + 8], eax
je 0x416e5e
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
push esi
push 2
push eax
call ebx
test eax, eax
je 0x416e5e
mov ecx, dword [edi + 8]
push 4
lea eax, [esi + 4]
push eax
push 5
push ecx
call ebx
test eax, eax
je 0x416e5e
mov eax, dword [edi + 8]
push 4
lea edx, [esi + 8]
push edx
push 6
push eax
call ebx
test eax, eax
je 0x416e5e
test dword [esi + 0xc], 0x800000
je 0x416e67
mov eax, dword [edi + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x1f
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
je 0x416e5e
mov edx, dword [edi + 8]
or dword [esp + 0xc], 0x3380
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1f
push edx
call ebx
test eax, eax
jne 0x416e67
pop ebx
pop ebp
xor al, al
pop esi
add esp, 8
ret
cmp dword [esi + 0x9c], ebp
mov edx, dword [esi + 0x98]
jb 0x416e7d
mov ecx, dword [esi + 0x88]
jmp 0x416e83
lea ecx, [esi + 0x88]
cmp dword [esi + 0x80], ebp
mov eax, dword [esi + 0x7c]
jb 0x416e93
mov esi, dword [esi + 0x6c]
jmp 0x416e96
add esi, 0x6c
push edx
push ecx
push eax
mov eax, dword [edi + 8]
push esi
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
pop ebx
test eax, eax
pop ebp
setne al
pop esi
add esp, 8
ret