joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405ce8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
cmp dword [edx], 0
je 0x405d16
lea edx, [edi + 8]
cmp dword [edi + 0x24], 0xffffffff
mov eax, dword [edi + 0x30]
mov esi, dword [edi + 0x34]
mov ebx, dword [edi + 0x38]
mov edi, dword [edi + 0x3c]
je 0x405df6
push 0
jmp 0x405df8
mov dword [esp + 4], ecx
mov al, byte [edi + 0xe]
mov byte [esp + 3], al
mov esi, dword [edi + 4]
mov eax, dword [edi + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x10], eax
mov bl, byte [edi + 0xc]
xor ebp, ebp
cmp byte [esp + 3], 0
jne 0x405e1d
mov eax, ebx
xor al, 1
mov byte [edi + 0xc], al
mov ecx, esi
mov edx, dword [esp + 0xc]
push dword [esp + 0x10]
call fcn.004040b5
pop ecx
test eax, eax
je 0x405e2b
test edx, edx
je 0x405e06
mov bh, byte [eax]
movzx ecx, bh
test bh, bh
jns 0x405dbc
mov dword [esp + 8], esi
and ecx, 0x1f
movzx esi, byte [eax + 1]
and esi, 0x3f
cmp bh, 0xdf
jbe 0x405dac
movzx edx, byte [eax + 2]
shl esi, 6
and edx, 0x3f
or edx, esi
cmp bh, 0xf0
jb 0x405db3
movzx eax, byte [eax + 3]
and ecx, 7
shl ecx, 0x12
shl edx, 6
and eax, 0x3f
or eax, edx
or ecx, eax
jmp 0x405db8
shl ecx, 6
or ecx, esi
jmp 0x405db8
shl ecx, 0xc
or ecx, edx
mov esi, dword [esp + 8]
test bl, bl
jne 0x405e0a
cmp ecx, 0x110000
je 0x405e19
xor eax, eax
inc eax
cmp ecx, 0x80
jb 0x405dea
push 2
pop eax
cmp ecx, 0x800
jb 0x405dea
cmp ecx, 0x10000
push 4
pop eax
sbb eax, 0
add esi, eax
mov dword [edi + 4], esi
mov bl, 1
jmp 0x405d37
push 1
push edi
push ebx
push esi
push eax
call fcn.00404121
add esp, 0x28
jmp 0x405e26
test bl, bl
je 0x405e19
mov eax, dword [esp + 4]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
xor ebp, ebp
inc ebp
jmp 0x405e21
mov byte [edi + 0xe], 1
mov eax, dword [esp + 4]
mov dword [eax], ebp
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0x548170
push edx
push esi
call fcn.005071d0
add esp, 0xc
ud2
Function at 0x408f1b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x210
mov dword [esp + 4], edx
mov edi, ecx
mov ebp, dword [esp + 0x22c]
mov eax, 0xfffffeff
lea ecx, [eax + ebp]
cmp ecx, eax
jbe 0x40906e
mov esi, dword [esp + 0x228]
lea eax, [esp + 0xc]
push 0x102
push 0
push eax
call fcn.004f8400
add esp, 0xc
xor eax, eax
cmp eax, 0x100
je 0x408f6d
mov byte [esp + eax + 0xc], al
inc eax
jmp 0x408f5f
xor ecx, ecx
xor ebx, ebx
cmp ecx, 0x100
je 0x408fa0
mov al, byte [esp + ecx + 0xc]
mov byte [esp], al
add bl, al
mov eax, ecx
xor edx, edx
div ebp
add bl, byte [esi + edx]
movzx eax, bl
mov dl, byte [esp + eax + 0xc]
mov byte [esp + ecx + 0xc], dl
mov dl, byte [esp]
mov byte [esp + eax + 0xc], dl
inc ecx
jmp 0x408f71
mov dword [esp], edi
lea eax, [esp + 0x10e]
push 0x102
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.004f7e80
add esp, 0xc
lea ebx, [esp + 0xc]
mov ecx, ebx
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x224]
push esi
call fcn.0046d17a
pop eax
cmp dword [ebx + 8], esi
jne 0x40907d
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov dh, byte [esp + 0x20e]
mov dl, byte [esp + 0x20f]
inc dh
movzx esi, dh
xor ebx, ebx
cmp dword [esp + 0x224], ebx
je 0x40904d
lea ecx, [esi + ebx]
movzx ecx, cl
mov dh, byte [esp + ecx + 0x10e]
add dl, dh
movzx ebp, dl
mov al, byte [esp + ebp + 0x10e]
mov byte [esp + ecx + 0x10e], al
mov byte [esp + ebp + 0x10e], dh
add dh, byte [esp + ecx + 0x10e]
mov eax, dword [esp + 4]
mov al, byte [eax + ebx]
movzx ecx, dh
xor al, byte [esp + ecx + 0x10e]
mov byte [edi + ebx], al
inc ebx
jmp 0x408fff
mov eax, dword [esp]
mov dword [eax], edi
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x224]
mov dword [eax + 8], ecx
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x35
pop edx
mov ecx, 0x50d55a
push 0x50d590
jmp 0x40908a
push 0x2d
pop edx
mov ecx, str.assertion_failed:_input.len____output.len__
push 0x50d5d0
call fcn.00506cd0
pop eax
ud2
Function at 0x40aef9
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
mov ebx, dword [ebx]
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x40af28
mov ecx, dword [ebx + 0x30]
movzx edx, word [ebx + 0x2c]
call fcn.0040afc8
cmp eax, esi
jne 0x40af0d
jmp 0x40af2a
xor edi, edi
mov eax, edi
pop esi
pop edi
pop ebx
ret

