joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f1f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x457c09
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
mov eax, dword [0x467334]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], eax
mov byte [edi + 4], dl
mov dword [esp + 0x24], edx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], 1
lea ebp, [esi + 4]
cmp eax, 0x10
jb 0x42f250
mov ecx, dword [ebp]
jmp 0x42f252
mov ecx, ebp
mov ebx, dword [esi + 0x14]
add ecx, ebx
mov dword [esp + 0x10], ecx
cmp ecx, edx
je 0x42f281
cmp eax, 0x10
jb 0x42f269
mov edx, dword [ebp]
jmp 0x42f26b
mov edx, ebp
cmp edx, ecx
ja 0x42f281
cmp eax, 0x10
jb 0x42f279
mov eax, dword [ebp]
jmp 0x42f27b
mov eax, ebp
add ebx, eax
cmp ecx, ebx
jbe 0x42f286
call fcn.0043c74a
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x42f293
mov ebx, dword [ebp]
jmp 0x42f295
mov ebx, ebp
test ebx, ebx
je 0x42f2ba
cmp ecx, 0x10
jb 0x42f2a3
mov eax, dword [ebp]
jmp 0x42f2a5
mov eax, ebp
cmp eax, ebx
ja 0x42f2ba
cmp ecx, 0x10
jb 0x42f2b1
mov ebp, dword [ebp]
mov ecx, dword [esi + 0x14]
add ecx, ebp
cmp ebx, ecx
jbe 0x42f2bf
call fcn.0043c74a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x30]
push esi
push ebx
push esi
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0042fe50
add esp, 0x24
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x431f60
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x68
mov eax, dword [0x467334]
xor eax, esp
mov dword [esp + 0x64], eax
lea eax, [esp]
push eax
push 0x62
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x431fe0
cmp eax, 0xc7
jbe 0x431fa2
push eax
push str.9b9b64a172c1bd2f
call fcn.0043c75a
add esp, 8
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x68
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.631395efa4d93d856fab7f9d0bf7a42
call esi
test eax, eax
jne 0x431fd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetCurrentDirectory_failed___d_
call fcn.0043c75a
add esp, 8
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x68
ret
lea ecx, [esp + 4]
push ecx
call esi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x68
ret

Function at 0x432060
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x2000
push edi
call fcn.0043c523
push str.800f4aff32e11809ad834c1f498f
mov esi, eax
mov dword [esp + 0x14], edi
call fcn.0043c75a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 8
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0
push str.e00fbadfe2d5fba751
push 0x80000004
call ebx
cmp eax, 0xea
jne 0x4320d8
add edi, 0x1000
push edi
push esi
call fcn.0043c8db
add esp, 8
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
push esi
push 0
push 0
push str.0bb3b813147f6df5db4d547b9a2b56c
push 0x80000004
mov dword [esp + 0x24], edi
call ebx
cmp eax, 0xea
je 0x4320a5
test eax, eax
jne 0x4320ef
push edi
push str.d6c37a4fa5cd6b552393bdb38ea_d
call fcn.0043c75a
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
push eax
push str.d795490bb5577b4b__d_
call fcn.0043c75a
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x432110
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x68
mov eax, dword [0x467334]
xor eax, esp
mov dword [esp + 0x64], eax
lea eax, [esp]
push eax
push 0xb1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x432191
cmp eax, 0x38
jbe 0x432153
push eax
push str.5b13c8a7bc03eb8d8673e60fafafad5
call fcn.0043c75a
add esp, 8
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x68
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.518b06d12613a3f74ca5
call esi
test eax, eax
jne 0x432189
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetCurrentDirectory_failed___d_
call fcn.0043c75a
add esp, 8
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x68
ret
lea ecx, [esp + 4]
push ecx
call esi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x68
ret
Function at 0x432210
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x2000
push edi
call fcn.0043c523
push str.4a315a3fdec99f7b
mov esi, eax
mov dword [esp + 0x14], edi
call fcn.0043c75a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 8
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0
push str.b333834d4887001f4be3f7d311b
push 0x80000004
call ebx
cmp eax, 0xea
jne 0x432288
add edi, 0x1000
push edi
push esi
call fcn.0043c8db
add esp, 8
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
push esi
push 0
push 0
push str.299f67d5c46d8d51a98d37778fbb035
push 0x80000004
mov dword [esp + 0x24], edi
call ebx
cmp eax, 0xea
je 0x432255
test eax, eax
jne 0x43229f
push edi
push str.acb139bb35979c790e57238f084_d
call fcn.0043c75a
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
push eax
push str.02279debfbc7909b813bf2e__d_
call fcn.0043c75a
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4322c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x270
mov eax, dword [0x467334]
xor eax, esp
mov dword [esp + 0x268], eax
push esi
push 0x103
lea eax, [esp + 0x165]
push 0
push eax
mov byte [esp + 0x16c], 0
call fcn.00444d20
add esp, 0xc
xor esi, esi
call fcn.0043c831
cdq
mov ecx, 0x5c
idiv ecx
inc esi
add dl, 0x3f
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x4322f6
xor eax, eax
lea edx, [esp + 0x160]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x432377
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x432377
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
mov dword [esp + 8], edx
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [esp + 0x26c]
pop esi
xor ecx, esp
call fcn.0043c2d9
add esp, 0x270
ret
Function at 0x432390
Capabilities:
Get file size
Get system information on windows
Write file on windows

