joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d0c0
Capabilities:
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov eax, ecx
mov ecx, dword [esp + 0xc]
push ebx
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 0xc], edx
mov edx, dword [esp + 8]
push esi
mov dword [eax], 0x5fa1f8
mov dword [eax + 8], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
xor ebx, ebx
lea esi, [eax + 0x43c]
mov edx, ebx
shr edx, 1
test bl, 1
je 0x45d101
xor edx, 0xedb88320
test dl, 1
je 0x45d110
shr edx, 1
xor edx, 0xedb88320
jmp 0x45d112
shr edx, 1
test dl, 1
je 0x45d121
shr edx, 1
xor edx, 0xedb88320
jmp 0x45d123
shr edx, 1
test dl, 1
je 0x45d132
shr edx, 1
xor edx, 0xedb88320
jmp 0x45d134
shr edx, 1
test dl, 1
je 0x45d143
shr edx, 1
xor edx, 0xedb88320
jmp 0x45d145
shr edx, 1
test dl, 1
je 0x45d154
shr edx, 1
xor edx, 0xedb88320
jmp 0x45d156
shr edx, 1
test dl, 1
je 0x45d165
shr edx, 1
xor edx, 0xedb88320
jmp 0x45d167
shr edx, 1
test dl, 1
je 0x45d176
shr edx, 1
xor edx, 0xedb88320
jmp 0x45d178
shr edx, 1
mov dword [esi], edx
inc ebx
add esi, 4
cmp ebx, 0x100
jb 0x45d0f2
pop esi
mov byte [eax + 0x93b], cl
pop ebx
ret 0xc

Function at 0x45d1f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [ecx + 0x10]
test edx, edx
push ebx
push ebp
push esi
push edi
je 0x45d2e1
mov edi, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
lea esi, [edi + 4]
cmp esi, ebp
jae 0x45d2e1
xor eax, eax
mov dword [ecx + 8], esi
mov ah, byte [edi + edx]
movzx ebx, byte [edi + edx + 2]
mov al, byte [edi + edx + 1]
movzx edi, byte [edi + edx + 3]
shl eax, 8
or eax, ebx
shl eax, 8
or edi, eax
lea eax, [esi + 4]
cmp eax, ebp
jae 0x45d2e1
xor ebx, ebx
mov dword [ecx + 8], eax
mov bh, byte [esi + edx]
movzx eax, byte [esi + edx + 2]
mov bl, byte [esi + edx + 1]
movzx edx, byte [esi + edx + 3]
shl ebx, 8
or ebx, eax
mov eax, dword [esp + 0x18]
shl ebx, 8
or ebx, edx
mov dword [eax], ebx
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
lea edx, [eax + edi + 4]
cmp edx, esi
mov dword [esp + 0x10], ebx
jae 0x45d2e1
mov esi, 0xfffffffc
or edx, 0xffffffff
cmp edi, esi
jle 0x45d2a6
mov ebx, dword [ecx + 0x10]
lea ebp, [eax + ebx]
xor ebx, ebx
mov bl, byte [esi + ebp]
xor ebx, edx
and ebx, 0xff
shr edx, 8
xor edx, dword [ecx + ebx*4 + 0x43c]
inc esi
cmp esi, edi
jl 0x45d286
mov ebx, dword [esp + 0x10]
mov ebp, dword [ecx + 0x10]
lea esi, [eax + edi]
movzx ecx, byte [esi + ebp + 2]
xor eax, eax
mov ah, byte [esi + ebp]
add esi, ebp
not edx
mov al, byte [esi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, ecx
cmp edx, eax
jne 0x45d2e1
cmp ebx, 0x49454e44
je 0x45d2e1
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 4
Function at 0x45f320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov eax, esi
imul eax, ecx
lea eax, [eax + eax*2]
cmp eax, 0x800000
jae 0x45f366
cmp ecx, 0xb40
jg 0x45f366
cmp esi, 0xb40
jle 0x45f37a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x45f347
cmp ecx, 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ecx
jl 0x45f493
cmp esi, 1
jl 0x45f493
mov esi, dword [esp + 0x64]
mov ecx, esi
mov dword [esi + 0x264], 1
call fcn.004b2150
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
xor ebp, ebp
push ebp
push 7
push ebp
push 6
push ecx
push edx
mov ecx, esi
call dword [eax + 0x3c]
push eax
lea ecx, [esp + 0x3c]
call fcn.004eda80
cmp dword [esp + 0x3c], ebp
je 0x45f48a
lea ecx, [esp + 0x20]
call fcn.004ed2d0
test eax, eax
je 0x45f48a
lea ecx, [esp + 0x20]
lea edi, [esi + 0x15c]
push ecx
mov ecx, edi
call fcn.00479540
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
mov ecx, dword [ebx + 0x54]
push 2
lea edx, [esp + 0x14]
push edx
push eax
push ecx
mov ecx, edi
call fcn.0047a280
mov dword [esi + 0x250], ebp
mov dword [esi + 0x254], ebp
mov edx, dword [ebx + 0x54]
mov ecx, edi
mov dword [esi + 0x268], edx
call fcn.004795e0
mov eax, dword [esi + 0x588]
push eax
mov ecx, edi
mov dword [esi + 0x268], ebp
call fcn.00479540
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x80]
call fcn.004ff100
lea ecx, [esp + 0x20]
call fcn.004ed2f0
mov dword [esi + 0x264], ebp
lea ecx, [esp + 0x20]
call fcn.004edad0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x46a520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x38]
mov ebx, dword [eax + 0x90]
test ebx, ebx
push edi
mov dword [ebp - 4], ebx
je 0x46a73b
mov edi, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
mov ecx, edi
shl ecx, 8
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0xec]
shl ecx, 8
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
push edx
mov ecx, edx
push ecx
add eax, 0x20
push eax
call fcn.0043ddc0
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx + 0x20]
sar eax, 8
xor edx, edx
add esp, 0xc
cmp eax, edx
mov dword [ebp - 8], eax
jne 0x46a63d
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 0x10]
xor edx, edx
mov dl, byte [ecx + 0x94]
sar eax, 0xf
add eax, 0x80
sub esi, edi
and edx, 0xc
push edx
push eax
call fcn.0046a190
movzx dx, byte [ebx + eax*4 + 2]
movzx cx, byte [ebx + eax*4 + 3]
lea eax, [ebx + eax*4]
mov word [ebp - 8], dx
movzx dx, byte [eax]
mov word [ebp - 6], cx
movzx cx, byte [eax + 1]
mov word [ebp - 0xc], dx
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
add esp, 8
test eax, eax
mov word [ebp - 0xa], cx
mov dword [ebp + 8], eax
je 0x46a605
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
movq mm0, qword [ebp - 0xc]
movq qword [edi], mm0
movq qword [edi + 8], mm0
movq qword [edi + 0x10], mm0
movq qword [edi + 0x18], mm0
add edi, 0x20
sub ecx, 1
jne 0x46a5ec
emms
mov ecx, eax
neg ecx
lea ecx, [esi + ecx*4]
mov esi, dword [ebp + 0x14]
shl eax, 5
add esi, eax
test ecx, ecx
je 0x46a73b
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
lea ecx, [ecx*8 - 5]
shr ecx, 2
lea edi, [esi + 8]
mov dword [esi], edx
mov dword [esi + 4], eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x94]
shr ecx, 2
mov dword [ebp + 8], ecx
mov dword [ebp - 0x2c], 0x80
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0xff
mov dword [ebp - 0x18], edx
push ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
sub ebx, eax
test ebx, ebx
je 0x46a738
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
pxor mm0, mm0
movq mm1, qword [ebp - 0x2c]
movq mm2, qword [ebp - 0x24]
cmp dword [ebp + 8], 0
je 0x46a710
movq mm4, qword [ebp - 0x1c]
cmp dword [ebp + 8], 1
je 0x46a6d0
movd mm3, edx
psrad mm3, 0xf
paddd mm3, mm1
pand mm3, mm4
pextrw eax, mm3, 0
movd mm3, dword [esi + eax*4]
punpcklbw mm3, mm0
movq qword [edi], mm3
add edx, ecx
add edi, 8
sub ebx, 1
jne 0x46a6a0
jmp 0x46a738
movd mm3, edx
psrad mm3, 0xf
paddd mm3, mm1
pshufw mm5, mm3, 0xe4
pand mm5, mm2
pcmpeqd mm5, mm2
pxor mm3, mm5
pand mm3, mm4
pextrw eax, mm3, 0
movd mm3, dword [esi + eax*4]
punpcklbw mm3, mm0
movq qword [edi], mm3
add edx, ecx
add edi, 8
sub ebx, 1
jne 0x46a6d0
jmp 0x46a738
movd mm3, edx
psrad mm3, 0xf
paddd mm3, mm1
pminsw mm3, mm2
pmaxsw mm3, mm0
pextrw eax, mm3, 0
movd mm3, dword [esi + eax*4]
punpcklbw mm3, mm0
movq qword [edi], mm3
add edx, ecx
add edi, 8
sub ebx, 1
jne 0x46a710
pop ebx
emms
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x38]
mov esi, dword [eax + 0x90]
test esi, esi
je 0x46a8d0
mov edx, dword [edi + 0xc]
push ebp
mov ebp, dword [esp + 0x24]
mov ecx, ebp
shl ecx, 8
mov dword [esp + 0xc], ecx
mov ecx, dword [edx + 0xec]
shl ecx, 8
mov dword [esp + 0x10], ecx
mov cl, byte [0x67fe91]
add eax, 0x20
lea edx, [esp + 0xc]
test cl, cl
mov ecx, edx
je 0x46a7a6
push edx
call fcn.00460df0
add esp, 4
jmp 0x46a7b1
push ecx
push edx
push eax
call fcn.0043ddc0
add esp, 0xc
mov eax, dword [edi + 0x38]
mov edi, dword [esp + 0x28]
push ebx
mov ebx, dword [eax + 0x20]
sar ebx, 8
sub edi, ebp
test ebx, ebx
jne 0x46a842
movzx eax, byte [eax + 0x94]
mov ecx, dword [esp + 0x10]
and eax, 0xc
sar ecx, 0xf
push eax
add ecx, 0x80
push ecx
call fcn.0046a190
movzx dx, byte [esi + eax*4 + 3]
movzx cx, byte [esi + eax*4 + 2]
lea eax, [esi + eax*4]
mov word [esp + 0x26], dx
movzx dx, byte [eax + 1]
movzx ax, byte [eax]
add esp, 8
test edi, edi
mov word [esp + 0x1c], cx
mov word [esp + 0x1a], dx
mov word [esp + 0x18], ax
je 0x46a8ce
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi], ecx
lea ecx, [edi*8 - 5]
pop ebx
lea edi, [esi + 8]
mov dword [esi + 4], edx
shr ecx, 2
pop ebp
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add esp, 0x10
ret
test edi, edi
je 0x46a8ce
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x38]
movzx edx, byte [edx + 0x94]
mov eax, ebp
sar eax, 0xf
and edx, 0xc
add eax, 0x80
cmp edx, 4
je 0x46a88d
cmp edx, 8
je 0x46a897
cmp eax, 0x100
jle 0x46a885
mov eax, 0x100
jmp 0x46a89c
test eax, eax
jge 0x46a89c
xor eax, eax
jmp 0x46a89c
test ah, 1
je 0x46a897
xor eax, 0xff
and eax, 0xff
movzx dx, byte [esi + eax*4 + 3]
mov word [ecx + 6], dx
movzx dx, byte [esi + eax*4 + 2]
mov word [ecx + 4], dx
movzx dx, byte [esi + eax*4 + 1]
mov word [ecx + 2], dx
movzx ax, byte [esi + eax*4]
mov word [ecx], ax
add ebp, ebx
add ecx, 8
dec edi
mov dword [esp + 0x10], ebp
jne 0x46a852
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x10
ret
Function at 0x46b210
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x67fe90]
test al, al
je 0x46b248
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x38]
mov eax, dword [ecx]
cmp eax, 0x13
mov dword [esp + 4], edx
jne 0x46b230
jmp fcn.0046a8e0
cmp eax, 0x12
jne 0x46b243
test byte [ecx + 0x94], 0xc
jne 0x46b22b
jmp fcn.0046af30
jmp fcn.0046a520
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx]
cmp eax, 0x13
mov dword [esp + 4], ecx
jne 0x46b25f
jmp fcn.0046ac80
cmp eax, 0x12
jne 0x46b269
jmp fcn.0046b090
jmp fcn.0046a750
Function at 0x471c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
mov dword [eax], ecx
shr ecx, 2
and ebx, 3
test ecx, ecx
push esi
jbe 0x471c72
push edi
mov edi, ecx
movzx ecx, word [edx]
mov esi, dword [eax]
add esi, ecx
mov ecx, esi
mov dword [eax], esi
shl ecx, 0x10
xor ecx, esi
add edx, 2
mov dword [eax], ecx
movzx esi, word [edx]
shl esi, 0xb
xor esi, ecx
mov dword [eax], esi
mov ecx, esi
shr esi, 0xb
add esi, ecx
add edx, 2
dec edi
mov dword [eax], esi
jne 0x471c43
pop edi
mov ecx, ebx
dec ecx
je 0x471cb6
dec ecx
je 0x471ca1
dec ecx
jne 0x471ccc
movzx ecx, word [edx]
mov esi, dword [eax]
add esi, ecx
mov ecx, esi
shl ecx, 0x10
xor ecx, esi
mov dword [eax], ecx
movzx edx, byte [edx + 2]
shl edx, 0x12
xor edx, ecx
mov ecx, edx
shr ecx, 0xb
add ecx, edx
mov dword [eax], ecx
jmp 0x471ccc
movzx edx, word [edx]
mov ecx, dword [eax]
add edx, ecx
mov ecx, edx
shl ecx, 0xb
xor ecx, edx
mov edx, ecx
shr edx, 0x11
jmp 0x471cc8
movzx ecx, byte [edx]
mov edx, dword [eax]
add edx, ecx
mov ecx, edx
shl ecx, 0xa
xor ecx, edx
mov edx, ecx
shr edx, 1
add edx, ecx
mov dword [eax], edx
mov edx, dword [eax]
lea ecx, [edx*8]
xor ecx, edx
mov edx, ecx
shr edx, 5
add edx, ecx
lea ecx, [edx*4]
xor ecx, edx
mov edx, ecx
shr edx, 0xf
add ecx, edx
mov edx, ecx
shl edx, 0xa
xor edx, ecx
pop esi
mov dword [eax], edx
pop ebx
ret
Function at 0x486d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
mov edi, ecx
mov ecx, dword [edi + 0x50]
xor ebx, ebx
cmp ecx, ebx
mov dword [edi], 0x5fad9c
je 0x486d89
push edi
call fcn.00486110
cmp dword [edi + 0x6c], ebx
push esi
je 0x486dfc
nop
mov esi, dword [edi + 0x6c]
cmp esi, ebx
mov eax, dword [esi + 0x44]
mov dword [edi + 0x6c], eax
je 0x486df7
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov ecx, dword [esi + 0x28]
push ecx
call fcn.005dd350
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov edx, dword [esi + 0x1c]
push edx
call fcn.005dd350
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x10]
push eax
call fcn.005dd350
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov ecx, dword [esi + 4]
push ecx
call fcn.005dd350
push esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.005dd350
add esp, 0x14
cmp dword [edi + 0x6c], ebx
jne 0x486d90
mov eax, dword [edi + 0x58]
cmp eax, ebx
lea esi, [edi + 0x58]
jne 0x486e0a
mov dword [esi], ebx
jmp 0x486e14
push ebx
push esi
call fcn.005dc9a0
add esp, 8
cmp dword [edi + 0x78], ebx
je 0x486e38
lea esp, [esp]
mov ecx, dword [edi + 0x78]
cmp ecx, ebx
mov edx, dword [ecx + 0x5c]
mov dword [edi + 0x78], edx
je 0x486e33
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [edi + 0x78], ebx
jne 0x486e20
mov eax, dword [edi + 0x64]
cmp eax, ebx
je 0x486e57
mov ecx, dword [eax + 0x10]
add eax, 0x10
cmp ecx, ebx
jne 0x486e4d
mov dword [eax], ebx
jmp 0x486e57
push ebx
push eax
call fcn.005dc9a0
add esp, 8
mov eax, dword [edi + 0x64]
cmp eax, ebx
je 0x486e9b
mov ecx, dword [eax + 4]
test ecx, 0x40000000
jne 0x486e98
cmp ecx, ebx
je 0x486e98
mov edx, ecx
and edx, 0xff
dec edx
je 0x486e98
dec ecx
mov dword [eax + 4], ecx
and ecx, 0xff
dec ecx
jne 0x486e98
push eax
and eax, 0xfffff000
mov ecx, dword [eax]
add ecx, 0x340
call fcn.005dbe70
mov dword [edi + 0x64], ebx
mov dword [edi + 0x60], ebx
mov ecx, dword [edi + 0x5c]
cmp ecx, ebx
je 0x486ee1
mov eax, dword [ecx + 4]
test eax, 0x40000000
jne 0x486ede
cmp eax, ebx
je 0x486ede
mov edx, eax
and edx, 0xff
dec edx
je 0x486ede
dec eax
mov dword [ecx + 4], eax
and eax, 0xff
dec eax
jne 0x486ede
push ecx
and ecx, 0xfffff000
mov ecx, dword [ecx]
add ecx, 0x340
call fcn.005dbe70
mov dword [edi + 0x5c], ebx
mov dword [esi], ebx
mov eax, dword [edi + 0x54]
cmp eax, ebx
pop esi
je 0x486f28
mov ecx, dword [eax + 4]
test ecx, 0x40000000
jne 0x486f25
cmp ecx, ebx
je 0x486f25
mov edx, ecx
and edx, 0xff
dec edx
je 0x486f25
dec ecx
mov dword [eax + 4], ecx
and ecx, 0xff
dec ecx
jne 0x486f25
push eax
and eax, 0xfffff000
mov ecx, dword [eax]
add ecx, 0x340
call fcn.005dbe70
mov dword [edi + 0x54], ebx
lea ecx, [edi + 8]
call fcn.00435f20
mov dword [edi], 0x5f7aa0
pop edi
pop ebx
ret
Function at 0x490930
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push 0x3c
mov ebx, ecx
call fcn.005dd330
mov esi, eax
add esp, 4
test esi, esi
je 0x490986
mov ecx, ebx
call fcn.00449e30
test eax, eax
je 0x49095f
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x20]
mov cl, byte [eax + 0x129]
test cl, cl
jne 0x490975
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 8]
cmp eax, dword [ecx + 0x3e8]
jne 0x490975
mov eax, dword [ecx + 0x3e4]
jmp 0x490978
add eax, 0x10
push eax
mov ecx, esi
call fcn.00463100
mov esi, eax
test esi, esi
jne 0x49098d
pop esi
xor eax, eax
pop ebx
ret 0xc
mov ecx, dword [ebx + 0x50]
mov eax, dword [esp + 0xc]
mov dword [esi + 0x18], ecx
mov dword [ebx + 0x50], esi
push ebp
mov ebp, dword [esp + 0x18]
mov edx, dword [ebp]
mov dword [esi + 0x1c], edx
movzx cx, byte [eax + 3]
mov word [esi + 0xa], cx
movzx dx, byte [eax]
mov word [esi + 8], dx
movzx cx, byte [eax + 1]
mov word [esi + 6], cx
movzx dx, byte [eax + 2]
mov eax, dword [esp + 0x14]
test eax, eax
push edi
lea edi, [esi + 4]
mov word [edi], dx
je 0x4909e3
lea ecx, [eax + 0x1c]
cmp dword [ecx], 0
je 0x4909e3
push 1
push edi
call fcn.0046bb20
movzx eax, word [edi + 6]
cmp eax, 0xff
jge 0x490a1e
movzx ecx, word [edi + 4]
movzx edx, word [edi + 2]
inc eax
imul ecx, eax
imul edx, eax
sar ecx, 8
mov word [edi + 4], cx
movzx ecx, word [edi]
imul ecx, eax
sar edx, 8
sar ecx, 8
mov word [edi + 2], dx
mov word [edi], cx
mov eax, 1
jmp 0x490a20
xor eax, eax
mov ecx, ebx
mov byte [esi + 0x24], al
call fcn.00449e30
test eax, eax
je 0x490a43
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x20]
mov cl, byte [eax + 0x129]
test cl, cl
je 0x490a43
add eax, 0x10
jmp 0x490a5c
mov ebx, dword [ebx + 0x2c]
mov eax, dword [ebx + 8]
cmp ebx, dword [eax + 0x3e8]
jne 0x490a59
mov eax, dword [eax + 0x3e4]
jmp 0x490a5c
lea eax, [ebx + 0x10]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x490a6a
mov ecx, esi
call fcn.0046f9a0
mov eax, dword [ebp]
inc eax
pop edi
mov dword [ebp], eax
pop ebp
mov eax, esi
pop esi
pop ebx
ret 0xc
Function at 0x493420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x493441
mov eax, dword [esp + 0x30]
push eax
call fcn.0043d6a0
add esp, 4
pop esi
add esp, 0x24
ret 8
mov eax, dword [eax + 0x78]
cmp eax, 7
push edi
jne 0x4934a8
mov ecx, dword [esi + 4]
movzx edi, word [ecx + 0x5a]
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x18]
push edx
lea ecx, [eax + 0x10]
push edi
push ecx
add eax, 0x3c
push eax
call fcn.0044f130
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x18]
push edx
push edi
push eax
add eax, 0x4c
push eax
call fcn.0044f130
mov eax, dword [esi + 0x18]
movzx ecx, byte [eax + 0x20]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
add esp, 0x20
push ecx
push edx
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.00490670
pop edi
pop esi
add esp, 0x24
ret 8
test eax, eax
mov ecx, esi
jne 0x4934e1
push eax
call fcn.00491e50
push 1
mov ecx, esi
mov edi, eax
call fcn.00491e50
mov ecx, dword [esi + 0x18]
movzx edx, byte [ecx]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.00490670
pop edi
pop esi
add esp, 0x24
ret 8
push ebx
push ebp
push 0
call fcn.00491e50
push 1
mov ecx, esi
mov ebp, eax
call fcn.00491e50
mov edi, eax
push 0
push edi
push ebp
call fcn.0043d9c0
add esp, 0xc
test eax, eax
jne 0x493554
mov eax, dword [esp + 0x38]
push eax
call fcn.0043ef50
add esp, 4
test eax, eax
jne 0x493554
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x493539
mov ecx, dword [ecx + 0x48]
test cl, 2
je 0x49352f
mov eax, 1
test cl, 1
je 0x49353e
or eax, 2
jmp 0x49353e
mov eax, 0xff
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
push ebx
push edx
push edi
push ebp
mov ecx, esi
call fcn.00490670
jmp 0x493567
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push edi
push eax
call fcn.0043e2d0
add esp, 0xc
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x493586
mov ecx, esi
call fcn.0048e810
mov edx, dword [eax]
neg edx
push ebx
push edx
call fcn.0043f690
add esp, 8
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x78], 4
jne 0x4935e8
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4935e8
mov edx, dword [eax + 0xc]
test edx, edx
jbe 0x4935e8
mov ecx, dword [ecx + 0x68]
mov eax, dword [ecx + 0x210]
test eax, eax
jne 0x4935b2
call fcn.004a0d20
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], eax
call fcn.0043d6a0
mov eax, dword [esp + 0x3c]
add esp, 4
lea edx, [esp + 0x20]
push edx
push 0x48cbc0
push eax
mov ecx, esi
call fcn.0048ff70
push ebx
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.0043f7b0
add esp, 0xc
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x24
ret 8
Function at 0x497b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x18]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x497bee
cmp dword [eax + 0x78], 9
jne 0x497bee
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
je 0x497b8e
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x497b8e
mov eax, dword [eax + 0x3e0]
jmp 0x497b90
xor eax, eax
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.0043f9a0
add esp, 0xc
test al, al
je 0x497c38
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0043ddc0
mov edx, dword [ebp + 4]
mov ecx, dword [edx + 0x18]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call fcn.00432f40
push eax
call fcn.0043d960
add esp, 8
test eax, eax
je 0x497c38
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
cmp dword [esp + 0x44], ebx
je 0x497c44
mov ecx, ebp
call fcn.0048df30
test eax, eax
je 0x497c38
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push 1
push ecx
push edx
sub esp, 0xdc
mov ecx, esp
push eax
call fcn.004933c0
mov ecx, ebp
call fcn.00498410
test eax, eax
je 0x497c38
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
mov edi, dword [esp + 0x40]
lea ecx, [ebp + 0x7c]
push edi
push ecx
mov dword [esp + 0x4c], ebx
call fcn.0043d960
add esp, 8
test eax, eax
je 0x497d3a
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push 1
push edx
push eax
mov ecx, ebp
call fcn.00496720
mov esi, dword [ebp + 0x4c]
test esi, esi
je 0x497d3a
movsx eax, word [esi + 0x12]
mov edx, dword [edi + 4]
cmp eax, edx
jg 0x497d0a
movsx ecx, word [esi + 0x1a]
cmp edx, ecx
jge 0x497d0a
movsx edx, word [esi + 0x10]
mov dword [esp + 0x1c], eax
movsx eax, word [esi + 0x14]
mov dword [esp + 0x18], edx
movsx edx, word [esi + 0x16]
mov dword [esp + 0x20], eax
movsx eax, word [esi + 0x18]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [esi + 0x1c]
push 0
mov dword [esp + 0x28], edx
lea edx, [esp + 0x1c]
push edi
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
call fcn.00420360
add esp, 0xc
test ax, ax
je 0x497d0a
movzx eax, byte [esi + 0x1d]
sub eax, 0
mov ebx, 1
je 0x497cfc
dec eax
je 0x497cf7
dec eax
jne 0x497d0a
mov eax, dword [esi + 8]
mov cl, byte [esi + 0x1e]
add byte [eax + 0x25], cl
jmp 0x497d0a
mov eax, dword [esi + 8]
jmp 0x497d06
mov eax, dword [esi + 8]
xor byte [eax + 0x25], 1
mov eax, dword [esi + 0xc]
xor byte [eax + 0x25], 1
mov esi, dword [esi]
test esi, esi
jne 0x497c80
test ebx, ebx
je 0x497d3a
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x497d3a
nop
mov cl, byte [eax + 0x25]
test cl, cl
je 0x497d2f
mov dword [esp + 0x44], 1
mov byte [eax + 0x25], 0
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x497d20
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10