joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4049ed
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
mov edx, dword [edx + 0xc]
jmp 0x4049fb
mov edx, dword [edx + 0x14]
jmp 0x404a0b
jmp 0x404a1b
movzx ecx, word [edx + 0x26]
nop
jmp 0x404a2e
xor edi, edi
jmp 0x404a3a
mov esi, dword [edx + 0x28]
nop
xor eax, eax
nop
lodsb al, byte [esi]
cmp al, 0x61
nop
jl 0x404a58
jmp 0x404a55
sub al, 0x20
nop
jmp 0x404a62
ror edi, 0xd
nop
jmp 0x404a70
add edi, eax
nop
dec ecx
jmp 0x404a80
jne 0x404a3d
jmp 0x404a90
jmp 0x404a9e
push edx
nop
jmp 0x404ab1
mov edx, dword [edx + 0x10]
nop
push edi
mov eax, dword [edx + 0x3c]
jmp 0x404ac4
add eax, edx
nop
jmp 0x404ad8
mov eax, dword [eax + 0x78]
nop
test eax, eax
je 0x404c66
nop
jmp 0x404af4
nop
add eax, edx
jmp 0x404b03
mov ecx, dword [eax + 0x18]
jmp 0x404b14
push eax
nop
mov ebx, dword [eax + 0x20]
nop
jmp 0x404b26
add ebx, edx
nop
test ecx, ecx
nop
je 0x404c40
nop
dec ecx
mov esi, dword [ebx + ecx*4]
nop
jmp 0x404b48
add esi, edx
nop
xor edi, edi
xor eax, eax
jmp 0x404b5d
lodsb al, byte [esi]
jmp 0x404b6b
ror edi, 0xd
nop
add edi, eax
nop
cmp al, ah
jmp 0x404b7f
jne 0x404b4d
nop
nop
add edi, dword [ebp - 8]
nop
cmp edi, dword [ebp + 0x24]
jne 0x404b28
nop
jmp 0x404ba5
jmp 0x404bb1
pop eax
nop
jmp 0x404bc1
mov ebx, dword [eax + 0x24]
nop
jmp 0x404bcf
add ebx, edx
jmp 0x404be4
mov cx, word [ebx + ecx*2]
jmp 0x404bf5
mov ebx, dword [eax + 0x1c]
add ebx, edx
nop
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
nop
jmp 0x404c18
pop ebx
nop
pop ebx
jmp 0x404c2a
popal
pop ecx
jmp 0x404c3a
pop edx
nop
push ecx
nop
jmp eax
jmp 0x404c51
pop eax
jmp 0x404c66
nop
jmp 0x404c76
pop edi
pop edx
jmp 0x404c89
mov edx, dword [edx]
nop
jmp 0x404c9f
jmp 0x404a0b
Function at 0x4011d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [0x41f600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov word [ebp - 0x3a], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x30]
jae 0x4012f2
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x1c]
mov dword [esp], eax
call fcn.00401310
sub esp, 4
lea eax, [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0x235
call section..text
cmp eax, dword [ebp + 0xc]
jne 0x4012b2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x40]
shl ecx, 1
add eax, ecx
mov ax, word [eax]
mov word [ebp - 0x3a], ax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x1c]
movzx ecx, word [ebp - 0x3a]
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 2
jmp 0x4012c2
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x1c]
call fcn.00401380
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4012df
jmp 0x4012da
jmp 0x4012f2
jmp 0x4012e4
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
jmp 0x401234
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403511
mov eax, dword [ebp - 0x4c]
add esp, 0x54
pop ebp
ret

Function at 0x401710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x420058], eax
pop esi
pop edi
pop ebp
ret
Function at 0x402d90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [0x41f600]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402e70
mov eax, dword [ebp - 0x14]
lea ecx, [0x402ef0]
mov dword [ebp - 0x10], ecx
add eax, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.00402f70
mov ecx, eax
mov eax, dword [ebp - 0x18]
xor edx, edx
lea edx, [0x402ef0]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
call fcn.00407ebf
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
cmp dword [eax], 0
je 0x402e34
lea ecx, [ebp - 8]
call fcn.00402f90
jmp 0x402e4a
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0
mov dword [esp], 6
call fcn.0040376e
lea ecx, [ebp - 8]
call fcn.00402fe0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403511
add esp, 0x30
pop ebp
ret 8

Function at 0x403290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov eax, dword [0x41f600]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00403360
mov eax, dword [ebp - 0x14]
lea ecx, [0x4033d0]
mov dword [ebp - 0x10], ecx
add eax, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.00402f70
mov ecx, eax
mov eax, dword [ebp - 0x18]
xor edx, edx
lea edx, [0x4033d0]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
call fcn.00407ebf
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
cmp dword [eax], 0
je 0x40332a
lea ecx, [ebp - 8]
call fcn.00402f90
jmp 0x403340
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0
mov dword [esp], 6
call fcn.0040376e
lea ecx, [ebp - 8]
call fcn.00402fe0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403511
add esp, 0x30
pop ebp
ret 4

Function at 0x404764
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x404799
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x404796
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4047a2
add edx, 0x28
cmp edx, esi
jne 0x404784
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x40479f
Function at 0x4048be
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4048fd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4048fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4048fd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4048fd
cmp dword [ecx + 0x74], 0xe
jbe 0x4048fd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40a4a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a4cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a4cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40a81d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417f14
push 0x417f0c
push str.FlsAlloc
push 0x1f
call fcn.0040aba9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a851
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d980]
call esi
jmp 0x40a857
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40a89b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417f24
push 0x417f1c
push str.FlsGetValue
push 0x21
call fcn.0040aba9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a8d2
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d980]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40a8da
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417f2c
push 0x417f24
push str.FlsSetValue
push 0x22
call fcn.0040aba9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a914
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41d980]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40f372
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40f40f
push ebx
push esi
call fcn.0040f412
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040f276
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40f3bc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f40e
push edi
push eax
call fcn.0040c7f6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40f3dc
call fcn.0040be4b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f40d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040f276
add esp, 0x20
test eax, eax
jne 0x40f3fb
push edi
call fcn.0040be4b
jmp 0x40f403
push ebx
call fcn.0040be4b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
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.bust_up_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.data_J_
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 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.data_J_
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.data_J_
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 0x449330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d2e4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 1
mov dword [esp + 0x18], esi
call fcn.0045cf80
lea edi, [esi + 0x28]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x18], edi
call fcn.00417f80
lea ecx, [edi + 0x5c]
mov byte [esp + 0x44], 1
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 + 0x12]
lea ecx, [edi + 0x7c]
push eax
mov byte [esp + 0x48], 2
call fcn.00486050
mov dword [edi], 0x5da45c
lea ebp, [esi + 0xb4]
mov byte [esp + 0x44], 3
mov ecx, ebp
mov dword [esp + 0x18], ebp
call fcn.00417f80
lea ecx, [ebp + 0x5c]
mov byte [esp + 0x44], 4
call fcn.0044c710
mov dword [ebp], fcn.005498b0
mov byte [ebp + 0x6c], bl
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x70], ebx
lea ecx, [esp + 0x12]
mov byte [esp + 0x44], 5
push ecx
lea ecx, [ebp + 0x7c]
call fcn.00486050
mov dword [ebp], 0x5da45c
lea ebp, [esi + 0x140]
push 1
mov ecx, ebp
mov byte [esp + 0x48], 6
call fcn.0045cf80
mov dword [ebp], 0x5db070
mov dword [ebp + 0x18], edi
mov byte [ebp + 4], bl
mov dword [ebp + 0xc], 0xf00
mov dword [esi + 0x160], ebx
mov dword [esi + 0x15c], 0x5da700
mov dword [esi + 0x168], ebx
mov dword [esi + 0x164], ebx
lea edx, [esp + 0x12]
mov dword [esi], 0x5db060
push edx
mov dword [0x5f3244], esi
push str.duel_field_field.txt
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 8
mov dword [esi + 0xc], 0xffffff00
call fcn.0040e960
mov ebp, eax
mov byte [esp + 0x44], 9
lea eax, [esp + 0x13]
lea ecx, [esp + 0x1c]
push eax
push str.data_J_
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x54], 0xa
mov ecx, esp
mov dword [esp + 0x28], 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 + 0x20]
mov byte [esp + 0x48], 9
call fcn.00402850
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 8
call fcn.00402850
lea eax, [esp + 0x13]
lea ecx, [esp + 0x1c]
push eax
push str.duel_effect_chinka.txt
call fcn.0040e960
mov edi, eax
lea ecx, [esp + 0x12]
mov byte [esp + 0x44], 0xb
push ecx
push str.data_J_
lea ecx, [esp + 0x34]
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x54], 0xc
mov edx, esp
mov dword [esp + 0x28], esp
push edi
push eax
push edx
call fcn.0040eed0
mov eax, dword [esi + 0xb4]
lea ecx, [esi + 0xb4]
add esp, 0xc
call dword [eax]
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 0xb
call fcn.00402850
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 8
call fcn.00402850
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], ebx
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret
Function at 0x46dfa0
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d50b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
push ebx
lea ecx, [esi + 4]
mov dword [esp + 0x24], esi
call fcn.00477730
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
or eax, 0xffffffff
sub esp, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
mov eax, 0x10
mov edi, esp
mov dword [esp + 0x30], esp
push ebx
mov dword [esp + 0x68], ebx
mov dword [esi], 0x5daa60
mov dword [esi + 0x28], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0x80
mov byte [esi + 0x50], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], 0x70
mov dword [esi + 0x54], ebx
call fcn.0041c370
push eax
mov ecx, edi
call fcn.00477730
mov ecx, esi
call fcn.0041c0c0
lea edi, [esi + 0x64]
mov dword [esp + 0x54], 1
mov ecx, edi
mov dword [esp + 0x20], edi
call fcn.00413890
mov al, byte [esp + 0x12]
lea ecx, [edi + 0x7c]
push ebx
mov byte [esp + 0x58], 2
mov byte [ecx], al
call fcn.00402850
mov dword [edi], 0x5da45c
lea ecx, [esp + 0x12]
mov byte [esp + 0x54], 3
push ecx
push str.deck_c_kaban_bar.txt
lea ecx, [esp + 0x44]
mov dword [esi], 0x5db850
call fcn.0040e960
mov ebp, eax
lea edx, [esp + 0x13]
lea ecx, [esp + 0x2c]
push edx
push str.data_J_
mov byte [esp + 0x5c], 4
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x64], 5
mov ecx, esp
mov dword [esp + 0x30], 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 + 0x30]
mov byte [esp + 0x58], 4
call fcn.00402850
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 3
call fcn.00402850
push ebx
mov ecx, edi
call fcn.00417f40
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call dword [edx + 0x38]
push 2
mov ecx, edi
call fcn.00417f40
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call dword [edx + 0x38]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov al, byte [esi + 0x3c]
mov dword [esi + 0x48], edx
cmp al, 1
mov dword [esi + 0x4c], 0x1d2
mov dword [esi + 0x60], 5
mov byte [esi + 0x50], bl
je 0x46e144
mov byte [esi + 0x3c], 1
mov dword [esi + 0x34], 0xffffffff
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x54], ebx
mov dword [esi + 0x14], 0x307
mov dword [esi + 0x1c], 0x32
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret