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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f2d1
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x56858c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 8]
mov edi, ecx
push eax
mov dword [ebp - 0x6c], edi
call fcn.004c34e0
lea esi, [edi + 0x78]
xor ebx, ebx
mov dword [ebp - 0x70], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [edi], vtable.GuiControl::GuiSaveLoadDialog::SaveLoadPopup.0
mov dword [ebp - 4], ebx
mov dword [edi + 0x90], ebx
mov dword [edi + 0x94], ebx
mov dword [edi + 0x98], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], ebx
lea eax, [edi + 0xb0]
mov dword [ebp - 0x8c], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
push 0x10
mov byte [ebp - 4], 3
call fcn.00503a77
add esp, 4
cmp eax, ebx
je 0x4d5843
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4d5845
xor eax, eax
push eax
mov ecx, esi
call fcn.004af810
push 0x560104
push edi
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x51]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.004ca980
mov edx, dword [ebp - 0x98]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov ecx, dword [ebp - 0x94]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x90]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 4
mov dword [ebp - 0x64], esp
mov esi, 1
cmp eax, ebx
je 0x4d58a6
add dword [eax + 4], esi
mov ecx, edi
call fcn.004c5b50
mov ecx, dword [ebp - 0x98]
cmp ecx, ebx
jne 0x4d58bb
xor eax, eax
jmp 0x4d58d5
mov eax, dword [ebp - 0x90]
cmp eax, ebx
je 0x4d58ca
mov eax, dword [eax + 0xc]
jmp 0x4d58cc
xor eax, eax
imul eax, dword [ebp - 0x94]
add eax, ecx
push ebx
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.004aeea0
mov edx, dword [eax]
mov byte [ebp - 4], 5
cmp edx, ebx
jne 0x4d58ef
xor ecx, ecx
jmp 0x4d5905
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x4d58fb
mov edi, dword [ecx + 0xc]
jmp 0x4d58fd
xor edi, edi
mov ecx, dword [eax + 4]
imul ecx, edi
add ecx, edx
push ebx
lea edx, [ebp - 0xb4]
push edx
call fcn.004aee20
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x4d5948
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4d5942
cmp byte [ecx + 8], 0
je 0x4d5933
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x74]
cmp ecx, ebx
je 0x4d5942
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov ecx, 0x56a4b4
mov byte [ebp - 4], 8
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov eax, dword [ecx + 0x18]
cmp eax, ebx
jne 0x4d5970
xor ecx, ecx
jmp 0x4d5986
mov edx, dword [ecx + 0x20]
cmp edx, ebx
je 0x4d597c
mov edx, dword [edx + 0xc]
jmp 0x4d597e
xor edx, edx
mov ecx, dword [ecx + 0x1c]
imul ecx, edx
add ecx, eax
xor eax, eax
cmp dword [ebp - 0x9c], 6
lea edx, [ebp - 0x60]
setne al
mov dword [ebp - 0x64], eax
mov eax, dword [eax*4 + 0x560128]
push eax
push edx
call fcn.004324d0
test al, al
jne 0x4d59bb
push 0x5455d8
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], esi
call fcn.005036c5
mov edx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x58]
cmp edx, ebx
jne 0x4d59c9
xor eax, eax
jmp 0x4d59da
cmp edi, ebx
je 0x4d59d2
mov eax, dword [edi + 0xc]
jmp 0x4d59d4
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, edx
mov esi, dword [ebp - 0xb4]
cmp esi, ebx
jne 0x4d59e8
xor ecx, ecx
jmp 0x4d5a02
mov ecx, dword [ebp - 0xac]
cmp ecx, ebx
je 0x4d59f7
mov ecx, dword [ecx + 0xc]
jmp 0x4d59f9
xor ecx, ecx
imul ecx, dword [ebp - 0xb0]
add ecx, esi
mov esi, dword [ecx + 4]
cmp esi, ebx
je 0x4d5a3b
mov edi, dword [eax + 4]
cmp edi, ebx
je 0x4d5a35
mov ecx, 0x56a451
call fcn.004074f0
mov ecx, dword [0x5699e4]
push ebx
push ebx
push ebx
push ebx
push 0xcf
push 0x4be
push edi
push esi
call fcn.004313d0
mov edx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x58]
cmp edx, ebx
jne 0x4d5a43
xor eax, eax
jmp 0x4d5a54
cmp edi, ebx
je 0x4d5a4c
mov eax, dword [edi + 0xc]
jmp 0x4d5a4e
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, edx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add ecx, 0x4be
mov dword [ebp - 0x18], ecx
add eax, 0xcf
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x14], eax
push edx
mov eax, edx
push eax
mov dword [ebp - 0x20], 0x4be
mov dword [ebp - 0x1c], 0xcf
call dword [0x526388]
mov byte [ebp - 4], 7
cmp edi, ebx
je 0x4d5ab0
dec dword [edi + 4]
jne 0x4d5ab0
cmp byte [edi + 8], 0
je 0x4d5aa5
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x4d5ae7
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4d5ae7
cmp byte [ecx + 8], 0
je 0x4d5ad4
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0xac]
cmp ecx, ebx
je 0x4d5ae7
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x6c]
imul ecx, ecx, 0x6c
add ecx, 0x560130
push ecx
push esi
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x51]
call fcn.004cb570
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 9
cmp ecx, ebx
jne 0x4d5b13
xor eax, eax
jmp 0x4d5b27
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x4d5b1f
mov eax, dword [eax + 0xc]
jmp 0x4d5b21
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, ecx
mov edx, dword [eax]
push 0x27
mov ecx, eax
mov eax, dword [edx + 0x5c]
push ebx
call eax
mov ecx, dword [ebp - 0x60]
cmp ecx, ebx
jne 0x4d5b3e
xor eax, eax
jmp 0x4d5b52
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x4d5b4a
mov eax, dword [eax + 0xc]
jmp 0x4d5b4c
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, ecx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
push ebx
call eax
mov ecx, dword [ebp - 0x60]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], esp
cmp eax, ebx
je 0x4d5b7f
inc dword [eax + 4]
mov ecx, esi
call fcn.004c5b50
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x4d5bb7
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4d5bb7
cmp byte [ecx + 8], 0
je 0x4d5ba7
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x58]
cmp ecx, ebx
je 0x4d5bb7
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4d5bee
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4d5bee
cmp byte [ecx + 8], 0
je 0x4d5bdb
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x90]
cmp ecx, ebx
je 0x4d5bee
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x6c]
sub ecx, 6
neg ecx
sbb ecx, ecx
and ecx, 2
imul ecx, ecx, 0x2c
add ecx, 0x560208
push ecx
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x51]
mov esi, 0x40c
mov edi, 0xbd
call fcn.004cac20
mov ecx, dword [ebp - 0x60]
cmp ecx, ebx
jne 0x4d5c2d
xor eax, eax
jmp 0x4d5c41
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x4d5c39
mov eax, dword [eax + 0xc]
jmp 0x4d5c3b
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, ecx
push 0
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.004aeea0
mov ebx, dword [ebp - 0x78]
push edi
mov edi, dword [ebp - 0x7c]
push esi
mov esi, dword [ebp - 0x74]
sub esp, 0xc
mov eax, esp
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x68], esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
test esi, esi
je 0x4d5c74
inc dword [esi + 4]
lea ecx, [ebp - 0x51]
call fcn.004b9da0
test edi, edi
jne 0x4d5c84
xor eax, eax
jmp 0x4d5c94
test esi, esi
je 0x4d5c8d
mov eax, dword [esi + 0xc]
jmp 0x4d5c8f
xor eax, eax
imul eax, ebx
add eax, edi
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax + 0x34]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x60]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x4d5cb7
xor eax, eax
jmp 0x4d5ccb
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4d5cc3
mov eax, dword [eax + 0xc]
jmp 0x4d5cc5
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, edi
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x38], edx
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, edx
push eax
call dword [0x526388]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
add eax, 0xbd
mov dword [ebp - 0x90], eax
test esi, esi
je 0x4d5d19
dec dword [esi + 4]
jne 0x4d5d19
cmp byte [esi + 8], 0
je 0x4d5d0e
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
push 0xc
call fcn.00503a77
add esp, 4
test eax, eax
je 0x4d5d5d
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x4d5d32
xor ecx, ecx
jmp 0x4d5d48
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4d5d3e
mov edx, dword [ecx + 0xc]
jmp 0x4d5d40
xor edx, edx
mov ecx, dword [ebp - 0x5c]
imul ecx, edx
add ecx, esi
mov ecx, dword [ecx + 4]
mov dword [eax], vtable.GuiControl::ClickedEvent.0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
jmp 0x4d5d5f
xor eax, eax
push 1
push eax
lea ecx, [ebp - 0xa8]
call fcn.004af150
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa4]
sub esp, 0xc
mov eax, esp
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x68], esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
test esi, esi
je 0x4d5d9a
inc dword [esi + 4]
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x4d5da5
xor ecx, ecx
jmp 0x4d5dbb
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4d5db1
mov eax, dword [eax + 0xc]
jmp 0x4d5db3
xor eax, eax
mov ecx, dword [ebp - 0x5c]
imul ecx, eax
add ecx, edx
call fcn.004aef10
mov ecx, dword [ebp - 0x60]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], esp
test eax, eax
je 0x4d5de3
inc dword [eax + 4]
mov ecx, dword [ebp - 0x6c]
call fcn.004c5b50
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], esi
test esi, esi
je 0x4d5dfb
inc dword [esi + 4]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
xor ebx, ebx
cmp edx, ebx
jne 0x4d5e0a
xor ecx, ecx
jmp 0x4d5e20
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x4d5e16
mov eax, dword [eax + 0xc]
jmp 0x4d5e18
xor eax, eax
mov ecx, dword [ecx + 4]
imul ecx, eax
add ecx, edx
lea edx, [ebp - 0x7c]
push edx
mov byte [ebp - 4], 0xd
call fcn.0044ca40
mov edi, dword [ebp - 0x74]
mov byte [ebp - 4], 0xc
cmp edi, ebx
je 0x4d5e56
dec dword [edi + 4]
jne 0x4d5e56
cmp byte [edi + 8], 0
je 0x4d5e4b
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov byte [ebp - 4], 0xa
cmp esi, ebx
je 0x4d5e7c
dec dword [esi + 4]
jne 0x4d5e7c
cmp byte [esi + 8], 0
je 0x4d5e71
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4d5ead
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4d5ead
cmp byte [ecx + 8], 0
je 0x4d5e9d
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x58]
cmp ecx, ebx
je 0x4d5ead
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov edi, dword [ebp - 0x8c]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
je 0x4d5ee2
mov edx, dword [ebp - 0x68]
push edx
push ecx
push eax
push eax
call fcn.004f59a0
mov ecx, dword [ebp - 0x68]
push ecx
mov esi, eax
mov eax, dword [edi + 4]
lea edx, [edi + 0xc]
push edx
push eax
push esi
call fcn.0048cd80
add esp, 0x20
mov dword [edi + 4], esi
mov eax, dword [ebp - 0x64]
lea eax, [eax + eax*8]
lea eax, [eax*8 + 0x5602b8]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x84], ebx
mov edi, edi
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x6c]
push ecx
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x51]
call fcn.004cb320
mov ecx, dword [ebp - 0x60]
xor edx, edx
cmp ecx, edx
jne 0x4d5f21
xor eax, eax
jmp 0x4d5f35
mov eax, dword [ebp - 0x58]
cmp eax, edx
je 0x4d5f2d
mov eax, dword [eax + 0xc]
jmp 0x4d5f2f
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x34
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
cmp ecx, edx
jne 0x4d5f58
xor eax, eax
jmp 0x4d5f6c
mov eax, dword [ebp - 0x58]
cmp eax, edx
je 0x4d5f64
mov eax, dword [eax + 0xc]
jmp 0x4d5f66
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, ecx
push 0
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.004aeea0
mov edx, dword [ebp - 0x90]
mov esi, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xbc]
push edx
mov eax, 0x40c
push eax
sub esp, 0xc
mov eax, esp
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x68], esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
test esi, esi
je 0x4d5fb6
inc dword [esi + 4]
lea ecx, [ebp - 0x51]
call fcn.004b9da0
test edi, edi
jne 0x4d5fc6
xor eax, eax
jmp 0x4d5fd6
test esi, esi
je 0x4d5fcf
mov eax, dword [esi + 0xc]
jmp 0x4d5fd1
xor eax, eax
imul eax, ebx
add eax, edi
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x50], ecx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x4c], edx
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x48], ecx
mov edx, dword [eax + 0x38]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x44], edx
push ecx
mov edx, ecx
push edx
call dword [0x526388]
xor edi, edi
mov byte [ebp - 4], 0xe
cmp esi, edi
je 0x4d6033
dec dword [esi + 4]
jne 0x4d6027
cmp byte [esi + 8], 0
je 0x4d601c
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xc0], edi
mov ecx, dword [ebp - 0x60]
cmp ecx, edi
jne 0x4d603e
xor eax, eax
jmp 0x4d6052
mov eax, dword [ebp - 0x58]
cmp eax, edi
je 0x4d604a
mov eax, dword [eax + 0xc]
jmp 0x4d604c
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, ecx
push 1
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.004aeea0
mov edx, dword [ebp - 0x90]
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa4]
push edx
mov eax, 0x40c
push eax
sub esp, 0xc
mov eax, esp
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x68], esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
test esi, esi
je 0x4d609c
inc dword [esi + 4]
lea ecx, [ebp - 0x51]
call fcn.004b9da0
test edi, edi
jne 0x4d60ac
xor eax, eax
jmp 0x4d60be
test esi, esi
je 0x4d60b5
mov eax, dword [esi + 0xc]
jmp 0x4d60b7
xor eax, eax
imul eax, ebx
add eax, edi
xor edi, edi
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x40], ecx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 0x38]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x34], edx
push ecx
mov edx, ecx
push edx
call dword [0x526388]
mov byte [ebp - 4], 0xe
cmp esi, edi
je 0x4d6119
dec dword [esi + 4]
jne 0x4d610d
cmp byte [esi + 8], 0
je 0x4d6102
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xa8], edi
mov ecx, dword [ebp - 0x60]
cmp ecx, edi
jne 0x4d6124
xor eax, eax
jmp 0x4d6138
mov eax, dword [ebp - 0x58]
cmp eax, edi
je 0x4d6130
mov eax, dword [eax + 0xc]
jmp 0x4d6132
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push 0x34
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
call fcn.00503a77
add esp, 4
cmp eax, edi
je 0x4d6175
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov edi, eax
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x80], ebx
test edi, edi
je 0x4d61c3
mov esi, edi
push 0x18
mov dword [ebp - 0x88], esi
call fcn.00503a77
add esp, 4
test eax, eax
je 0x4d61a7
mov dword [eax], vtable.yaneuraoGameSDK3rd::YTL::nonarray_ref_object_class_GuiControl::GuiSaveLoadDialog::SaveLoadPopup::popup_number_.0
mov dword [eax + 0x14], edi
jmp 0x4d61a9
xor eax, eax
mov ecx, 1
mov dword [eax + 4], ecx
mov byte [eax + 8], cl
mov ebx, eax
mov dword [eax + 0xc], 0x34
mov dword [ebp - 0x80], ebx
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x8c]
add eax, 0x34
mov dword [esi], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0x24
mov byte [ebp - 4], 0x11
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4d61fc
mov ecx, eax
call fcn.004116f0
jmp 0x4d61fe
xor eax, eax
push eax
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 0x11
call fcn.0040ced0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edi, dword [esi + 0x10]
sub eax, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
test edi, edi
jne 0x4d6222
xor ecx, ecx
jmp 0x4d623b
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4d622e
mov ebx, dword [ecx + 0xc]
jmp 0x4d6230
xor ebx, ebx
mov ecx, dword [esi + 0x14]
imul ecx, ebx
mov ebx, dword [ebp - 0x80]
add ecx, edi
push 1
push 1
push eax
push edx
call fcn.0040fc70
test al, al
je 0x4d65a1
push 0x24
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x4d626c
mov ecx, eax
call fcn.004116f0
jmp 0x4d626e
xor eax, eax
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0x11
call fcn.0040ced0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edi, dword [esi + 0x1c]
sub eax, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
test edi, edi
jne 0x4d6292
xor ecx, ecx
jmp 0x4d62ab
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4d629e
mov ebx, dword [ecx + 0xc]
jmp 0x4d62a0
xor ebx, ebx
mov ecx, dword [esi + 0x20]
imul ecx, ebx
mov ebx, dword [ebp - 0x80]
add ecx, edi
push 1
push 1
push eax
push edx
call fcn.0040fc70
test al, al
je 0x4d65b6
push 0x24
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4d62dc
mov ecx, eax
call fcn.004116f0
jmp 0x4d62de
xor eax, eax
push eax
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 0x11
call fcn.0040ced0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edi, dword [esi + 0x28]
sub eax, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
test edi, edi
jne 0x4d6302
xor ecx, ecx
jmp 0x4d631b
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x4d630e
mov ebx, dword [ecx + 0xc]
jmp 0x4d6310
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
imul ecx, ebx
mov ebx, dword [ebp - 0x80]
add ecx, edi
push 1
push 1
push eax
push edx
call fcn.0040fc70
test al, al
je 0x4d65cb
mov edi, dword [ebp - 0x6c]
mov eax, dword [edi + 0xb4]
cmp eax, dword [edi + 0xb8]
jne 0x4d634c
push 1
lea ecx, [edi + 0xb0]
call fcn.004c32d0
mov eax, dword [edi + 0xb4]
xor ecx, ecx
cmp eax, ecx
je 0x4d6367
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
cmp ebx, ecx
je 0x4d6367
inc dword [ebx + 4]
add dword [edi + 0xb4], 0xc
mov byte [ebp - 4], 0xe
cmp ebx, ecx
je 0x4d639e
dec dword [ebx + 4]
jne 0x4d6395
cmp byte [ebx + 8], cl
je 0x4d6388
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, edx
push eax
call dword [0x526388]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
push 0xc
add dword [ebp - 0x90], ecx
call fcn.00503a77
add esp, 4
test eax, eax
je 0x4d63e4
mov ecx, dword [ebp - 0x8c]
add ecx, 0x34
mov dword [eax], vtable.GuiControl::ClickedEvent.0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
jmp 0x4d63e6
xor eax, eax
push 1
push eax
lea ecx, [ebp - 0x7c]
call fcn.004af150
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x78]
sub esp, 0xc
mov eax, esp
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x68], esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
test esi, esi
je 0x4d6415
inc dword [esi + 4]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x4d6420
xor eax, eax
jmp 0x4d6434
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4d642c
mov eax, dword [eax + 0xc]
jmp 0x4d642e
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, ecx
mov ecx, eax
call fcn.004aef10
mov edx, dword [ebp - 0x60]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x58]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], esp
test eax, eax
je 0x4d645e
inc dword [eax + 4]
mov ecx, dword [ebp - 0x6c]
call fcn.004c5b50
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], esi
test esi, esi
je 0x4d647f
inc dword [esi + 4]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x78]
add ecx, 0x78
xor ebx, ebx
mov dword [ebp - 0x70], ecx
cmp edx, ebx
jne 0x4d6495
xor ecx, ecx
jmp 0x4d64ab
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x4d64a1
mov eax, dword [eax + 0xc]
jmp 0x4d64a3
xor eax, eax
mov ecx, dword [ecx + 4]
imul ecx, eax
add ecx, edx
lea eax, [ebp - 0xb4]
push eax
mov byte [ebp - 4], 0x16
call fcn.0044ca40
mov edi, dword [ebp - 0xac]
mov byte [ebp - 4], 0x15
cmp edi, ebx
je 0x4d64f3
dec dword [edi + 4]
jne 0x4d64e7
cmp byte [edi + 8], 0
je 0x4d64dc
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 4], 0xe
cmp esi, ebx
je 0x4d651f
dec dword [esi + 4]
jne 0x4d6519
cmp byte [esi + 8], 0
je 0x4d650e
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], ebx
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4d6556
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4d6550
cmp byte [ecx + 8], 0
je 0x4d6540
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x58]
cmp ecx, ebx
je 0x4d6550
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp eax, 0xb
jl 0x4d5f00
xor ecx, ecx
cmp dword [ebp - 0x9c], 6
mov edx, dword [ebp - 0x6c]
setne cl
lea eax, [ebp - 0x60]
lea ecx, [ecx + ecx + 1]
imul ecx, ecx, 0x2c
add ecx, 0x560208
push ecx
push edx
push eax
lea ecx, [ebp - 0x51]
call fcn.004cac20
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x4d65e0
xor eax, eax
jmp 0x4d65f4
push 0x5455d8
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 0x64], 1
call fcn.005036c5
push 0x5455d8
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0x64], 1
call fcn.005036c5
push 0x5455d8
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 1
call fcn.005036c5
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4d65ec
mov eax, dword [eax + 0xc]
jmp 0x4d65ee
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, ecx
push 0
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.004aeea0
mov edx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x78]
push edx
mov eax, 0x40c
push eax
sub esp, 0xc
mov eax, esp
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x68], esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
test esi, esi
je 0x4d6632
inc dword [esi + 4]
lea ecx, [ebp - 0x51]
call fcn.004b9da0
test edi, edi
jne 0x4d6642
xor eax, eax
jmp 0x4d6652
test esi, esi
je 0x4d664b
mov eax, dword [esi + 0xc]
jmp 0x4d664d
xor eax, eax
imul eax, ebx
add eax, edi
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x40], edx
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x3c], ecx
mov edi, dword [eax + 0x34]
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x60]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x34], eax
test edi, edi
jne 0x4d6675
xor eax, eax
jmp 0x4d6689
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4d6681
mov eax, dword [eax + 0xc]
jmp 0x4d6683
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, edi
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x38], edx
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, edx
push eax
call dword [0x526388]
mov byte [ebp - 4], 0x17
test esi, esi
je 0x4d66c6
dec dword [esi + 4]
jne 0x4d66c6
cmp byte [esi + 8], 0
je 0x4d66bb
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
push 0xc
call fcn.00503a77
add esp, 4
test eax, eax
je 0x4d6708
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x4d66df
xor ecx, ecx
jmp 0x4d66f3
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4d66eb
mov ecx, dword [ecx + 0xc]
jmp 0x4d66ed
xor ecx, ecx
imul ecx, dword [ebp - 0x5c]
add ecx, edx
mov ecx, dword [ecx + 4]
mov dword [eax], vtable.GuiControl::ClickedEvent.0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
jmp 0x4d670a
xor eax, eax
push 1
push eax
lea ecx, [ebp - 0xa8]
call fcn.004af150
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa4]
sub esp, 0xc
mov eax, esp
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x68], esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
test esi, esi
je 0x4d6745
inc dword [esi + 4]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x4d6750
xor eax, eax
jmp 0x4d6764
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4d675c
mov eax, dword [eax + 0xc]
jmp 0x4d675e
xor eax, eax
imul eax, dword [ebp - 0x5c]
add eax, ecx
mov ecx, eax
call fcn.004aef10
mov ecx, dword [ebp - 0x60]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], esp
test eax, eax
je 0x4d678e
inc dword [eax + 4]
mov ecx, dword [ebp - 0x6c]
call fcn.004c5b50
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], esi
test esi, esi
je 0x4d67a6
inc dword [esi + 4]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
test edx, edx
jne 0x4d67b3
xor ecx, ecx
jmp 0x4d67c9
mov eax, dword [ecx + 8]
test eax, eax
je 0x4d67bf
mov eax, dword [eax + 0xc]
jmp 0x4d67c1
xor eax, eax
mov ecx, dword [ecx + 4]
imul ecx, eax
add ecx, edx
lea edx, [ebp - 0x7c]
push edx
mov byte [ebp - 4], 0x1a
call fcn.0044ca40
mov edi, dword [ebp - 0x74]
mov byte [ebp - 4], 0x19
test edi, edi
je 0x4d67ff
dec dword [edi + 4]
jne 0x4d67ff
cmp byte [edi + 8], 0
je 0x4d67f4
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov byte [ebp - 4], 0x17
test esi, esi
je 0x4d6825
dec dword [esi + 4]
jne 0x4d6825
cmp byte [esi + 8], 0
je 0x4d681a
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 3
test eax, eax
je 0x4d6857
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jne 0x4d6857
cmp byte [ecx + 8], 0
je 0x4d6847
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4d6857
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov edi, dword [ebp - 0x6c]
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x90]
cmp ecx, eax
je 0x4d6899
mov edx, dword [ebp - 0x68]
push edx
push ecx
push eax
push eax
call fcn.004f59a0
mov ecx, dword [ebp - 0x68]
push ecx
mov esi, eax
mov eax, dword [edi + 0x94]
lea edx, [edi + 0x9c]
push edx
push eax
push esi
call fcn.0048cd80
add esp, 0x20
mov dword [edi + 0x94], esi
mov ebx, dword [ebp - 0x9c]
lea eax, [ebx - 6]
neg eax
sbb eax, eax
and eax, 0x1e
lea eax, [eax*4 + 0x560348]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x70], eax
lea ebx, [ebx]
xor esi, esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
mov ecx, 0x56a4b4
mov byte [ebp - 4], 0x1b
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov eax, dword [ecx + 0x18]
cmp eax, esi
jne 0x4d68f0
xor ecx, ecx
jmp 0x4d6906
mov edx, dword [ecx + 0x20]
cmp edx, esi
je 0x4d68fc
mov edx, dword [edx + 0xc]
jmp 0x4d68fe
xor edx, edx
mov ecx, dword [ecx + 0x1c]
imul ecx, edx
add ecx, eax
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.004324d0
test al, al
je 0x4d65cb
mov eax, dword [edi + 0x94]
cmp eax, dword [edi + 0x98]
jne 0x4d693b
push 1
lea ecx, [edi + 0x90]
call fcn.004c32d0
mov eax, dword [edi + 0x94]
mov esi, dword [ebp - 0x80]
test eax, eax
je 0x4d6963
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
test esi, esi
je 0x4d6963
inc dword [esi + 4]
add dword [edi + 0x94], 0xc
mov byte [ebp - 4], 3
test esi, esi
je 0x4d699b
dec dword [esi + 4]
jne 0x4d6990
cmp byte [esi + 8], 0
je 0x4d6985
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x64]
add dword [ebp - 0x70], 4
inc eax
mov dword [ebp - 0x64], eax
cmp eax, 0x1e
jl 0x4d68c0
mov edi, dword [ebp - 0x6c]
mov eax, dword [edi + 0xa4]
mov ecx, dword [edi + 0xa0]
cmp ecx, eax
je 0x4d69f1
mov edx, dword [ebp - 0x68]
push edx
push ecx
push eax
push eax
call fcn.004f59a0
mov ecx, dword [ebp - 0x68]
push ecx
mov esi, eax
mov eax, dword [edi + 0xa4]
lea edx, [edi + 0xac]
push edx
push eax
push esi
call fcn.0048cd80
add esp, 0x20
mov dword [edi + 0xa4], esi
sub ebx, 6
neg ebx
sbb ebx, ebx
and ebx, 3
lea eax, [ebx*4 + 0x560450]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x70], eax
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov ecx, 0x56a4b4
mov byte [ebp - 4], 0x1c
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov eax, dword [ecx + 0x18]
cmp eax, ebx
jne 0x4d6a3c
xor ecx, ecx
jmp 0x4d6a52
mov edx, dword [ecx + 0x20]
cmp edx, ebx
je 0x4d6a48
mov edx, dword [edx + 0xc]
jmp 0x4d6a4a
xor edx, edx
mov ecx, dword [ecx + 0x1c]
imul ecx, edx
add ecx, eax
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.004324d0
test al, al
je 0x4d65cb
mov eax, dword [edi + 0xa4]
cmp eax, dword [edi + 0xa8]
jne 0x4d6a87
push 1
lea ecx, [edi + 0xa0]
call fcn.004c32d0
mov eax, dword [edi + 0xa4]
mov esi, dword [ebp - 0x80]
cmp eax, ebx
je 0x4d6aaf
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
cmp esi, ebx
je 0x4d6aaf
inc dword [esi + 4]
add dword [edi + 0xa4], 0xc
mov byte [ebp - 4], 3
cmp esi, ebx
je 0x4d6ae5
dec dword [esi + 4]
jne 0x4d6adc
cmp byte [esi + 8], 0
je 0x4d6ad1
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x88], ebx
mov eax, dword [ebp - 0x64]
add dword [ebp - 0x70], 4
inc eax
mov dword [ebp - 0x64], eax
cmp eax, 3
jl 0x4d6a0e
mov edi, dword [ebp - 0x6c]
mov esi, 0x564fd0
mov dword [ebp - 0x64], 2
push esi
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x51]
call fcn.004c8d80
push eax
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 0x1d
call fcn.0044ca40
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 3
test eax, eax
je 0x4d6b5c
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jne 0x4d6b54
cmp byte [ecx + 8], 0
je 0x4d6b44
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x4d6b54
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
xor eax, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], eax
add esi, 8
dec dword [ebp - 0x64]
jne 0x4d6b08
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x68], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x6c], edx
mov dword [edi + 0x70], eax
mov dword [edi + 0x88], 0xffffffff
mov dword [edi + 0x84], 0
mov dword [edi + 0x74], ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00503edb
mov esp, ebp
pop ebp
ret 8