Disassembly:
sub esp, 0x30
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push str.be837f53daa596c981f5
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x432471
push ebx
push ebp
push edi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x38]
xor edx, edx
mov eax, 0xdb
div ecx
xor edx, edx
mov edi, ecx
mov dword [esp + 0x10], 0
mov ebp, eax
mov eax, 0x11
imul ebp, ecx
div ecx
mov ebx, edx
add ebx, 0x78
mov dword [esp + 0x14], ebx
test ecx, ecx
jle 0x432424
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x432402
mov ebx, dword [esp + 0x14]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0xff
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
je 0x43246e
push ebx
push ebp
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x43246e
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x30
ret

Function at 0x432560
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x20
mov eax, dword [0x467334]
xor eax, esp
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4325e7
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4325b0
sub ecx, edi
push ecx
push eax
lea ecx, [esp + 0x10]
call fcn.004033f0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [esp + 0x20], 0x10
pop edi
pop esi
jb 0x4325e7
mov eax, dword [esp + 4]
push eax
call fcn.0043c853
add esp, 4
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x20
ret
Function at 0x432600
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x2000
push edi
call fcn.0043c523
push str.4b1b9fd70249f05bbfb
mov esi, eax
mov dword [esp + 0x14], edi
call fcn.0043c75a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 8
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0
push str.304f93850f7519dbb367a261
push 0x80000004
call ebx
cmp eax, 0xea
jne 0x432678
add edi, 0x1000
push edi
push esi
call fcn.0043c8db
add esp, 8
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
push esi
push 0
push 0
push str.a87bcd57cae73d2b176
push 0x80000004
mov dword [esp + 0x24], edi
call ebx
cmp eax, 0xea
je 0x432645
test eax, eax
jne 0x43268f
push edi
push str.aa2111ef5aa746f1da19_d
call fcn.0043c75a
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
push eax
push str.69c55f7bc1974467e7e__d_
call fcn.0043c75a
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x432720
Capabilities:
Get file size
Get system information on windows
Write file on windows

Disassembly:
sub esp, 0x30
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push str.070d4b29aa4f23d92629b6d110f
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x432804
push ebx
push ebp
push edi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x38]
xor edx, edx
mov eax, 0x6f
div ecx
xor edx, edx
mov edi, ecx
mov dword [esp + 0x10], 0
mov ebp, eax
mov eax, 0xe7
imul ebp, ecx
div ecx
mov ebx, edx
add ebx, 0xe9
mov dword [esp + 0x14], ebx
test ecx, ecx
jle 0x4327b7
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x432795
mov ebx, dword [esp + 0x14]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x9c
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
je 0x432801
push ebx
push ebp
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x432801
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x30
ret
Function at 0x432810
Capabilities:
Get file size
Get system information on windows
Write file on windows

Disassembly:
sub esp, 0x30
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push str.70a5df39b19f216bd8efea0baa9d
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4328ee
push ebx
push ebp
push edi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x38]
xor edx, edx
mov eax, 0x85
div ecx
xor edx, edx
mov edi, ecx
mov dword [esp + 0x10], 0
mov ebp, eax
mov eax, 3
imul ebp, ecx
div ecx
mov ebx, edx
add ebx, 0x1d
mov dword [esp + 0x14], ebx
test ecx, ecx
jle 0x4328a4
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x432882
mov ebx, dword [esp + 0x14]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x4f
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
je 0x4328eb
push ebx
push ebp
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4328eb
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x30
ret

Function at 0x432970
Capabilities:
Get file size
Get system information on windows
Write file on windows

Disassembly:
sub esp, 0x30
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push str.9163b1e9fc67539b7
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x432a54
push ebx
push ebp
push edi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x38]
xor edx, edx
mov eax, 0xe0
div ecx
xor edx, edx
mov edi, ecx
mov dword [esp + 0x10], 0
mov ebp, eax
mov eax, 0xa3
imul ebp, ecx
div ecx
mov ebx, edx
add ebx, 0xe6
mov dword [esp + 0x14], ebx
test ecx, ecx
jle 0x432a07
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x4329e5
mov ebx, dword [esp + 0x14]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x15c
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
je 0x432a51
push ebx
push ebp
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x432a51
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x30
ret
Function at 0x432c80
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x453668
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x467334]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x3c
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x5c], 0
call fcn.00444d20
mov eax, 0x2800
mov edi, pe_nt_image_headers32
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], 0x3c
cmp dword [esp + 0x70], edi
jae 0x432cf2
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x432d3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x70], edi
jb 0x432d22
mov eax, dword [esp + 0x5c]
push eax
call fcn.0043c853
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x48
ret 0x1c
cmp dword [esp + 0x20], 0
jne 0x432d6e
cmp dword [esp + 0x70], edi
jb 0x432d22
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0043c853
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x48
ret 0x1c
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x432da2
cmp dword [esp + 0x70], edi
jb 0x432d22
mov edx, dword [esp + 0x5c]
push edx
call fcn.0043c853
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x48
ret 0x1c
mov dx, word [esp + 0x24]
test dx, dx
jne 0x432dce
lea ecx, [esp + 0x58]
call fcn.00402c70
mov eax, 0x80004005
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x48
ret 0x1c
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x432dac
mov eax, ecx
sub eax, 1
je 0x432df3
sub eax, 2
je 0x432de7
sub eax, 1
jne 0x432dac
mov dword [esi + 0x94], 3
jmp 0x432dfd
mov dword [esi + 0x94], 1
mov eax, dword [esp + 0x10]
push ebx
mov dword [esi + 0x1c], ecx
push eax
mov ecx, esi
mov word [esi + 0x3c], dx
call fcn.004033f0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esi + 0x20]
call fcn.004033f0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.004033f0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esi + 0x5c]
call fcn.004033f0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.004033f0
lea ecx, [esp + 0x58]
call fcn.00402c70
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x48
ret 0x1c
Function at 0x433fb0
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4565eb
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.0044d3e0
mov eax, dword [0x467334]
xor eax, esp
mov dword [esp + 0x1018], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467334]
xor eax, esp
push eax
lea eax, [esp + 0x1030]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x17]
mov esi, ecx
mov byte [esp + 0x17], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x434000
sub eax, edx
mov eax, ebx
setne al
sub eax, 1
jne 0x43401d
call fcn.00419f50
call fcn.00432060
lea eax, [esp + 0x17]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x17], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x434030
sub eax, edx
je 0x434040
call fcn.00418740
call fcn.0043c831
cdq
mov ecx, 0x14
idiv ecx
mov edi, edx
inc edi
call fcn.0043c831
cdq
idiv edi
cmp edx, edi
jg 0x434065
mov eax, edi
cdq
idiv edi
cmp edx, ebx
je 0x43406a
call fcn.00432110
cmp dword [esi + 0xc0], ebx
je 0x4341c2
or ebp, 0xffffffff
lea esp, [esp]
mov ecx, dword [esi + 0xb0]
lea edx, [esp + 0x18]
push edx
push 0xff6
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
call fcn.0043c831
call fcn.0043c831
mov dword [esp + 0x1038], ebp
mov eax, dword [esp + 0x18]
cmp eax, ebx
ja 0x43418a
cmp dword [esi + 0xb4], ebx
je 0x434203
call fcn.00433df0
mov eax, dword [esi + 0xbc]
lea edx, [eax + 1]
mov dword [esi + 0xbc], edx
cmp eax, 0xa
ja 0x4341c7
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x8c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebp
lea eax, [esi + 0x1c]
push ebx
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00402ea0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push ebp
mov dword [esp + 0x1078], 2
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push esi
mov byte [ecx + 4], bl
call fcn.00402ea0
push esi
mov dword [esp + 0x1078], ebp
call fcn.00433a80
cmp eax, ebx
jl 0x4341b6
lea eax, [esp + 0x17]
mov dword [esi + 0xb8], ebx
mov byte [esp + 0x17], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x434160
sub eax, edx
mov eax, 0
setne al
sub eax, 1
jne 0x434180
call fcn.00439810
call fcn.004321a0
lea edi, [esi + 0x70]
call fcn.004290c0
jmp 0x4341b6
push eax
lea ecx, [esp + 0x28]
push ecx
lea eax, [esi + 0x70]
call fcn.004032e0
mov edx, dword [esp + 0x18]
add dword [esi + 0xb8], edx
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb8]
cmp eax, ebx
je 0x4341b6
cmp ecx, eax
jae 0x434203
cmp dword [esi + 0xc0], ebx
jne 0x434080
call fcn.00433df0
mov eax, dword [esi + 0xc4]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov ecx, dword [esp + 0x1030]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1018]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x1028
ret
mov dword [esi + 0xc4], 1
jmp 0x4341c7
Function at 0x436fb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x456d82
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x467334]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [edi], 0x45d238
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x24], ebx
push edi
mov dword [esp + 0x1c], 1
call fcn.00437e30
mov dword [esp + 0x20], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.0042c6b0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], 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 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 edx, dword [0x469980]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x24], 2
call fcn.00437ed0
test eax, eax
jne 0x4370b1
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], ebx
jne 0x4370a0
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
test dword [ecx + 0xc], eax
je 0x4370b1
push ebx
call fcn.00417680
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8