Function at 0x40af30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp + 0xc], edx
mov esi, ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
mov ebp, dword [eax + ecx + 0x20]
add ebp, ecx
mov ecx, dword [eax + ecx + 0x14]
mov dword [esp + 8], ecx
mov ecx, dword [eax + esi + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + esi + 0x1c]
add ecx, esi
mov dword [esp], ecx
mov eax, dword [eax + esi + 0x24]
add eax, esi
mov dword [esp + 4], eax
xor edi, edi
cmp edi, dword [esp + 0x10]
je 0x40afb1
mov ebx, edi
mov ecx, dword [ebp + edi*4]
add ecx, esi
mov eax, ecx
mov edx, eax
inc eax
cmp byte [edx], 0
jne 0x40af7f
lea edi, [ebx + 1]
sub edx, ecx
call fcn.0040afc8
cmp eax, dword [esp + 0xc]
jne 0x40af6f
mov eax, dword [esp + 4]
movzx ecx, word [eax + ebx*2]
mov edx, dword [esp + 8]
cmp edx, ecx
jbe 0x40afbb
mov eax, dword [esp]
add esi, dword [eax + ecx*4]
mov eax, esi
jmp 0x40afb3
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x50d7e0
call fcn.00506bf0
pop eax
ud2
Function at 0x4265b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x426600
cmp esi, edi
ja 0x426668
cmp edi, dword [esp + 0x1c]
ja 0x42667b
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x426602
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x4265f0
jmp 0x42665f
ja 0x426608
cmp eax, edx
mov esi, edi
jne 0x4265c3
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x426640
mov ebp, esi
sub ecx, edx
jns 0x426657
jmp 0x426661
cmp esi, edi
je 0x426690
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x426661
xor al, 1
cmp ebp, edi
jne 0x426620
jmp 0x426661
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x511994
call fcn.00506ea0
add esp, 4
ud2
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x511994
call fcn.00506c60
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__valueNoneSome
mov edx, 0x2b
push 0x511984
call fcn.00506cd0
add esp, 4
ud2
Function at 0x42b0d6
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, edx
mov ebx, ecx
mov edx, dword [esp + 0x1c]
not ebx
cmp edx, 0x40
jb 0x42b1f3
mov esi, edx
shr esi, 4
mov dword [esp], esi
xor esi, esi
cmp esi, 4
je 0x42b0e7
cmp dword [esp], esi
je 0x42b21c
movzx edi, byte [eax + 0xf]
movzx ebp, byte [eax + 0xe]
mov ebp, dword [ebp*4 + 0x518208]
xor ebp, dword [edi*4 + 0x517e08]
movzx edi, byte [eax + 0xd]
xor ebp, dword [edi*4 + 0x518608]
movzx edi, byte [eax + 0xc]
xor ebp, dword [edi*4 + 0x518a08]
movzx edi, byte [eax + 0xb]
xor ebp, dword [edi*4 + 0x518e08]
movzx edi, byte [eax + 0xa]
xor ebp, dword [edi*4 + 0x519208]
movzx edi, byte [eax + 9]
xor ebp, dword [edi*4 + 0x519608]
movzx edi, byte [eax + 8]
xor ebp, dword [edi*4 + 0x519a08]
movzx edi, byte [eax + 7]
xor ebp, dword [edi*4 + 0x519e08]
movzx edi, byte [eax + 6]
xor ebp, dword [edi*4 + 0x51a208]
movzx edi, byte [eax + 5]
xor ebp, dword [edi*4 + 0x51a608]
movzx edi, byte [eax + 4]
xor ebp, dword [edi*4 + 0x51aa08]
movzx edi, byte [eax + 3]
mov ecx, ebx
shr ecx, 0x18
xor ecx, edi
xor ebp, dword [ecx*4 + 0x51ae08]
movzx ecx, byte [eax + 2]
mov edi, ebx
shr edi, 0x10
mov dword [esp + 4], edx
mov edx, esi
mov esi, 0xff
and edi, esi
xor edi, ecx
xor ebp, dword [edi*4 + 0x51b208]
movzx ecx, byte [eax + 1]
mov edi, ebx
shr edi, 8
and edi, esi
xor edi, ecx
xor ebp, dword [edi*4 + 0x51b608]
movzx ecx, byte [eax]
and ebx, esi
mov esi, edx
mov edx, dword [esp + 4]
xor ebx, ecx
xor ebp, dword [ebx*4 + 0x51ba08]
inc esi
add edx, 0xfffffff0
add eax, 0x10
mov ebx, ebp
jmp 0x42b0fa
mov ecx, ebx
xor ebp, ebp
cmp edx, ebp
je 0x42b210
mov bl, byte [eax + ebp]
xor bl, cl
movzx edi, bl
shr ecx, 8
xor ecx, dword [edi*4 + 0x517e08]
inc ebp
jmp 0x42b1f7
not ecx
mov eax, ecx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xf
pop ecx
push 0x517df8
call fcn.00506bf0
pop eax
ud2

Function at 0x432a34
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov dword [esp + 0x4c], edx
mov esi, ecx
call fcn.00432a4e
Function at 0x445804
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x13c
mov dword [esp + 0x4c], edx
mov dword [esp + 0x120], ecx
call fcn.0044581e
Function at 0x46ccf1
Capabilities:
Set thread local storage value

Disassembly:
push edi
push esi
sub esp, 0x1c
call fcn.0046c98b
cmp eax, 2
jb 0x46cd08
mov esi, eax
cmp dword [eax + 4], 0
jne 0x46cd6f
call fcn.0046c98b
cmp eax, 1
je 0x46cd74
mov esi, eax
test eax, eax
jne 0x46cd4a
mov al, byte [0x57eac8]
push 0x20
pop ecx
push 4
pop edx
call fcn.00415570
test eax, eax
je 0x46cd8a
mov esi, eax
mov dword [eax], 0x57e00c
and dword [eax + 4], 0
mov eax, dword [0x57e00c]
test eax, eax
je 0x46cd7e
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov edi, esp
mov ecx, edi
call fcn.0046ca0f
movups xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0xc]
movups xmmword [esi + 0x10], xmm1
cmp dword [esi + 4], 0
movups xmmword [esi + 4], xmm0
je 0x46cd6f
lock dec dword [0x57e9cc]
add esi, 4
jmp 0x46cd76
xor esi, esi
mov eax, esi
add esp, 0x1c
pop esi
pop edi
ret
mov ecx, 0x57e00c
call fcn.0050a660
jmp 0x46cd42
push 4
pop ecx
push 0x20
pop edx
call fcn.00506930
ud2

Function at 0x4703e4
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push edi
push esi
sub esp, 0x50
mov edi, ecx
call fcn.0047057b
cmp eax, 2
jb 0x470406
mov esi, eax
cmp dword [eax + 4], 0
je 0x470406
add esi, 4
jmp 0x470507
call fcn.0047057b
cmp eax, 1
je 0x470505
mov esi, eax
test eax, eax
jne 0x470447
push 8
pop ecx
push 4
pop edx
call fcn.004490a3
mov esi, eax
mov dword [eax], 0x57e01c
and dword [eax + 4], 0
mov eax, dword [0x57e01c]
test eax, eax
je 0x470510
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
test edi, edi
je 0x47045f
mov ebx, dword [edi]
and dword [edi], 0
test ebx, ebx
jne 0x4704f7
xor ecx, ecx
call fcn.0047055f
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movups xmmword [ecx + 0x10], xmm0
movups xmmword [ecx], xmm0
call fcn.0047075d
test eax, eax
jne 0x47051f
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [esp], xmm0
push 8
pop edx
mov ecx, 0x158
call fcn.004490a3
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
push 0x100
push 0
push eax
call fcn.004f8400
add esp, 0xc
mov dword [ebx + 0x108], 0x40
movups xmm0, xmmword [esp + 0x10]
movups xmmword [ebx + 0x110], xmm0
movups xmm0, xmmword [esp]
movups xmmword [ebx + 0x120], xmm0
xorps xmm0, xmm0
movups xmmword [ebx + 0x130], xmm0
movaps xmm0, xmmword [0x50cac0]
movups xmmword [ebx + 0x140], xmm0
and dword [ebx + 0x150], 0
add esi, 4
mov ecx, dword [esi]
mov dword [esi], ebx
call fcn.0047055f
jmp 0x470507
xor esi, esi
mov eax, esi
add esp, 0x50
pop esi
pop edi
pop ebx
ret
mov ecx, 0x57e01c
call fcn.0050a660
jmp 0x47043f
lea edx, [esp + 0x20]
mov dword [edx], eax
mov dword [edx + 4], 0x53e358
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
mov dword [ecx], 0x53e330
xor esi, esi
inc esi
mov dword [ecx + 4], esi
and dword [ecx + 0x10], 0
mov dword [eax], edx
mov dword [eax + 4], 0x470722
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], esi
mov edx, 0x53e338
call fcn.00506b50
ud2
Function at 0x47075d
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp], ecx
push 0x20
pop ebp
xor ebx, ebx
mov edi, dword [esp]
test bl, 1
jne 0x4707c6
mov esi, ebp
lea eax, [edi + ebp]
mov dword [esp], eax
push 2
push ebp
push edi
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor ebp, ebp
mov bl, 1
mov dword [esp + 4], eax
cmp eax, 0xc0000000
jb 0x47076c
push esi
push edi
call dword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
jne 0x47076c
mov esi, dword [esp + 4]
xor esi, 0x80000000
je 0x4707c6
mov al, byte [0x57eac8]
push 4
pop ecx
mov edx, ecx
call fcn.00415570
test eax, eax
je 0x4707d0
mov dword [eax], esi
jmp 0x4707c8
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
pop ecx
mov edx, ecx
call fcn.00506930
ud2
Function at 0x470c42
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov eax, dword [ecx]
lea esi, [eax - 6]
xor edx, edx
inc edx
cmp esi, 3
cmovb edx, esi
test edx, edx
je 0x470c68
cmp edx, 1
jne 0x470c71
cmp eax, 5
jne 0x470c73
add ecx, 4
pop esi
jmp 0x470ef9
add ecx, 8
pop esi
jmp fcn.00470be6
pop esi
ret
pop esi
jmp fcn.00470cac

Function at 0x470cac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [ecx]
lea edx, [eax - 3]
lea edi, [eax - 2]
xor ecx, ecx
cmp edx, 2
cmovb ecx, edi
test ecx, ecx
je 0x470d2e
cmp ecx, 1
jne 0x470ef5
lea ecx, [esi + 4]
cmp byte [esi + 0x3c], 4
jne 0x470d74
mov esi, dword [ecx]
movzx eax, byte [esi + 0xad]
test eax, eax
je 0x470d7c
cmp eax, 3
je 0x470d9a
cmp eax, 4
jne 0x470eeb
movzx eax, byte [esi + 0xc8]
test eax, eax
je 0x470e20
cmp eax, 3
jne 0x470ebd
cmp byte [esi + 0xb8], 2
je 0x470ebd
lea ecx, [esi + 0xb0]
jmp 0x470e26
cmp eax, 2
je 0x470ef5
mov eax, dword [esi + 0x98]
cmp eax, 3
je 0x470df8
cmp eax, 1
je 0x470dd3
test eax, eax
jne 0x470df8
lea edi, [esi + 0x9c]
lea ecx, [esi + 0xc8]
call fcn.00471044
mov ecx, edi
call fcn.00471097
jmp 0x470df8
pop esi
pop edi
pop ebx
jmp 0x470ef9
lea ecx, [esi + 0x50]
call fcn.00403467
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
call fcn.004033b3
jmp 0x470ec5
movzx eax, byte [esi + 0x2d0]
cmp eax, 3
je 0x470e30
test eax, eax
jne 0x470ebd
lea ecx, [esi + 0x100]
call fcn.00403467
mov ecx, dword [esi + 0x2b8]
mov edx, dword [esi + 0x2bc]
call fcn.004033b3
jmp 0x470ebd
mov edi, dword [esi + 0x9c]
mov ebx, dword [esi + 0xa0]
push edi
call dword [ebx]
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x470df8
mov edx, dword [ebx + 8]
mov ecx, edi
push eax
call fcn.00404f8c
pop eax
lea ecx, [esi + 0x70]
call fcn.004710b7
lea ecx, [esi + 0x8c]
call fcn.004710d1
lea ecx, [esi + 0x50]
call fcn.00403467
add esi, 0x68
mov ecx, esi
pop esi
pop edi
pop ebx
jmp fcn.00403467
lea ecx, [esi + 0xbc]
call fcn.00470fc6
jmp 0x470ebd
movzx eax, byte [esi + 0x2b4]
cmp eax, 3
je 0x470e69
test eax, eax
jne 0x470ea7
mov ecx, dword [esi + 0x2a8]
mov edx, dword [esi + 0x2ac]
call fcn.004033b3
lea ecx, [esi + 0x298]
call fcn.004710e2
lea ecx, [esi + 0x218]
call fcn.00403467
jmp 0x470ea7
movzx eax, byte [esi + 0x214]
test eax, eax
je 0x470e81
cmp eax, 3
jne 0x470e91
lea eax, [esi + 0x1f4]
jmp 0x470e87
lea eax, [esi + 0x1e8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
call fcn.004033b3
lea ecx, [esi + 0x228]
call fcn.00403467
lea ecx, [esi + 0x220]
call fcn.004710e2
lea ecx, [esi + 0x2c4]
call fcn.00470fc6
lea ecx, [esi + 0x100]
call fcn.00403467
lea ecx, [esi + 0x50]
call fcn.00403467
lea ecx, [esi + 0x78]
call fcn.00403467
lea ecx, [esi + 0xa8]
call fcn.004710d1
lea ecx, [esi + 0x8c]
call fcn.004710b7
lea ecx, [esi + 0x68]
call fcn.00470f86
push 8
pop edx
mov ecx, esi
call fcn.004155d0
pop esi
pop edi
pop ebx
ret
movzx eax, byte [ecx + 0x38]
cmp eax, 2
je 0x470f08
cmp eax, 3
jne 0x470f0f
ret
mov ecx, dword [ecx]
jmp fcn.00470f5f
jmp fcn.00470f14
Function at 0x47962a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, ecx
mov dword [esp + 0x78], 2
and dword [esp + 0x88], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x100]
mov dword [eax + 0x100], 3
cmp ecx, 3
je 0x47977a
mov dword [esp + 0x18], ecx
movups xmm0, xmmword [eax + 0x104]
movups xmm1, xmmword [eax + 0x114]
movups xmmword [esp + 0x2c], xmm1
movups xmm1, xmmword [eax + 0x124]
movups xmmword [esp + 0x3c], xmm1
movups xmmword [esp + 0x1c], xmm0
mov eax, dword [eax + 0x134]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov eax, dword [esi + 0x3c]
and dword [esi + 0x3c], 0
cmp eax, 1
je 0x4796bf
cmp eax, 2
jne 0x479798
lea ecx, [esp + 0x18]
jmp 0x479775
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov bh, byte [esp + 0x40]
mov eax, dword [esp + 0x48]
movzx edx, word [esp + 0x4c]
mov bl, byte [esp + 0x4e]
movups xmm0, xmmword [esp + 0x18]
lea ecx, [esp + 0x50]
movaps xmmword [ecx], xmm0
movsd xmm0, qword [esp + 0x28]
movsd qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
mov byte [ecx + 0x1e], bl
mov word [ecx + 0x1c], dx
call fcn.004797ff
test eax, eax
je 0x479771
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], eax
test bh, bh
je 0x479720
or bl, 1
mov byte [esp + 0x6e], bl
movaps xmm0, xmmword [esp + 0x50]
movaps xmm1, xmmword [esp + 0x60]
lea edi, [esp + 0x90]
movups xmmword [edi + 0x18], xmm1
movups xmmword [edi + 8], xmm0
mov byte [edi], 0
lea ebx, [esp + 0xc]
mov ecx, ebx
call fcn.00436850
lea ecx, [eax + 0x64]
mov edx, dword [esp + 8]
push edi
call fcn.0048b4dc
pop eax
mov ecx, ebx
call fcn.00436868
cmp dword [eax + 0x3c], 0
jle 0x47976d
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.00437cd3
mov bl, 1
jmp 0x47977c
lea ecx, [esp + 0x50]
call fcn.00479572
xor ebx, ebx
lea esi, [esp + 0x70]
mov ecx, esi
call fcn.0047952c
mov ecx, esi
call fcn.0047953d
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x23
pop edx
mov ecx, str.wasnt_expecting_a_frame_to_reclaim
push 0x53e534
call fcn.005072d8
pop eax
ud2
Function at 0x47bb9b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
mov eax, dword [ecx]
lea esi, [eax - 0xb]
lea edi, [eax - 0xa]
xor edx, edx
cmp esi, 2
cmovb edx, edi
cmp edx, 1
je 0x47bbc1
test edx, edx
jne 0x47bbbe
add eax, 0xfffffff7
cmp eax, 2
jae 0x47bbcb
pop esi
pop edi
ret
add ecx, 8
pop esi
pop edi
jmp fcn.0047bb33
pop esi
pop edi
jmp fcn.00470c42
Function at 0x494e2d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [edx + 0x14]
lock inc dword [eax]
jle 0x494f9b
mov edi, edx
mov esi, ecx
mov ecx, dword [edx + 0x18]
lock inc dword [ecx]
jle 0x494f9b
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x10], eax
cmp dword [edi], 0
je 0x494e79
mov ecx, dword [edi + 4]
call fcn.004ba27d
mov dword [esp + 0x1c], eax
xor eax, eax
inc eax
mov dword [esp + 0xc], eax
jmp 0x494e81
mov dword [esp + 0xc], 0
mov ecx, dword [edi + 8]
call fcn.004ba2a8
mov cl, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
mov ch, byte [edi + 0xc]
mov dh, byte [edi + 0xd]
mov bl, byte [edi + 0xe]
mov byte [esp + 0xb], bl
mov bl, byte [edi + 0xf]
mov byte [esp + 0xa], bl
mov ebp, dword [edi + 0x44]
lock inc dword [ebp]
jle 0x494f9b
mov byte [esp + 6], dh
mov byte [esp + 7], ch
mov byte [esp + 8], dl
mov ebx, eax
mov byte [esp + 9], cl
mov al, byte [edi + 0x48]
mov byte [esp + 5], al
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x20], eax
mov al, byte [edi + 0x49]
mov byte [esp + 4], al
mov al, byte [edi + 0x4a]
mov byte [esp + 3], al
cmp byte [edi + 0x40], 2
jne 0x494ef9
mov byte [esp + 0x3c], 2
jmp 0x494f07
add edi, 0x30
lea ecx, [esp + 0x2c]
mov edx, edi
call fcn.0047a35d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov dword [esi], edi
mov edi, dword [esp + 0x1c]
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov bl, byte [esp + 7]
mov byte [esi + 0xc], bl
mov bl, byte [esp + 6]
mov byte [esi + 0xd], bl
mov bl, byte [esp + 0xb]
mov byte [esi + 0xe], bl
mov bl, byte [esp + 0xa]
mov byte [esi + 0xf], bl
mov bl, byte [esp + 9]
mov byte [esi + 0x10], bl
mov bl, byte [esp + 8]
mov byte [esi + 0x11], bl
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x44], ebp
mov al, byte [esp + 5]
mov byte [esi + 0x48], al
mov eax, dword [esp + 0x24]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x28], eax
mov al, byte [esp + 4]
mov byte [esi + 0x49], al
mov al, byte [esp + 3]
mov byte [esi + 0x4a], al
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x40], eax
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esi + 0x30], xmm0
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
Function at 0x49a6c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [ecx], 9
jne fcn.0049a6ca
ret

Function at 0x49a6ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
mov esi, ecx
mov ecx, dword [ecx]
add ecx, 0xfffffffa
xor eax, eax
inc eax
cmp ecx, 3
cmovb eax, ecx
cmp eax, 1
je 0x49a72a
test eax, eax
jne 0x49a733
lea edi, [esi + 8]
lea ecx, [esi + 0x10c]
call fcn.004710d1
lea ecx, [esi + 0xc0]
call fcn.00470c2a
mov ecx, edi
call fcn.0049a736
lea ecx, [esi + 0xe0]
call fcn.00471097
lea ecx, [esi + 0xa8]
call fcn.00403467
add esi, 0xd8
mov ecx, esi
pop esi
pop edi
jmp fcn.00403467
mov ecx, esi
pop esi
pop edi
jmp fcn.0049a75b
pop esi
pop edi
ret

Function at 0x49a75b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
mov esi, ecx
mov eax, dword [ecx]
cmp eax, 5
jne 0x49a772
add esi, 4
mov ecx, esi
pop esi
pop edi
jmp fcn.0049a90f
lea edx, [eax - 3]
lea edi, [eax - 2]
xor ecx, ecx
cmp edx, 2
cmovb ecx, edi
cmp ecx, 1
je 0x49a7aa
test ecx, ecx
jne 0x49a831
cmp eax, 2
je 0x49a831
lea ecx, [esi + 0x98]
call fcn.0049a834
mov ecx, esi
pop esi
pop edi
jmp fcn.0049a83e
lea ecx, [esi + 4]
cmp byte [esi + 0x3c], 4
jne 0x49a76b
mov esi, dword [ecx]
movzx eax, byte [esi + 0xad]
test eax, eax
je 0x49a7d7
cmp eax, 3
je 0x49a7ee
cmp eax, 4
jne 0x49a827
lea ecx, [esi + 0xb0]
call fcn.0049a8f5
jmp 0x49a7f9
lea ecx, [esi + 0x50]
call fcn.00403467
lea eax, [esi + 0x80]
push eax
call fcn.0049a889
pop eax
jmp 0x49a801
lea ecx, [esi + 0xb0]
call fcn.0049a8ad
lea ecx, [esi + 0x50]
call fcn.00403467
lea ecx, [esi + 0x78]
call fcn.00403467
lea ecx, [esi + 0xa8]
call fcn.004710d1
lea ecx, [esi + 0x8c]
call fcn.004710b7
lea ecx, [esi + 0x68]
call fcn.0049a867
push 8
pop edx
mov ecx, esi
call fcn.004155d0
pop esi
pop edi
ret