joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428a20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0046641c
call fcn.00471068
call fcn.00471068
push 0xbd
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push dword [ebx + 0x20]
call esi
call fcn.00471068
call fcn.00471068
push 0xbc
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push 0x80
push dword [ebx + 0x20]
call esi
lea ecx, [ebp - 0x18]
call fcn.00423aa0
mov dword [ebp - 4], 0
mov ecx, ebx
push dword [eax]
call fcn.00468be9
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x428ade
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [ebx + 0x158]
call fcn.00422480
push dword [0x639b84]
lea ecx, [ebx + 0x16c]
push ebx
call fcn.00447690
push 1
push dword [0x639b84]
mov ecx, ebx
call fcn.0046478d
call fcn.00464b17
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x428b27
push 0x80004005
call fcn.00403a80
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
push 0x41d
mov ecx, ebx
call fcn.0046b0de
mov ecx, dword [ebx + 0xbc]
lea eax, [ebp - 0x14]
push eax
call fcn.0044c180
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x10]
push eax
call fcn.00424430
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, ebx
push dword [eax]
push 0x41d
call fcn.00468b1e
mov byte [ebp - 4], 2
mov ecx, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x428ba1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x428bd9
dec dword [eax - 4]
lea edx, [eax - 0xc]
jne 0x428bd2
mov ecx, dword [edx + 4]
mov eax, edx
add ecx, 0xd
je 0x428bc9
mov edi, edi
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x428bc0
push edx
call fcn.00582cf0
add esp, 4
mov dword [ebp - 0x14], 0
mov ecx, ebx
call fcn.00429360
push 0
mov ecx, ebx
call fcn.0046da26
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x428c0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429b90
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7c28
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0046641c
push 1
push dword [0x639b84]
mov ecx, edi
call fcn.0046478d
push dword [0x639b84]
lea ecx, [edi + 0xdc]
push 0x62d740
call fcn.00443e20
mov eax, dword [edi + 0xc4]
add eax, 2
movzx eax, ax
shl eax, 0x10
push eax
push 0
push 0x401
push dword [edi + 0x210]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x402
push dword [edi + 0x210]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 4
push 0
push 0
push edi
push 0x429f50
call fcn.0047662a
mov dword [edi + 0x264], eax
test eax, eax
jne 0x429c85
lea ecx, [ebp - 0x10]
call fcn.00423aa0
mov dword [ebp - 4], 0
mov edx, str.A_worker_thread_could_not_be_created_to_sign_the_files.
mov ecx, dword [edi + 0x20]
push 0x10
push dword [eax]
call fcn.00422de0
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edx, dword [ebp - 0x10]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x429c7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.0046637e
jmp 0x429c9b
mov dword [eax + 0x28], 0
mov eax, dword [edi + 0x264]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42d060
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a7818
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0046641c
mov ecx, edi
call fcn.0042da10
lea ecx, [esp + 0x10]
call fcn.00423aa0
mov dword [esp + 0x20], 0
mov ecx, edi
push dword [eax]
call fcn.00468be9
mov dword [esp + 0x20], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42d0da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 0x1da8], 0xffffff
lea ecx, [edi + 0x1efc]
mov dword [edi + 0x1dac], 1
mov dword [edi + 0x1db0], 0x666666
push edi
mov dword [edi + 0x1e44], 0xffffff
mov dword [edi + 0x1e48], 1
call fcn.00422480
push edi
lea ecx, [edi + 0x1f10]
call fcn.00447c90
mov eax, dword [edi + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0x42d15a
push 0x639c50
mov dword [esp + 0x14], eax
call esi
push 4
lea eax, [esp + 0x14]
mov ecx, 0x639c68
push eax
call fcn.00433050
push 0x639c50
call ebx
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42d184
push 0x639bc8
mov dword [esp + 0x14], eax
call esi
push 4
lea eax, [esp + 0x14]
mov ecx, 0x62da9c
push eax
call fcn.00433050
push 0x639bc8
call ebx
call fcn.00471068
call fcn.00471068
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0xbd
mov eax, dword [eax + 0xc]
push eax
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push dword [edi + 0x20]
call ebx
call fcn.00471068
call fcn.00471068
push 0xbc
mov eax, dword [eax + 0xc]
push eax
call esi
push eax
push 0
push 0x80
push dword [edi + 0x20]
call ebx
push 1
push dword [0x639b84]
mov ecx, edi
call fcn.0046478d
mov ecx, edi
call fcn.0042d270
call fcn.00423d40
test eax, eax
je 0x42d1fb
lea eax, [edi + 0x1360]
jmp 0x42d210
call fcn.00423eb0
test eax, eax
lea eax, [edi + 0xbc]
jne 0x42d210
lea eax, [edi + 0x938]
push 0
push 1
push 0xf1
mov dword [edi + 0x1d24], eax
push dword [eax + 0x11c]
call ebx
mov eax, dword [edi + 0x1d24]
push 5
mov dword [eax + 0xf8], 1
mov ecx, dword [edi + 0x1d24]
call fcn.00468c2d
mov ecx, dword [edi + 0x1d24]
mov eax, dword [ecx]
call dword [eax + 0x18c]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432760
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0x5fd734
push str.SHA1
mov dword [ebp - 0x10], edx
call fcn.00582e5c
add esp, 8
test eax, eax
jne 0x43278f
mov esi, 0x8004
mov eax, 0x14
jmp 0x43287a
push str.SHA1
push str.SHA1
call fcn.00582e5c
add esp, 8
test eax, eax
jne 0x4327b4
mov esi, 0x8004
mov eax, 0x14
jmp 0x43287a
push 0x5fd740
push str.SHA1
call fcn.00582e5c
add esp, 8
test eax, eax
jne 0x4327d4
mov esi, 0x8003
jmp 0x432875
push str.SHA256
push str.SHA1
call fcn.00582e5c
add esp, 8
test eax, eax
jne 0x4327f9
mov esi, 0x800c
mov eax, 0x20
jmp 0x43287a
push str.SHA384
push str.SHA1
call fcn.00582e5c
add esp, 8
test eax, eax
jne 0x43281b
mov esi, 0x800d
mov eax, 0x30
jmp 0x43287a
push str.SHA512
push str.SHA1
call fcn.00582e5c
add esp, 8
test eax, eax
jne 0x43283d
mov esi, 0x800e
mov eax, 0x40
jmp 0x43287a
push 0x5fd758
push str.SHA1
call fcn.00582e5c
add esp, 8
test eax, eax
jne 0x43285a
mov esi, 0x8001
jmp 0x432875
push 0x5fd754
push str.SHA1
call fcn.00582e5c
add esp, 8
test eax, eax
jne 0x432896
mov esi, 0x8002
mov eax, 0x10
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], eax
jne 0x43289d
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x432896
mov dword [ecx], eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [ebp - 8]
push 0xf0000000
push 0x18
push 0x5fd7a4
push 0
push eax
call edi
test eax, eax
jne 0x432901
push 0xf0000000
push 0x18
push 0x5fd760
push eax
lea eax, [ebp - 8]
push eax
call edi
test eax, eax
jne 0x432901
push 0xf0000000
push 1
push 0x5fd808
push eax
lea eax, [ebp - 8]
push eax
call edi
test eax, eax
jne 0x432901
push 0xf0000000
push 1
push 0x5fd7dc
push eax
lea eax, [ebp - 8]
push eax
call edi
test eax, eax
je 0x432940
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
je 0x432937
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x432948
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0xc]
test eax, eax
je 0x43292f
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x432980
mov eax, dword [ebp - 4]
mov dword [ecx], eax
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432f90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x432fc4
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x432ff3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x432ff3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
jne 0x43302e
test edi, edi
je 0x43302e
mov eax, dword [ebx + 4]
mov ecx, ebx
add eax, edi
push eax
call fcn.00432db0
test eax, eax
je 0x43302e
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 4]
add eax, dword [ebx]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43302e
cmp edi, dword [ebp - 4]
jne 0x43302e
add dword [ebx + 4], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4342e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab460
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x4344e9
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x20], 0
mov al, byte [esi]
mov dword [ebp - 0x1c], edi
test al, al
je 0x43434f
movzx eax, al
push eax
call fcn.00583fc6
add esp, 4
test eax, eax
je 0x434364
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x434337
push 0x6256a0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 2
push eax
call fcn.00586852
mov al, byte [esi]
test al, al
je 0x43434f
cmp al, 0x3c
jne 0x434383
push esi
mov ecx, ebx
call fcn.00435540
test eax, eax
jne 0x434456
jmp 0x4344e9
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
jne 0x4343b8
push 0x6256a0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 4
push eax
call fcn.00586852
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x4343de
push 0x6256a0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 4
push eax
call fcn.00586852
inc eax
push eax
call fcn.0046424b
add esp, 4
mov edi, eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edi
push 0
push eax
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x434466
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x20]
jne 0x434466
push esi
mov byte [eax + edi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [edi], 0
mov esi, edi
mov dword [ebp - 0x18], 0xffffffff
je 0x434439
movzx eax, byte [esi]
push eax
call fcn.00583fc6
add esp, 4
test eax, eax
je 0x434439
inc esi
cmp byte [esi], 0
jne 0x434423
cmp byte [esi], 0x3c
jne 0x43444a
push esi
mov ecx, ebx
call fcn.00435540
test eax, eax
jne 0x434456
push ecx
push dword [ebp + 8]
mov ecx, ebx
push edi
call fcn.004340c0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x4344a6
push 0x6256a0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
push eax
call fcn.00586852
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov eax, 0x43448a
ret
test edi, edi
je 0x4344b3
push edi
call fcn.00464246
add esp, 4
cmp dword [ebx + 4], 0
jne 0x4344e2
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
call fcn.00434010
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x434a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a86f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x62c2a0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x62c2a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], 0
test ecx, ecx
jne 0x434a7f
mov dword [esi + 0x10], ecx
push ecx
mov dword [esi + 0x14], 0xf
mov byte [esi], cl
mov ecx, esi
push 0x5ef390
call fcn.00402f20
jmp 0x434ad6
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x3c], 0
push eax
call fcn.00434660
mov ecx, esi
test eax, eax
je 0x434ab9
lea eax, [esp + 0x10]
push eax
call fcn.0041ccb0
jmp 0x434ac3
push 0x5ef390
call fcn.00402be0
cmp dword [esp + 0x24], 0x10
jb 0x434ad6
push dword [esp + 0x10]
call fcn.00464246
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 8
Function at 0x438aa0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov esi, 3
xor ebx, ebx
mov dword [ebp - 0x10], edi
lea eax, [ecx + 2]
div esi
mov esi, ecx
mov eax, 0xaaaaaaab
sub esi, edx
add esi, 2
mul esi
xor esi, esi
mov eax, edx
shr eax, 1
shl eax, 2
mov dword [ebp - 8], eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov dword [ebp - 4], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x438b21
mov ecx, dword [ebp - 8]
cmp ecx, dword [edi + 0x10]
jb 0x438b44
test eax, eax
je 0x438b21
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x438b0a
mov byte [eax], bl
lea eax, [eax + 1]
dec ecx
jne 0x438b02
push dword [edi + 4]
call fcn.00464246
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, dword [ebp - 8]
inc eax
push eax
mov dword [ebp - 0xc], eax
call fcn.0046424b
add esp, 4
test eax, eax
jne 0x438b3e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x10], ecx
mov edx, dword [ebp - 4]
test edx, edx
je 0x438bc4
mov edi, dword [ebp + 8]
mov edi, edi
movzx ecx, byte [edi + ebx]
shr ecx, 2
movzx ecx, byte [ecx + 0x5f7920]
mov byte [eax + esi], cl
movzx edx, byte [edi + ebx]
movzx ecx, byte [edi + ebx + 1]
and edx, 3
shr ecx, 4
shl edx, 4
or edx, ecx
movzx ecx, byte [edx + 0x5f7920]
mov byte [eax + esi + 1], cl
movzx edx, byte [edi + ebx + 1]
movzx ecx, byte [edi + ebx + 2]
and edx, 0xf
shr ecx, 6
shl edx, 2
or edx, ecx
movzx ecx, byte [edx + 0x5f7920]
mov byte [eax + esi + 2], cl
movzx ecx, byte [edi + ebx + 2]
add ebx, 3
and ecx, 0x3f
movzx ecx, byte [ecx + 0x5f7920]
mov byte [eax + esi + 3], cl
add esi, 4
cmp ebx, dword [ebp - 4]
jb 0x438b50
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
sub ecx, edx
dec ecx
je 0x438c26
dec ecx
jne 0x438c56
mov edx, dword [ebp + 8]
movzx ecx, byte [ebx + edx]
shr ecx, 2
movzx ecx, byte [ecx + 0x5f7920]
mov byte [eax + esi], cl
mov ecx, edx
movzx edx, byte [ebx + ecx]
movzx ecx, byte [ebx + ecx + 1]
and edx, 3
shr ecx, 4
shl edx, 4
or edx, ecx
movzx ecx, byte [edx + 0x5f7920]
mov edx, dword [ebp + 8]
mov byte [eax + esi + 1], cl
movzx ecx, byte [ebx + edx + 1]
and ecx, 0xf
movzx ecx, byte [ecx*4 + 0x5f7920]
mov byte [eax + esi + 2], cl
mov byte [eax + esi + 3], 0x3d
jmp 0x438c56
mov edx, dword [ebp + 8]
movzx ecx, byte [ebx + edx]
shr ecx, 2
movzx ecx, byte [ecx + 0x5f7920]
mov byte [eax + esi], cl
movzx ecx, byte [ebx + edx]
and ecx, 3
shl ecx, 4
movzx ecx, byte [ecx + 0x5f7920]
mov byte [eax + esi + 1], cl
mov word [eax + esi + 2], 0x3d3d
mov ecx, dword [ebp - 8]
mov dword [edi + 4], eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], ecx
pop edi
pop esi
mov byte [eax + ecx], 0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43b740
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ecx
mov word [ebp - 0x14], cx
xorps xmm0, xmm0
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
movq qword [ebp - 0x12], xmm0
push ecx
push 0
push 0x13
push eax
mov dword [ebp - 0x1c], 0xf
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x43b7cf
lea ecx, [ebp - 0x14]
mov eax, 0x5fdb2c
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b7b6
test dx, dx
je 0x43b7b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b7b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x43b790
xor eax, eax
jmp 0x43b7bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43b7d4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 4
call fcn.0043ccf0
push 0x6256a0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
call fcn.00586852
int3
Function at 0x43be30
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
xor ebx, ebx
mov dword [ebp - 0x20], 1
xor edi, edi
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x43bf51
lea esp, [esp]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43bf56
lea ecx, [eax + 1]
add ecx, edi
jne 0x43bed6
test ebx, ebx
je 0x43beca
mov eax, ebx
test esi, esi
je 0x43beb9
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
dec esi
jne 0x43beb0
push ebx
call fcn.00582cf0
mov eax, dword [ebp - 0x14]
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x28], ebx
xor edi, edi
xor esi, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], esi
jmp 0x43beef
cmp ecx, esi
jbe 0x43beef
push ecx
lea ecx, [ebp - 0x28]
call fcn.00432ce0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
test ebx, ebx
je 0x43bef8
lea ecx, [edi + ebx]
jmp 0x43befa
xor ecx, ecx
lea edx, [ebp - 0x14]
push edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x43bf51
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43bf56
add edi, eax
cmp edi, esi
jbe 0x43bf32
push edi
lea ecx, [ebp - 0x28]
call fcn.00432ce0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
test eax, eax
jne 0x43bf32
mov edi, dword [ebp - 0x24]
jmp 0x43bf35
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x43be90
call fcn.0043ccf0
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00432db0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x43bf70
mov eax, dword [ebp - 0x24]
add eax, ecx
jmp 0x43bf72
xor eax, eax
mov byte [eax], 0
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add eax, 0x38
push eax
call fcn.00432e20
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x43bfa6
mov ecx, dword [ebp - 0x1c]
mov eax, edx
test ecx, ecx
je 0x43bf9d
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x43bf94
push edx
call fcn.00582cf0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4