joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bbd0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x476020]
mov esi, eax
add esp, 4
test esi, esi
jne 0x45bbfb
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x45bc4a
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [edi]
push ebx
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov ebx, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x28], ebx
jmp 0x45bc52
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x45bcc6
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x45bc80
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jae 0x45bcf5
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x4705bd
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x4705be
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x45bcd0
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x45bd00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
call fcn.00407130
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [0x476020]
mov esi, eax
add esp, 8
test esi, esi
je 0x45be82
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x45bd82
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x38], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x45bdf6
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x45bdb0
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jae 0x45be25
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x4705bd
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x4705be
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x45be00
push dword [esp + 0x30]
call fcn.00407130
mov ecx, dword [esi]
push eax
push dword [esp + 0x34]
push dword [esi + 4]
mov eax, dword [ecx + 4]
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [esi]
test edi, edi
jne 0x45be50
mov edi, dword [ebx + 0xc]
add edi, dword [esi + 8]
push dword [esi + 4]
mov eax, dword [ebx + 8]
push edi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push edi
push dword [esi + 8]
call eax
push dword [esi + 8]
mov eax, dword [ebx + 8]
push edi
call eax
push esi
call dword [0x476024]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
Function at 0x45bf50
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push 0xf0000040
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x45bf76
mov eax, 0x1b
add esp, 0xc
ret
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x800c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x45bfae
push eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], 0
mov eax, 2
add esp, 0xc
ret
push dword [esp + 0x18]
call fcn.00407130
add esp, 4
push 0
push eax
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [esp], 0x20
jne 0x45c005
push 0
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 8]
test eax, eax
je 0x45c014
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x45c025
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add esp, 0xc
ret
Function at 0x45cc60
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x45ccab
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x45cc71
pop edi
pop esi
pop ebx
ret
Function at 0x460844
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x460883
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x460883
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x460883
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x460883
cmp dword [ecx + 0x74], 0xe
jbe 0x460883
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402fb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5cff88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x30]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov byte [esp + 0xc], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov dword [esp + 0x34], ebx
call fcn.00560aa0
mov esi, dword [esp + 0x3c]
mov dl, byte [esp + 0x1c]
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x5da354]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00403f40
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x40305f
mov al, byte [ecx - 1]
cmp al, bl
je 0x403055
cmp al, 0xff
je 0x403055
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.0054a2d0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4109b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d06c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.00540e20
mov al, byte [esp + 0xb]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], ebx
mov byte [esp + 0x10], al
call fcn.00402850
mov byte [esp + 0x74], 1
xor esi, esi
call fcn.005be130
and eax, 0xffff
mov ecx, 6
add eax, esi
cdq
idiv ecx
push edx
lea edx, [esp + 0x20]
push edx
call fcn.0040f300
add esp, 8
mov ecx, dword [0x5da354]
mov byte [esp + 0x74], 2
push ecx
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00403f40
mov eax, dword [esp + 0x20]
mov byte [esp + 0x74], 1
cmp eax, ebx
je 0x410a55
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x410a4c
cmp al, 0xff
je 0x410a4c
dec al
mov byte [ecx], al
jmp 0x410a55
push ecx
call fcn.0054a2d0
add esp, 4
lea edx, [esp + 0xc]
push str._dummy.txt
lea eax, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00404300
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 3
call fcn.00543170
test eax, eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x74], 1
sete byte [esp + 0xb]
cmp eax, ebx
je 0x410ab8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x410aaf
cmp al, 0xff
je 0x410aaf
dec al
mov byte [ecx], al
jmp 0x410ab8
push ecx
call fcn.0054a2d0
add esp, 4
mov al, byte [esp + 0xb]
mov dword [esp + 0x30], ebx
cmp al, bl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jne 0x410ad6
inc esi
cmp esi, 6
jl 0x4109f2
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x410ae3
mov eax, 0x5da40c
push eax
call fcn.005c0080
and eax, 0xff
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x410b18
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x410b0f
cmp al, 0xff
je 0x410b0f
dec al
mov byte [ecx], al
jmp 0x410b18
push ecx
call fcn.0054a2d0
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x74], 0xffffffff
call fcn.00540e80
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x4152d0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d0bb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 2
mov dword [esp + 0x18], edi
call fcn.0045cf80
lea esi, [edi + 0x18]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x44], ebx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x18], esi
call fcn.00417f80
lea ecx, [esi + 0x5c]
mov byte [esp + 0x44], 1
call fcn.0044c710
mov dword [esi], fcn.005498b0
mov byte [esi + 0x6c], bl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov al, byte [esp + 0x12]
lea ecx, [esi + 0x7c]
push ebx
mov byte [esp + 0x48], 2
mov byte [ecx], al
call fcn.00402850
mov dword [esi], 0x5da45c
lea ecx, [esp + 0x12]
mov byte [esp + 0x44], 3
push ecx
push str.ANIME02_start.txt
lea ecx, [esp + 0x34]
mov dword [edi], 0x5da810
call fcn.0040e960
mov ebp, eax
lea edx, [esp + 0x13]
lea ecx, [esp + 0x1c]
push edx
push str.Mege_y_
mov byte [esp + 0x4c], 4
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x54], 5
mov ecx, esp
mov dword [esp + 0x28], esp
push ebp
push eax
push ecx
call fcn.0040eed0
mov edx, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [edx]
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 4
call fcn.00402850
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 3
call fcn.00402850
mov eax, dword [esi]
mov ecx, esi
xor ebp, ebp
call dword [eax + 0x24]
test eax, eax
jle 0x4153e3
mov edx, dword [esi]
push 0xffffffffffffffff
push ebp
mov ecx, esi
call dword [edx + 8]
mov eax, dword [esi]
mov ecx, esi
inc ebp
call dword [eax + 0x24]
cmp ebp, eax
jl 0x4153cd
mov ecx, 0x5f25e8
call fcn.0055c140
xor edx, edx
mov ecx, 3
div ecx
mov dword [edi + 0x10], edx
mov eax, dword [0x5f3400]
cmp eax, ebx
je 0x415424
cmp byte [eax + 4], bl
jne 0x415424
mov byte [eax + 5], 1
mov edx, dword [0x5f3400]
mov dword [edx + 8], 3
mov eax, dword [0x5f3400]
mov dword [eax + 0x10], 0x20
mov ecx, dword [esp + 0x3c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret
Function at 0x420190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d16b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [0x5f33f8]
mov al, byte [esi + 0xa8]
lea ebp, [esi + 0xa8]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x24], esp
push 0
mov ecx, ebx
mov byte [ebx], al
call fcn.00402850
mov ecx, dword [0x5da354]
push ecx
push 0
push ebp
mov ecx, ebx
call fcn.00403f40
sub esp, 0x10
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
xor ebp, ebp
push edx
push str.PlayerName
mov dword [esp + 0x50], ebp
call fcn.0040e960
sub esp, 0x10
lea eax, [esp + 0x41]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
push str.system
mov byte [esp + 0x60], 1
call fcn.0040e960
or ebx, 0xffffffff
mov ecx, edi
mov dword [esp + 0x58], ebx
call fcn.00482540
mov dl, byte [esi + 0xbc]
lea eax, [esi + 0xbc]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov edx, dword [0x5da354]
push edx
push ebp
push eax
call fcn.00403f40
sub esp, 0x10
lea eax, [esp + 0x31]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
push str.HostName
mov dword [esp + 0x50], 2
call fcn.0040e960
sub esp, 0x10
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
push str.system
mov byte [esp + 0x60], 3
call fcn.0040e960
mov ecx, edi
mov dword [esp + 0x58], ebx
call fcn.00482540
add esi, 0xb8
push esi
sub esp, 0x10
lea eax, [esp + 0x26]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
push str.PortNo
call fcn.0040e960
sub esp, 0x10
lea edx, [esp + 0x37]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
push str.system
mov dword [esp + 0x54], 4
call fcn.0040e960
mov ecx, edi
mov dword [esp + 0x4c], ebx
call fcn.00482730
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x4201aa
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d16b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [0x5f33f8]
mov al, byte [esi + 0xa8]
lea ebp, [esi + 0xa8]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x24], esp
push 0
mov ecx, ebx
mov byte [ebx], al
call fcn.00402850
mov ecx, dword [0x5da354]
push ecx
push 0
push ebp
mov ecx, ebx
call fcn.00403f40
sub esp, 0x10
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
xor ebp, ebp
push edx
push str.PlayerName
mov dword [esp + 0x50], ebp
call fcn.0040e960
sub esp, 0x10
lea eax, [esp + 0x41]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
push str.system
mov byte [esp + 0x60], 1
call fcn.0040e960
or ebx, 0xffffffff
mov ecx, edi
mov dword [esp + 0x58], ebx
call fcn.00482540
mov dl, byte [esi + 0xbc]
lea eax, [esi + 0xbc]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov edx, dword [0x5da354]
push edx
push ebp
push eax
call fcn.00403f40
sub esp, 0x10
lea eax, [esp + 0x31]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
push str.HostName
mov dword [esp + 0x50], 2
call fcn.0040e960
sub esp, 0x10
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
push str.system
mov byte [esp + 0x60], 3
call fcn.0040e960
mov ecx, edi
mov dword [esp + 0x58], ebx
call fcn.00482540
add esi, 0xb8
push esi
sub esp, 0x10
lea eax, [esp + 0x26]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
push str.PortNo
call fcn.0040e960
sub esp, 0x10
lea edx, [esp + 0x37]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
push str.system
mov dword [esp + 0x54], 4
call fcn.0040e960
mov ecx, edi
mov dword [esp + 0x4c], ebx
call fcn.00482730
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x43e2d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5d1b43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 8], ebx
mov dword [esi + 4], 0x5daa58
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov byte [esi + 0x24], 1
mov byte [esi + 0x25], bl
mov byte [esi + 0x26], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [esi], 0x5dacc4
mov eax, dword [0x5f3028]
mov dword [esp + 0x40], ebx
mov edx, eax
inc eax
test edx, edx
mov dword [0x5f3028], eax
jne 0x43e420
push 0x8c
call fcn.0054a1d0
mov edi, eax
add esp, 4
mov dword [esp + 0x4c], edi
cmp edi, ebx
mov byte [esp + 0x40], 1
je 0x43e3a9
mov ecx, edi
call fcn.00417f80
lea ecx, [edi + 0x5c]
mov byte [esp + 0x40], 2
call fcn.0044c710
mov dword [edi], fcn.005498b0
mov byte [edi + 0x6c], bl
mov dword [edi + 0x78], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x70], ebx
lea eax, [esp + 0x48]
lea ecx, [edi + 0x7c]
push eax
mov byte [esp + 0x44], 3
call fcn.00486050
mov dword [edi], 0x5da45c
jmp 0x43e3ab
xor edi, edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], bl
push ecx
push str.duel_dialog_button__.txt
lea ecx, [esp + 0x30]
mov dword [0x5f302c], edi
call fcn.0040e960
mov ebp, eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x18]
push edx
push str.Mege_y_
mov byte [esp + 0x48], 4
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x50], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push ebp
push eax
push ecx
call fcn.0040eed0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx]
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 4
call fcn.00402850
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], bl
call fcn.00402850
call fcn.0041c370
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x58], esp
mov dword [ecx + 4], eax
mov dword [ecx], 0x5daa58
mov dword [ecx + 0xc], ebx
mov dword [ecx + 8], ebx
mov ecx, esi
call fcn.0041c0c0
mov edi, dword [0x5f302c]
mov eax, dword [esi + 0x30]
shl eax, 2
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
mov edx, dword [ecx]
push eax
call dword [edx]
mov eax, dword [esp + 0x48]
mov edx, dword [edi]
push 0xffffffffffffffff
push eax
mov ecx, edi
call dword [edx + 8]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x48]
mov dword [ecx + edx*4], ebx
mov eax, dword [esi + 0x30]
mov edi, dword [0x5f302c]
lea ecx, [eax*4 + 1]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x50]
push eax
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esp + 0x48]
mov edx, dword [edi]
push 0xffffffffffffffff
push eax
mov ecx, edi
call dword [edx + 8]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x48]
mov eax, esi
pop edi
mov dword [ecx + edx*4], ebx
mov ecx, dword [esp + 0x34]
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 8
Function at 0x43e2ea
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d1b43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 8], ebx
mov dword [esi + 4], 0x5daa58
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov byte [esi + 0x24], 1
mov byte [esi + 0x25], bl
mov byte [esi + 0x26], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [esi], 0x5dacc4
mov eax, dword [0x5f3028]
mov dword [esp + 0x40], ebx
mov edx, eax
inc eax
test edx, edx
mov dword [0x5f3028], eax
jne 0x43e420
push 0x8c
call fcn.0054a1d0
mov edi, eax
add esp, 4
mov dword [esp + 0x4c], edi
cmp edi, ebx
mov byte [esp + 0x40], 1
je 0x43e3a9
mov ecx, edi
call fcn.00417f80
lea ecx, [edi + 0x5c]
mov byte [esp + 0x40], 2
call fcn.0044c710
mov dword [edi], fcn.005498b0
mov byte [edi + 0x6c], bl
mov dword [edi + 0x78], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x70], ebx
lea eax, [esp + 0x48]
lea ecx, [edi + 0x7c]
push eax
mov byte [esp + 0x44], 3
call fcn.00486050
mov dword [edi], 0x5da45c
jmp 0x43e3ab
xor edi, edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], bl
push ecx
push str.duel_dialog_button__.txt
lea ecx, [esp + 0x30]
mov dword [0x5f302c], edi
call fcn.0040e960
mov ebp, eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x18]
push edx
push str.Mege_y_
mov byte [esp + 0x48], 4
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x50], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push ebp
push eax
push ecx
call fcn.0040eed0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx]
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 4
call fcn.00402850
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], bl
call fcn.00402850
call fcn.0041c370
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x58], esp
mov dword [ecx + 4], eax
mov dword [ecx], 0x5daa58
mov dword [ecx + 0xc], ebx
mov dword [ecx + 8], ebx
mov ecx, esi
call fcn.0041c0c0
mov edi, dword [0x5f302c]
mov eax, dword [esi + 0x30]
shl eax, 2
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
mov edx, dword [ecx]
push eax
call dword [edx]
mov eax, dword [esp + 0x48]
mov edx, dword [edi]
push 0xffffffffffffffff
push eax
mov ecx, edi
call dword [edx + 8]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x48]
mov dword [ecx + edx*4], ebx
mov eax, dword [esi + 0x30]
mov edi, dword [0x5f302c]
lea ecx, [eax*4 + 1]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x50]
push eax
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esp + 0x48]
mov edx, dword [edi]
push 0xffffffffffffffff
push eax
mov ecx, edi
call dword [edx + 8]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x48]
mov eax, esi
pop edi
mov dword [ecx + edx*4], ebx
mov ecx, dword [esp + 0x34]
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 8
Function at 0x443550
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d260f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [edi], 0x5daf30
mov dword [esp + 0x20], 3
call fcn.00443960
call fcn.00495690
push 0x55dc70
push 2
lea eax, [edi + 0x50]
push 0x10
push eax
mov byte [esp + 0x30], 2
call fcn.005c3c2d
lea ecx, [edi + 0x24]
mov byte [esp + 0x20], 1
call fcn.00496650
mov ebx, dword [edi + 0x1c]
lea ebp, [edi + 0x18]
mov byte [esp + 0x20], 0
mov esi, dword [ebx]
cmp esi, ebx
je 0x4435d4
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.004443b0
cmp esi, ebx
jne 0x4435bf
mov eax, dword [ebp + 4]
push eax
call fcn.0054a2d0
xor ebx, ebx
lea esi, [edi + 8]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esi], 0x5daf34
mov eax, dword [esi + 8]
mov dword [esp + 0x20], 4
cmp eax, ebx
je 0x44362c
cmp eax, esi
jne 0x443617
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x443626
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x443626
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov ecx, dword [esp + 0x18]
mov dword [esi + 4], ebx
mov dword [esi], 0x5da448
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret