joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403570
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf0
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0xec], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0xe1
lea eax, [esp + 0xc]
push eax
call fcn.005040c4
cmp eax, 0xffffffff
jne 0x4035ff
push str._when_getting_local_host_name.
push ecx
call fcn.005040b2
push eax
push ecx
push str.Error
push 0x53a6e8
call fcn.00408cc0
add esp, 0xc
push eax
call fcn.00403d60
add esp, 4
push eax
call fcn.00408cc0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403ee0
mov ecx, esi
call fcn.00404000
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.00453735
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
push ecx
push ecx
push str.Host_name_is:
push 0x53a6e8
call fcn.00408cc0
add esp, 0xc
push eax
call fcn.00408cc0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403ee0
mov ecx, esi
call fcn.00404000
lea edx, [esp + 8]
push edx
call fcn.005040a6
test eax, eax
jne 0x403654
push str.Yow_Bad_host_lookup.
push 0x53a6e8
call fcn.00408cc0
add esp, 8
jmp 0x4035e6
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
je 0x4035e6
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.005040be
mov edx, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x403668
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00453735
mov esp, ebp
pop ebp
ret

Function at 0x403690
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
lea eax, [esp + 8]
push eax
push 0x101
call fcn.005040b8
test eax, eax
je 0x4036d6
mov eax, 0xff
pop esi
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00453735
mov esp, ebp
pop ebp
ret
push str.ICMP.DLL
call dword [0x50f1bc]
mov dword [0x54cb60], eax
test eax, eax
jne 0x40372b
push str.Unable_to_locate_ICMP.DLL_
push 0x53a7a0
call fcn.00408cc0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403ee0
mov ecx, esi
call fcn.00404000
call fcn.005040ac
mov eax, 1
pop esi
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00453735
mov esp, ebp
pop ebp
ret
mov esi, dword [0x50f0a0]
push str.IcmpCreateFile
push eax
call esi
mov ecx, dword [0x54cb60]
push str.IcmpCloseHandle
push ecx
mov dword [0x54cb64], eax
call esi
mov edx, dword [0x54cb60]
push str.IcmpSendEcho
push edx
mov dword [0x54cb68], eax
call esi
cmp dword [0x54cb64], 0
mov dword [0x54cb6c], eax
je 0x40378f
cmp dword [0x54cb68], 0
je 0x40378f
test eax, eax
je 0x40378f
xor eax, eax
pop esi
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00453735
mov esp, ebp
pop ebp
ret
push str.Failed_to_get_proc_addr_for_function.
push 0x53a7a0
call fcn.00408cc0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403ee0
mov ecx, esi
call fcn.00404000
mov eax, dword [0x54cb60]
push eax
call dword [0x50f100]
call fcn.005040ac
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
mov eax, 2
call fcn.00453735
mov esp, ebp
pop ebp
ret
Function at 0x409ed0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
mov edi, 8
cmp dword [esi + 0x28], edi
jb 0x409ee6
mov eax, dword [esi + 0x14]
jmp 0x409ee9
lea eax, [esi + 0x14]
mov edx, dword [esi + 4]
lea ecx, [esp + 8]
push ecx
push 1
push 0
push eax
push edx
call dword [0x50f034]
mov dword [esi], eax
test eax, eax
je 0x409f2c
mov dword [esp + 0x14], vtable.snutil::String.0
cmp dword [esp + 0x30], edi
jb 0x409fa7
mov eax, dword [esp + 0x1c]
push eax
call fcn.00453344
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret 0x20
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 1
cmp dword [esp + 0x30], edi
jae 0x409f42
lea eax, [esp + 0x1c]
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push eax
push edx
call dword [0x50f030]
mov dword [esi], eax
mov eax, dword [esp + 8]
push eax
call dword [0x50f040]
cmp dword [esi], 0
mov dword [esp + 0x14], vtable.snutil::String.0
jne 0x409f94
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x30], edi
jb 0x409f8a
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00453344
add esp, 4
pop edi
mov eax, esi
pop esi
add esp, 8
ret 0x20
cmp dword [esp + 0x30], edi
jb 0x409fa7
mov edx, dword [esp + 0x1c]
push edx
call fcn.00453344
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret 0x20
Function at 0x40a9c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50d27b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0xa
lea eax, [esp + 0x40]
push eax
xor edi, edi
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
call fcn.005052dd
add esp, 0xc
xor edx, edx
mov dword [esp + 0x14], vtable.snutil::String.0
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], dx
lea eax, [esp + 0x3c]
mov dword [esp + 0x90], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40aa43
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
call fcn.004053d0
mov dword [esp + 0x90], 1
cmp dword [esp + 0x30], 8
mov esi, dword [esp + 0x1c]
jae 0x40aa7b
lea esi, [esp + 0x1c]
lea ecx, [ebx + 4]
mov dword [ebx], vtable.snutil::String.0
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
mov word [ecx + 4], dx
mov eax, esi
mov byte [esp + 0x90], 2
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40aaa1
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.004053d0
cmp dword [esp + 0x30], 8
mov dword [esp + 0x14], vtable.snutil::String.0
jb 0x40aad3
mov eax, dword [esp + 0x1c]
push eax
call fcn.00453344
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00453735
mov esp, ebp
pop ebp
ret
Function at 0x40ade0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x50d1d3
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
lea esi, [ecx + 4]
xor edi, edi
push 0xffffffffffffffff
xor ecx, ecx
push edi
mov word [esp + 0x30], cx
mov dword [esp + 0x1c], edi
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
call fcn.004052d0
mov eax, ebx
mov dword [esp + 0x4c], edi
lea edx, [eax + 2]
jmp 0x40ae60
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40ae60
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
mov eax, ebp
lea edx, [eax + 2]
jmp 0x40ae80
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40ae80
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, ebx
lea edx, [eax + 2]
jmp 0x40aea0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40aea0
sub eax, edx
sar eax, 1
push eax
push edi
push ebx
lea ecx, [esp + 0x30]
call fcn.0040b580
mov edi, eax
cmp edi, 0xffffffff
je 0x40af1c
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40aec7
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
push eax
push ebp
push edx
lea esi, [esp + 0x30]
call fcn.0040b380
mov eax, ebx
lea edx, [eax + 2]
jmp 0x40aef0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40aef0
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x24]
add edi, eax
push edi
push ebx
lea ecx, [esp + 0x30]
call fcn.0040b580
mov edi, eax
cmp edi, 0xffffffff
jne 0x40aec2
mov esi, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004052d0
mov ebp, 8
cmp dword [esi + 0x18], ebp
jb 0x40af3b
mov esi, dword [esi + 4]
jmp 0x40af3e
add esi, 4
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + 4]
mov dword [ebx], vtable.snutil::String.0
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov word [ecx + 4], dx
mov eax, esi
mov byte [esp + 0x4c], 1
lea edi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40af70
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.004053d0
cmp dword [esp + 0x3c], ebp
jb 0x40af99
mov eax, dword [esp + 0x28]
push eax
call fcn.00453344
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00453735
add esp, 0x3c
ret 0xc
Function at 0x40c740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x50d139
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov bx, cx
mov ebp, dword [esp + 0x70]
xor esi, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
mov edi, 1
mov ecx, ebp
mov dword [esp + 0x68], edi
call fcn.00404060
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], esi
mov word [esp + 0x44], ax
movzx ecx, bx
push edi
mov byte [esp + 0x6c], 2
push eax
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esp + 0x80]
call fcn.0040b580
mov edi, eax
cmp edi, 0xffffffff
je 0x40c908
movzx eax, bx
mov dword [esp + 0x18], eax
jmp 0x40c7e0
mov ecx, edi
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x80]
call fcn.00404460
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 3
call fcn.004052d0
mov ebx, 8
mov byte [esp + 0x68], 2
cmp dword [esp + 0x3c], ebx
jb 0x40c827
mov eax, dword [esp + 0x28]
push eax
call fcn.00453344
add esp, 4
push 1
lea esi, [edi + 1]
push esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x80]
call fcn.0040b580
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
mov edi, eax
call fcn.00404190
cmp edi, 0xffffffff
jne 0x40c7e0
test esi, esi
je 0x40c8a7
mov ecx, dword [esp + 0x88]
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x80]
call fcn.00404460
push edi
push 0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 4
call fcn.004052d0
mov byte [esp + 0x68], 2
cmp dword [esp + 0x3c], ebx
jb 0x40c89b
mov eax, dword [esp + 0x28]
push eax
call fcn.00453344
add esp, 4
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.00404190
cmp dword [esp + 0x58], ebx
jb 0x40c8ba
mov edx, dword [esp + 0x44]
push edx
call fcn.00453344
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
cmp dword [esp + 0x8c], ebx
jb 0x40c8e7
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00453344
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00453735
add esp, 0x58
ret
lea eax, [esp + 0x74]
push eax
mov ecx, ebp
call fcn.00404190
mov ebx, 8
jmp 0x40c8a7

Function at 0x40dc30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00453ec0
add esp, 0xc
push 0
push 0x1a
lea edx, [esp + 8]
push edx
push 0
call dword [0x50f3a4]
lea eax, [esp]
push eax
call fcn.00504cb0
mov ecx, dword [esp + 0x20c]
add esp, 4
xor ecx, esp
call fcn.00453735
add esp, 0x20c
ret
Function at 0x40dc90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00453ec0
add esp, 0xc
push 0
push 0x1c
lea edx, [esp + 8]
push edx
push 0
call dword [0x50f3a4]
lea eax, [esp]
push eax
call fcn.00504cb0
mov ecx, dword [esp + 0x20c]
add esp, 4
xor ecx, esp
call fcn.00453735
add esp, 0x20c
ret

Function at 0x40dcf0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00453ec0
add esp, 0xc
push 0
push 0x28
lea edx, [esp + 8]
push edx
push 0
call dword [0x50f3a4]
lea eax, [esp]
push eax
call fcn.00504cb0
mov ecx, dword [esp + 0x20c]
add esp, 4
xor ecx, esp
call fcn.00453735
add esp, 0x20c
ret
Function at 0x4108f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x50d682
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x528bbc
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.00411bb0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.00412810
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov edx, dword [0x54cbb4]
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x28]
push eax
mov ebx, esi
mov byte [esp + 0x20], 2
call fcn.00411c50
test eax, eax
jne 0x4109ea
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x4109e2
or eax, 4
push 0
push eax
call fcn.00401690
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
Function at 0x412810
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x50b91b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0050463f
push 4
mov dword [esp + 0x24], 0
call fcn.00453dd6
mov edi, eax
add esp, 4
test edi, edi
je 0x412892
call fcn.0050447c
mov dword [edi], eax
call fcn.005042aa
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00504600
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x412887
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00504628
jmp 0x412894
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x413490
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
sub esp, 0x42c
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x428], eax
mov eax, dword [esp + 0x434]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x43c]
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
or edi, 0xffffffff
push 0x522690
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], 4
mov dword [esp + 0x30], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp ebp, ebx
je 0x413671
push ebx
push 0x80000000
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
je 0x41366a
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push 0x20000005
push esi
call edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
push 0x13
push esi
mov byte [esp + 0x44], bl
mov dword [esp + 0x45], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], 4
call edi
test eax, eax
je 0x41365f
cmp byte [esp + 0x30], 0x32
jne 0x41365f
mov al, 0x30
cmp byte [esp + 0x31], al
jne 0x41365f
cmp byte [esp + 0x32], al
jne 0x41365f
mov eax, dword [esp + 0x10]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [0x50f0b0]
mov ebp, eax
cmp ebp, ebx
je 0x41365b
cmp ebp, 0xffffffff
je 0x41365b
mov ecx, dword [esp + 0x448]
push ebx
push ebx
push ebx
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
push 0x3ff
lea edx, [esp + 0x3d]
push ebx
push edx
mov byte [esp + 0x44], bl
call fcn.00453ec0
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x400
lea ecx, [esp + 0x40]
push ecx
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call edi
test eax, eax
je 0x413654
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x413650
push ebx
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x44]
push eax
push ebp
call dword [0x50f1c0]
test eax, eax
je 0x413654
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x10]
jne 0x413654
push 0x3ff
lea edx, [esp + 0x3d]
push ebx
push edx
mov byte [esp + 0x44], bl
call fcn.00453ec0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x400
lea ecx, [esp + 0x40]
push ecx
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call edi
test eax, eax
jne 0x4135f0
jmp 0x413654
mov dword [esp + 0x1c], ebx
push ebp
call dword [0x50f1f4]
mov ebp, dword [esp + 0x18]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [esp + 0x1c]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x438]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00453735
add esp, 0x42c
ret
Function at 0x413740
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xc]
mov esi, dword [edi + 4]
mov dword [edi + 0xc], eax
mov dword [edi + 8], ecx
cmp dword [esi + 0x10], 0
mov dword [esi + 0x18], eax
jne 0x4137aa
lea edx, [esi + 4]
push edx
push 4
push esi
push 0x415850
push 0
push 0
call fcn.0050581a
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
je 0x4137aa
push 0
push eax
call dword [0x50f188]
mov eax, dword [esi + 0x10]
push eax
call dword [0x50f178]
cmp dword [esp + 0x14], 0
je 0x4137a0
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
pop edi
mov eax, 1
pop esi
ret 0xc
pop edi
xor eax, eax
pop esi
ret 0xc

Function at 0x4139d0
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x50cfa8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
xor ebx, ebx
push 0x40
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], vtable.snutil::CMD5Checksum.0
call fcn.00453ec0
add esp, 0xc
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], 0x67452301
mov dword [esp + 0x64], 0xefcdab89
mov dword [esp + 0x68], 0x98badcfe
mov dword [esp + 0x6c], 0x10325476
mov eax, dword [esp + 0x8c]
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], ebx
call fcn.004144b0
mov edx, esi
lea ecx, [esp + 0x14]
call fcn.00414190
mov eax, esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00453735
add esp, 0x70
ret
Function at 0x414e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x50cf11
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov ecx, 0xf
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov edx, 1
mov dword [esp + 0x6c], edx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], edx
call fcn.00404e40
mov eax, dword [esp + 0x58]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x1c], eax
jle 0x414fd1
jmp 0x414ef4
mov eax, dword [esp + 0x58]
cmp eax, ebp
ja 0x414efd
call fcn.00453301
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x414f0c
lea eax, [esp + 0x48]
mov al, byte [eax + ebp]
mov byte [esp + 0x18], al
mov esi, dword [esp + 0x18]
push esi
call fcn.00414df0
test al, al
jne 0x414f93
movsx ecx, byte [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push 0x528c8c
push edx
call fcn.00504f62
lea eax, [esp + 0x20]
add esp, 0xc
mov byte [esp + 0x15], bl
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414f54
sub eax, edx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.00404f20
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
mov byte [esp + 0x78], 2
call fcn.00407950
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x3c], 0x10
jb 0x414fc6
mov edx, dword [esp + 0x28]
push edx
jmp 0x414fbe
push esi
lea esi, [esp + 0x28]
call fcn.00414b70
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x78], 3
call fcn.00407950
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x3c], 0x10
jb 0x414fc6
mov eax, dword [esp + 0x28]
push eax
call fcn.00453344
add esp, 4
inc ebp
cmp ebp, dword [esp + 0x1c]
jl 0x414ef0
cmp dword [esp + 0x5c], 0x10
jb 0x414fe5
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00453344
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00453735
add esp, 0x5c
ret 8