joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e530
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5055b8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x54e434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], 0
call fcn.0040a7e0
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
push 0x5295dc
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.004125e0
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
push ecx
mov ecx, dword [ebp - 0x3c]
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.00467d30
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00412590
test bl, bl
jne 0x45e5f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x45e6ae
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push ecx
push eax
push 0x13
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.00467900
test al, al
jne 0x45e620
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x45e6ae
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x45e69b
cmp eax, 0xce
je 0x45e69b
cmp eax, 0x12e
jne 0x45e6cf
mov ecx, 0x400
mov dword [ebp - 0x34], ecx
test esi, esi
jne 0x45e663
push 0x800
call fcn.004d1e1e
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x34]
add ecx, ecx
push ecx
push 0
push esi
call fcn.004d4490
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
push esi
push 0x21
call fcn.00467970
test al, al
je 0x45e6cf
push esi
call fcn.0040af90
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.0040ae30
mov ebx, dword [ebp - 0x38]
jmp 0x45e6bf
cmp dword [ebp + 0x14], 0
ja 0x45e6a7
cmp dword [ebp + 0x10], 0
jbe 0x45e6d3
cmp eax, 0xce
je 0x45e6d3
mov ebx, dword [ebp - 0x38]
cmp dword [ebx + 4], 0
je 0x45e6cf
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x45e593
xor bl, bl
jmp 0x45e6df
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x45e6f0
push esi
call fcn.004d14b2
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040a6f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d12c9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x462b00
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505c98
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x54e434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.0040a580
test al, al
jne 0x462b5a
cmp byte [ebp + 8], al
jne 0x462b61
mov eax, dword [ebx]
test eax, eax
je 0x462cc1
cmp byte [eax + 0xa5], 0
je 0x462cc1
xor al, al
jmp 0x462cd7
mov ecx, esi
call fcn.0040a580
test al, al
jne 0x462cc1
push esi
call fcn.004142b0
add esp, 4
test al, al
je 0x462b89
push esi
push edi
call fcn.00462730
jmp 0x462cbd
push 0xb
mov ecx, esi
call fcn.0040a590
push eax
mov ecx, edi
call fcn.0040a590
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x462bae
mov al, 1
jmp 0x462cbd
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.0040a7c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.00426fa0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.00426fa0
test al, al
jne 0x462bfb
cmp byte [ebp - 0x60], al
je 0x462c37
push 0xb
lea ecx, [ebp - 0x40]
call fcn.0040a590
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a590
push eax
call ebx
test eax, eax
je 0x462c37
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040a6f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040a6f0
mov al, 1
jmp 0x462cbd
mov ecx, esi
call fcn.00426930
cmp eax, 0xffffffff
je 0x462ca0
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a7e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00426d50
test al, al
je 0x462c94
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.004269d0
test al, al
je 0x462c94
mov edx, esi
mov ecx, edi
call fcn.004269d0
lea ecx, [ebp - 0x28]
test al, al
je 0x462c8d
call fcn.00426ae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a6f0
jmp 0x462c15
mov edx, esi
call fcn.004269d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a6f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040a6f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040a6f0
xor al, al
test al, al
jne 0x462cd5
push edi
call fcn.004142b0
add esp, 4
test al, al
je 0x462cd5
mov ecx, edi
call fcn.00426ae0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d12c9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x469420
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506be7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x54e434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0x18
mov byte [edi], 0
call fcn.004d12da
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046add0
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046add0
mov dword [esi], eax
mov byte [ebp - 4], 6
lea ecx, [edi + 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.0040a7c0
mov byte [ebp - 4], 7
lea ecx, [edi + 0x38]
call fcn.00466db0
mov byte [ebp - 4], 8
lea esi, [edi + 0xb8]
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0040a7c0
mov byte [ebp - 4], 9
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0xf0]
call fcn.0040a7c0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x108]
call fcn.00412620
lea ecx, [edi + 0x108]
call fcn.0040ac10
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push ecx
push eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.00411ab0
add esp, 8
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x120]
call fcn.00412620
lea ecx, [edi + 0x120]
call fcn.0040ac10
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0xd]
mov dword [eax + 0x14], 0xf
push ecx
push eax
mov byte [ebp - 0xd], 0
call fcn.00411ab0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46ef00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x551c20], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x551920], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x551b20], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x551a20], al
inc esi
cmp esi, 0x100
jl 0x46f010
pop esi
add esp, 0x80
ret
Function at 0x4715b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbb98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x54e434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040a7e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00412fb0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0040ae00
lea ecx, [ebp - 0x28]
cmp eax, 2
jbe 0x4716db
call fcn.0040ac10
mov esi, eax
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x471620
mov ecx, dword [esi]
cmp word [ecx], 0x5c
jne 0x47163a
mov ecx, esi
cmp eax, 8
jb 0x47162f
mov ecx, dword [esi]
cmp word [ecx + 2], 0x5c
je 0x471756
mov ecx, esi
cmp eax, 8
jb 0x471643
mov ecx, dword [esi]
cmp word [ecx], 0x2f
jne 0x471659
mov ecx, esi
cmp eax, 8
jb 0x471652
mov ecx, dword [esi]
cmp word [ecx + 2], 0x2f
je 0x4716ac
push 0x5c
lea eax, [ebp - 0x28]
push 0x2f
push eax
call fcn.00412d70
mov eax, dword [esi + 0x14]
add esp, 0xc
mov ecx, esi
cmp eax, 8
jb 0x471675
mov ecx, dword [esi]
cmp word [ecx + 2], 0x3a
jne 0x4716ac
mov ecx, esi
cmp eax, 8
jb 0x471685
mov ecx, dword [esi]
cmp word [ecx + 4], 0x5c
jne 0x4716ac
mov ecx, esi
cmp eax, 8
jb 0x471695
mov ecx, dword [esi]
cmp word [ecx], 0x61
jb 0x4716ac
cmp eax, 8
jb 0x4716a2
mov esi, dword [esi]
cmp word [esi], 0x7a
jbe 0x471737
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a6f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d12c9
mov esp, ebp
pop ebp
ret
call fcn.0040ae00
cmp eax, 2
jne 0x4716ac
lea ecx, [ebp - 0x28]
call fcn.0040ac10
mov edx, eax
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x4716f9
mov edx, dword [eax]
cmp word [edx + 2], 0x3a
jne 0x4716ac
mov edx, eax
cmp ecx, 8
jb 0x471709
mov edx, dword [eax]
cmp word [edx], 0x61
jb 0x4716ac
cmp ecx, 8
jb 0x471716
mov eax, dword [eax]
cmp word [eax], 0x7a
ja 0x4716ac
push 0x5294c4
call fcn.0040af90
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x5294c4
call fcn.0040b290
lea ecx, [ebp - 0x28]
call fcn.0040a590
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4716ac
shr eax, 4
and al, 1
mov byte [edi], al
mov bl, 1
jmp 0x4716ae
Function at 0x473960
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x30]
sub esp, 0x30
push 0xffffffffffffffff
push 0x508176
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x54e434]
xor eax, ebp
mov dword [ebp + 0x2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x38]
mov edi, dword [esi]
test edi, edi
jne 0x4739a3
xor al, al
jmp 0x473b6a
lea eax, [edi + 0x38]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00473b90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0040a580
test al, al
jne 0x473b2d
lea ecx, [ebp - 0x44]
call fcn.0040a580
test al, al
jne 0x473b2d
cmp dword [ebp - 0x2c], 0
jne 0x473aff
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
jne 0x473a98
lea eax, [ebp]
xorps xmm0, xmm0
push eax
mov ecx, edi
movlpd qword [ebp + 0x24], xmm0
call fcn.0046aa00
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.0040a580
test al, al
jne 0x473a7c
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp]
call fcn.0040a590
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x473a7c
test edi, edi
je 0x473a7c
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
push 8
lea eax, [ebp + 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x473a75
xorps xmm0, xmm0
movlpd qword [ebp + 0x24], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x28]
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.0040a6f0
mov dword [esi + 8], edi
mov edx, edi
mov dword [esi + 0xc], ebx
mov ecx, ebx
or edx, ecx
je 0x473b26
lea eax, [ebp + 0x1c]
push eax
call fcn.00413be0
mov ecx, dword [esi + 8]
add esp, 4
mov esi, dword [esi + 0xc]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
cmp edx, esi
ja 0x473ac2
jb 0x473b26
cmp eax, ecx
jb 0x473b26
push esi
push ecx
push edx
push eax
call fcn.00473e30
test al, al
je 0x473b2d
lea ecx, [ebp + 0x1c]
call fcn.00413d50
test eax, eax
js 0x473b26
lea ecx, [ebp + 0x1c]
call fcn.00413d50
cmp eax, 3
jg 0x473b26
call fcn.004e04b9
xor edx, edx
mov ecx, 0xf0
div ecx
cmp edx, 1
jne 0x473b2d
mov bl, dl
jmp 0x473b2f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x473b2a
cmp ecx, eax
jbe 0x473b2a
sub ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
add edx, 2
cmp edx, dword [ebp - 0x2c]
jb 0x473b2d
mov bl, 1
jmp 0x473b2f
mov dword [esi + 0x10], ecx
xor bl, bl
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040a6f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0040a6f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.0040a6f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0040a6f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c]
xor ecx, ebp
call fcn.004d12c9
lea esp, [ebp + 0x30]
pop ebp
ret 4
Function at 0x473c40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5081a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x54e434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call fcn.004dfe1b
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x473d1a
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.0046aa00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0040a580
test al, al
jne 0x473d0b
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x38]
call fcn.0040a590
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x473d0b
test esi, esi
je 0x473d0b
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040a6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d12c9
mov esp, ebp
pop ebp
ret 4
Function at 0x4752b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5083d9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x54e434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.00412620
mov ecx, ebx
call fcn.0040ac10
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push ecx
push eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.00411ab0
add esp, 8
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x475485
dec eax
mov dword [ebp + 8], eax
mov al, byte [edi]
inc edi
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x4753c7
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
mov byte [ebp - 0x16], cl
and al, 0x3f
mov ecx, 0x551908
mov byte [ebp - 0x15], al
call fcn.0040ac10
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4753a2
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.00415a90
inc edi
cmp edi, 4
jl 0x475398
mov edi, dword [ebp - 0x20]
xor esi, esi
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x475333
mov dword [ebp + 8], esi
test esi, esi
je 0x475485
mov eax, esi
cmp esi, 3
jge 0x475401
cmp eax, 3
jae 0x475499
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x4753e7
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x47546b
mov ecx, 0x551908
call fcn.0040ac10
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x475451
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.00415a90
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x475447
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x475485
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.00415a90
sub edi, 1
jne 0x475477
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004d1873
int3
Function at 0x476970
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5088c3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x54e434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0046add0
mov dword [edi], eax
mov dword [ebp - 4], 2
lea ecx, [edi + 8]
call fcn.00409d50
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047aa00
mov dword [esi], eax
mov byte [ebp - 4], 6
lea ecx, [edi + 0x18]
call fcn.00409d50
mov byte [ebp - 4], 7
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047a950
mov dword [esi], eax
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x28]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047a8b0
mov dword [esi], eax
mov byte [ebp - 4], 0xd
lea esi, [edi + 0x30]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047a8b0
mov dword [esi], eax
mov byte [ebp - 4], 0x10
lea esi, [edi + 0x38]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047a8b0
mov dword [esi], eax
mov byte [ebp - 4], 0x13
lea esi, [edi + 0x40]
mov dword [ebp - 0x14], esi
mov ecx, esi
call fcn.0040a7c0
mov byte [ebp - 4], 0x14
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0x15
lea ecx, [edi + 0x78]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x476b70
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5089e3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54e434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 8
lea ecx, [ebx + 0x78]
call fcn.0040a6f0
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x40]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 7
call fcn.0040a6f0
mov byte [ebp - 4], 6
lea esi, [ebx + 0x38]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.0047a2a0
mov byte [ebp - 4], 6
push 0x38
push dword [esi]
call fcn.004d1408
add esp, 8
mov byte [ebp - 4], 5
lea esi, [ebx + 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xd
mov ecx, esi
call fcn.0047a2a0
mov byte [ebp - 4], 5
push 0x38
push dword [esi]
call fcn.004d1408
add esp, 8
mov byte [ebp - 4], 4
lea esi, [ebx + 0x28]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.0047a3a0
mov byte [ebp - 4], 4
push 0x38
push dword [esi]
call fcn.004d1408
add esp, 8
mov byte [ebp - 4], 3
lea edi, [ebx + 0x20]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x12
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.0047a780
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 3
push 0x40
push dword [edi]
call fcn.004d1408
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x18]
call fcn.00403460
mov byte [ebp - 4], 1
lea esi, [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x15
mov ecx, esi
call fcn.0047a510
mov byte [ebp - 4], 1
push 0x28
push dword [esi]
call fcn.004d1408
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.00403460
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0x17
mov ecx, ebx
call fcn.0046ac20
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebx]
call fcn.004d1408
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret