joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420f7c
Capabilities:
Delete directory
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x56c
push ebx
push esi
push edi
mov esi, 0x103
mov byte [ebp - 0x460], 0
push esi
lea eax, [ebp - 0x45f]
mov ebx, edx
push 0
push eax
mov dword [ebp - 4], ebx
mov edi, ecx
call fcn.00443c10
push esi
lea eax, [ebp - 0x24f]
mov byte [ebp - 0x250], 0
push 0
push eax
call fcn.00443c10
push esi
lea eax, [ebp - 0x357]
mov byte [ebp - 0x358], 0
push 0
push eax
call fcn.00443c10
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x358]
add esp, 0x24
push 0x104
push edi
push eax
call esi
push 0x104
push edi
lea eax, [ebp - 0x460]
push eax
call esi
push 0x104
push ebx
lea eax, [ebp - 0x250]
push eax
call esi
xor ebx, ebx
lea eax, [ebp - 0x144]
push 0x13c
push ebx
push eax
mov dword [ebp - 0x148], ebx
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x358]
push 0x480fb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x421096
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x103
mov esi, eax
mov byte [ebp - 0x568], bl
lea eax, [ebp - 0x567]
push ebx
push eax
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x568]
push ebx
push 0x104
push eax
push ebx
push esi
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
jmp 0x42110c
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp byte [ebp - 0x11c], 0x2e
je 0x4210ec
lea eax, [ebp - 0x11c]
push eax
push edi
lea eax, [ebp - 0x460]
push 0x480954
push eax
call ebx
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x250]
push 0x480954
push eax
call ebx
add esp, 0x20
lea eax, [ebp - 0x250]
push 1
push eax
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42109c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421170
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x33c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
push edi
call fcn.004400c2
xor ebx, ebx
mov dword [esp], 0x103
lea eax, [esp + 0x245]
mov byte [esp + 0x244], bl
push ebx
push eax
call fcn.00443c10
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x124
mov esi, eax
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00443c10
add esp, 0xc
mov dword [esp + 0x10], 0x128
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
push 0x103
lea eax, [esp + 0x13d]
mov byte [esp + 0x13c], bl
push ebx
push eax
call fcn.00443c10
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x148]
push 0x104
push eax
call fcn.0043e29a
lea eax, [esp + 0x150]
push eax
call fcn.004400c2
lea eax, [esp + 0x154]
push eax
push edi
call fcn.0043f060
add esp, 0x24
test eax, eax
je 0x42127c
push dword [esp + 0x18]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x104
lea ecx, [esp + 0x244]
push ecx
push ebx
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x42127c
lea eax, [esp + 0x240]
push eax
call fcn.004400c2
lea eax, [esp + 0x244]
push edi
push eax
call fcn.0043f060
add esp, 0xc
test eax, eax
jne 0x421292
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4211de
jmp 0x42129f
mov ecx, dword [esp + 0xc]
xor ebx, ebx
mov eax, dword [esp + 0x18]
inc ebx
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4212af
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x4842f8
push ecx
mov edi, edx
call fcn.00440d02
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4212cd
and dword [edi], eax
or eax, 0xffffffff
jmp 0x42131d
push ebx
push 2
push 0
push esi
call fcn.00441526
push esi
call fcn.0044142b
push 0
push 0
push esi
mov ebx, eax
call fcn.00441526
lea ecx, [ebx + 1]
push ecx
call fcn.0043e4b6
push esi
push ebx
push 1
push eax
mov dword [edi], eax
call fcn.00440edc
add esp, 0x30
cmp ebx, eax
je 0x421313
push dword [edi]
call fcn.0043e094
pop ecx
push 0xfffffffffffffffe
pop eax
jmp 0x42131c
push esi
call fcn.00441615
pop ecx
mov eax, ebx
pop ebx
pop edi
pop esi
ret
Function at 0x425d4a
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push edi
mov edi, ecx
call fcn.00425cf0
xor ebx, ebx
lea eax, [ebp - 0x103]
push 0x103
push ebx
push eax
mov byte [ebp - 0x104], bl
call fcn.00443c10
mov eax, dword [ebp + 8]
add esp, 0xc
dec eax
je 0x425dc9
dec eax
je 0x425dab
dec eax
je 0x425d8d
push 2
pop eax
jmp 0x425e7d
mov ecx, 0x484c0c
call fcn.00421897
lea edx, [ebp - 0x104]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425d9f
jmp 0x425de5
mov ecx, 0x484bec
call fcn.00421897
lea edx, [ebp - 0x104]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425dbd
jmp 0x425de5
mov ecx, 0x484bc8
call fcn.00421897
lea edx, [ebp - 0x104]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425ddb
push esi
lea eax, [ebp - 0x104]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push eax
mov dword [edi + 0xd14], eax
call esi
test eax, eax
jne 0x425e75
lea ecx, [ebp - 0x104]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x425e10
mov eax, dword [0x484c34]
mov dword [ecx], eax
mov al, byte [0x484c38]
mov byte [ecx + 4], al
lea eax, [ebp - 0x104]
push eax
push 1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push ebx
push eax
mov dword [edi + 0xd18], eax
call esi
test eax, eax
je 0x425e79
push dword [edi + 0xd14]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [edi + 0xd14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0xd18]
mov dword [edi + 0xd14], ebx
call esi
mov dword [edi + 0xd18], ebx
xor eax, eax
jmp 0x425e7c
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425e85
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
xor eax, eax
mov dword [ebp - 4], ecx
push eax
push eax
push eax
push 1
push 0x484c40
mov ebx, 0x80004005
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, eax
mov dword [ebp - 8], edx
test edx, edx
je 0x425f9a
push esi
push edi
push 8
pop ecx
mov esi, 0x484ca8
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x2c]
xor edi, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x425ecd
push edi
push 0x4000000
sub ecx, esi
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x88]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x425f8b
xor eax, eax
push eax
push eax
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x425f7d
xor eax, eax
push 0xff
push eax
mov byte [ebp - 0x12c], al
lea eax, [ebp - 0x12b]
push eax
call fcn.00443c10
add esp, 0xc
jmp 0x425f5e
cmp dword [ebp - 4], 0
je 0x425f7b
xor eax, eax
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x12c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 4]
push eax
push 0x100
lea eax, [ebp - 0x12c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x425f3d
jmp 0x425f7d
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
test ebx, ebx
jns 0x425fa3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x425fac
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push esi
push eax
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push esi
push esi
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x426038
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x208]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x426006
mov esi, 0x484cc8
lea eax, [ebp - 0x208]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
je 0x426038
shr eax, 4
not eax
and eax, 1
jmp 0x42603a
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x426041
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
push ebx
xor eax, eax
mov ebx, 0x80004005
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
xor eax, eax
push eax
push eax
push 0x10
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x426136
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x208]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x4260a6
push esi
mov esi, 0x484cc8
mov byte [ebp - 0x608], cl
push 0x3ff
push ecx
lea eax, [ebp - 0x607]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00443c10
push dword [ebp + 0x14]
lea eax, [ebp - 0x608]
push dword [ebp + 0xc]
push 0x484cd4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
mov edi, eax
xor eax, eax
push eax
push eax
push 2
push eax
push eax
push 0xc0000000
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x426134
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
push edi
lea eax, [ebp - 0x608]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x426c6e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x64
mov edi, ecx
call fcn.00426c20
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x426c95
mov eax, dword [edi + 8]
mov ecx, edi
add eax, 0x64
push eax
call fcn.00426c20
mov eax, dword [edi + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [edi]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, 0xea
je 0x426c87
test ebx, ebx
jne 0x426cf1
mov eax, dword [ebp - 8]
test eax, eax
je 0x426cdb
cmp eax, 2
jbe 0x426cce
cmp eax, 7
jne 0x426cdb
mov esi, dword [ebp - 4]
test esi, esi
je 0x426cde
dec esi
mov dword [ebp - 4], esi
jmp 0x426cde
mov esi, dword [ebp - 4]
push esi
mov ecx, edi
call fcn.00426c20
mov eax, dword [edi]
mov dword [edi + 4], esi
mov byte [esi + eax], 0
jmp 0x426d03
push 0
mov ecx, edi
call fcn.00426c20
mov eax, dword [edi]
and dword [edi + 4], 0
mov byte [eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42c319
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x42c4b7
mov edx, 0x10000000
cmp eax, 0x7c
je 0x42c4b7
cmp eax, 0x29
jne 0x42c354
cmp dword [esi + 0x10], 0
jne 0x42c4b7
test dword [esi + 0x50], edx
je 0x42c4bd
cmp eax, 0x2e
jne 0x42c36f
push 5
lea ecx, [esi + 0x24]
call fcn.0042c5b8
mov ecx, esi
call fcn.0042c2f0
jmp 0x42c49f
cmp eax, 0x5c
jne 0x42c3ca
mov ecx, esi
call fcn.0042c2f0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x42c3a1
cmp byte [esi + 0x48], 0x62
jne 0x42c3a1
push 4
lea ecx, [esi + 0x24]
call fcn.0042c5b8
mov ecx, esi
call fcn.0042c2f0
jmp 0x42c4a6
test eax, eax
je 0x42c3be
cmp byte [esi + 0x48], 0x42
jne 0x42c3be
push 4
lea ecx, [esi + 0x24]
call fcn.0042c5b8
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x42c395
mov ecx, esi
call fcn.0042cf29
jmp 0x42c49f
cmp eax, 0x5b
jne 0x42c42a
mov ecx, esi
call fcn.0042c2f0
lea ecx, [esi + 0x24]
call fcn.0042d6e6
cmp dword [esi + 0x4c], 0x5e
jne 0x42c3f2
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042c2f0
test dword [esi + 0x50], 0x20000000
je 0x42c412
cmp dword [esi + 0x4c], 0x5d
jne 0x42c412
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0042d730
mov ecx, esi
call fcn.0042c2f0
mov ecx, esi
call fcn.0042d4c0
cmp dword [esi + 0x4c], 0x5d
je 0x42c363
push 4
jmp 0x42c4bf
cmp eax, 0x28
jne 0x42c447
mov ecx, esi
call fcn.0042c2f0
mov ecx, esi
call fcn.0042d005
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x42c494
jmp 0x42c4bd
cmp eax, 0x5e
jne 0x42c453
push 2
jmp 0x42c38d
cmp eax, 0x24
jne 0x42c45f
push 3
jmp 0x42c38d
cmp eax, 0x2a
je 0x42c4b3
cmp eax, 0x2b
je 0x42c4b3
cmp eax, 0x3f
je 0x42c4b3
cmp eax, 0x7b
je 0x42c4b3
cmp eax, 0x7d
jne 0x42c47d
test dword [esi + 0x50], edx
je 0x42c4af
cmp eax, 0x5d
jne 0x42c487
test dword [esi + 0x50], edx
je 0x42c423
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042d179
mov ecx, esi
call fcn.0042c2f0
test bl, bl
je 0x42c4a6
mov ecx, esi
call fcn.0042d0b5
mov cl, 1
mov bl, cl
jmp 0x42c322
push 6
jmp 0x42c4bf
push 0xa
jmp 0x42c4bf
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.0045c8b6
int3
Function at 0x4343ba
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4754ad
call fcn.00473e04
sub esp, 0xd4
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x3c], 0x4861ec
xor ebx, ebx
mov dword [ebp - 0x38], 0x48631c
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2c], ebx
push 0x48095c
push eax
mov dword [ebp - 0x20], edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
push 0xffffffffffffffff
push 0x4341c1
push 0x4341e7
push 0x4341d4
push 0x4341a7
push 0x434202
push 0x4341a2
push 0x434199
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004010a8
push dword [esi + 4]
mov ebx, eax
lea eax, [ebp - 0x5c]
push 0
push 0x434246
push 0
push 0x48086e
push eax
push ebx
call fcn.00402137
mov esi, eax
add esp, 0x4c
test esi, esi
jne 0x4344a3
push 0x7f
push eax
mov byte [ebp - 0xdc], al
lea eax, [ebp - 0xdb]
push eax
call fcn.00443c10
mov ecx, dword [ebp - 0x1c]
call fcn.0043432e
push eax
push ecx
lea eax, [ebp - 0xdc]
push 0x4861c0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00401bf1
pop ecx
xor ecx, ecx
mov dword [ebp - 0x3c], 0x4861ec
test esi, esi
mov eax, 0x8002
cmovne eax, ecx
movzx esi, ax
and dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x28]
push 0
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [ebp - 0x38]
call fcn.00434640
mov ecx, dword [ebp - 0xc]
mov ax, si
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434aed
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x47556b
call fcn.00473e04
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
mov dword [ebp - 4], 6
call fcn.00434e3b
mov al, 1
xchg byte [edi], al
lea eax, [edi + 0x2c]
push eax
call fcn.0045d517
pop ecx
test eax, eax
je 0x434b28
push eax
call fcn.0045cc3d
pop ecx
lea eax, [edi + 0x1c]
push eax
call fcn.0045d517
pop ecx
test eax, eax
je 0x434b3d
push eax
call fcn.0045cc3d
pop ecx
xor esi, esi
cmp dword [edi + 4], esi
jbe 0x434baf
mov ebx, dword [edi + 0xc]
cmp dword [ebx + esi*8 + 4], 0
jne 0x434b65
push 1
call fcn.0045cc6a
cmp dword [ebx + esi*8 + 4], 0
pop ecx
jne 0x434b65
push 1
call fcn.0045cc6a
pop ecx
call fcn.0045d59d
push edx
push eax
push dword [ebx + esi*8 + 4]
push dword [ebx + esi*8]
call fcn.0045d5e9
add esp, 0x10
test eax, eax
je 0x434b87
push 5
call fcn.0045cc6a
pop ecx
push 0
push dword [ebx + esi*8 + 4]
push dword [ebx + esi*8]
call fcn.0045d5f9
add esp, 0xc
test eax, eax
je 0x434ba4
push 2
call fcn.0045cc6a
pop ecx
and dword [ebx + esi*8 + 4], 0
inc esi
cmp esi, dword [edi + 4]
jb 0x434b44
lea esi, [edi + 0x30]
mov ecx, esi
call fcn.004355bf
push dword [esi]
call fcn.0043d685
and dword [esi], 0
lea eax, [edi + 0x2c]
pop ecx
push eax
call fcn.0045d528
pop ecx
lea eax, [edi + 0x28]
push eax
call fcn.0045ce6d
pop ecx
lea ecx, [edi + 0x20]
call fcn.00430fa5
lea eax, [edi + 0x1c]
push eax
call fcn.0045d528
pop ecx
lea eax, [edi + 0x18]
push eax
call fcn.0045ce6d
pop ecx
lea ecx, [edi + 0xc]
call fcn.00435317
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436021
Capabilities:
Check http status code
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 5
mov ebx, 0x80ff
pop eax
mov dword [edi + 0x28], esi
mov dword [edi + 0x24], esi
push esi
push esi
push esi
push esi
add eax, 0xffff
push 0x4863d8
mov dword [ebp - 0x14], eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [edi + 4], eax
test eax, eax
je 0x4361cc
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x3180
push ecx
push 0x1f
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x32
push eax
push 0x49
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
lea esi, [edi + 0xc]
cmp dword [esi + 0x14], 0x10
jb 0x436097
mov eax, dword [esi]
jmp 0x436099
mov eax, esi
xor ecx, ecx
push ecx
push 0x4400300
push ecx
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [edi + 8], eax
cmp eax, 0xffffffff
je 0x436156
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], 4
push ecx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x436119
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x24], eax
mov eax, 0xc000
or ax, word [edi + 0x24]
movzx ebx, ax
call fcn.00432429
mov edx, dword [eax]
test edx, edx
je 0x436119
cmp dword [esi + 0x14], 0x10
jb 0x436108
mov ecx, dword [esi]
jmp 0x43610a
mov ecx, esi
mov eax, dword [edx]
push ecx
push ebx
push 0x3a
push 0x4863c4
mov ecx, edx
call dword [eax]
mov eax, dword [ebp - 4]
mov dword [edi + 0x28], eax
cmp eax, 0xc8
jb 0x436131
cmp eax, 0x12c
jb 0x4361c3
mov eax, 0xc000
or ax, word [edi + 0x28]
movzx ebx, ax
call fcn.00432429
mov ecx, dword [eax]
test ecx, ecx
je 0x4361a1
cmp dword [esi + 0x14], 0x10
jb 0x436150
mov esi, dword [esi]
push esi
push ebx
push 0x70
jmp 0x436198
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x436181
or eax, 0xc000
movzx ebx, ax
call fcn.00432429
mov ecx, dword [eax]
test ecx, ecx
je 0x4361a1
cmp dword [esi + 0x14], 0x10
jb 0x43617b
mov esi, dword [esi]
push esi
push ebx
push 0x79
jmp 0x436198
call fcn.00432429
mov ecx, dword [eax]
test ecx, ecx
je 0x4361a1
cmp dword [esi + 0x14], 0x10
jb 0x436194
mov esi, dword [esi]
push esi
push ebx
push 0x7e
mov eax, dword [ecx]
push 0x4863c4
call dword [eax]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, 0x8000
je 0x4361c7
mov eax, dword [ebp - 0x14]
test ax, ax
je 0x4361c7
xor esi, esi
jmp 0x43603c
xor eax, eax
jmp 0x436200
mov ax, bx
jmp 0x436200
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xc000
movzx esi, ax
call fcn.00432429
mov ecx, dword [eax]
test ecx, ecx
je 0x4361fd
lea eax, [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x4361f0
mov eax, dword [eax]
mov edx, dword [ecx]
push eax
push esi
push 0x50
push 0x4863c4
call dword [edx]
mov ax, si
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43626b
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
mov eax, ecx
ret

Function at 0x436376
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
xor edi, edi
lea edx, [esi + 0x21]
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
lea edx, [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [ebp + edi*4 - 0x154], ecx
inc edi
cmp edi, 0x10
jl 0x43638c
push 0x40
lea ecx, [ebp - 0x14c]
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
dec edx
jne 0x4363c3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
and dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
mov ecx, ebx
not ecx
rol edx, 5
and ecx, esi
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 0x10]
add edx, ecx
mov ecx, dword [ebp - 8]
add ecx, 0x5a827999
mov dword [ebp - 8], esi
mov esi, edi
mov edi, ebx
add edx, dword [ebp + eax*4 - 0x154]
mov ebx, dword [ebp - 0xc]
add edx, ecx
ror edi, 2
inc eax
push 0x14
pop ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
cmp eax, ecx
jl 0x4363f6
mov dword [ebp - 4], esi
mov eax, esi
xor eax, edi
rol edx, 5
xor eax, ebx
add edx, eax
mov eax, dword [ebp - 8]
add edx, dword [ebp + ecx*4 - 0x154]
add eax, 0x6ed9eba1
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 0xc]
ror edi, 2
inc ecx
mov dword [ebp - 0xc], edx
cmp ecx, 0x28
jl 0x43643f
push 0x28
pop esi
mov ecx, edi
rol edx, 5
or ecx, ebx
add edx, 0x8f1bbcdc
add edx, dword [ebp - 8]
and ecx, eax
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, dword [ebp + esi*4 - 0x154]
mov dword [ebp - 8], eax
add edx, ecx
mov eax, edi
mov edi, ebx
mov ebx, dword [ebp - 0xc]
ror edi, 2
inc esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edx
cmp esi, 0x3c
jl 0x436478
mov esi, dword [ebp - 0x14]
push 0x3c
pop ecx
xor eax, edi
rol edx, 5
add edx, dword [ebp - 8]
xor eax, ebx
add eax, 0xca62c1d6
add eax, dword [ebp + ecx*4 - 0x154]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 0xc]
ror edi, 2
inc ecx
mov dword [ebp - 0xc], edx
cmp ecx, 0x50
jl 0x4364bb
add dword [esi + 0xc], eax
add dword [esi + 8], edi
add dword [esi + 4], ebx
add dword [esi], edx
mov eax, dword [ebp - 8]
add dword [esi + 0x10], eax
and dword [esi + 0x1c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret