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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
push ebx
mov ebx, ecx
mov eax, dword [ebx + 8]
push esi
mov esi, dword [ebp + 8]
mov ecx, 3
push edi
xor edi, edi
mov dword [esp + 0x9c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xd0], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x104], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x114], ecx
mov ecx, dword [ebx + 0x88]
mov edx, dword [eax + ecx*4]
mov ecx, dword [ebx + 0x8c]
push edi
mov dword [esp + 0x98], edx
mov edx, dword [eax + ecx*4]
mov eax, dword [ebx + 0xa8]
mov cl, byte [ebx + 0xac]
push edi
mov dword [esp + 0xb8], eax
mov eax, dword [ebx + 0xc0]
push edi
mov dword [esp + 0x98], edx
mov edx, dword [ebx + 0xbc]
push 0x4405c4
mov dword [esp + 0x130], eax
push ebx
mov eax, esi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x110], edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0x120], edi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x108], 2
mov dword [esp + 0x100], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xec], edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
mov byte [esp + 0x9c], 0
mov byte [esp + 0x94], 0
mov byte [esp + 0x32], cl
mov dword [esp + 0x130], edx
call fcn.004a1060
push edi
push edi
push edi
push 0x4405cc
mov byte [esp + 0x44], al
push ebx
mov eax, esi
call fcn.004a1060
cmp byte [esp + 0x34], 0
mov ecx, dword [ebx + 0x20]
mov byte [esp + 0x84], al
mov dword [esp + 0x124], ecx
je 0x4d727a
test al, al
je 0x4d727a
push 0x442e9c
mov ecx, esi
call fcn.004a8880
push eax
mov edx, 0xdc4
mov eax, ebx
call fcn.004a49f0
add esp, 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x84], 0
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0x14]
push eax
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x148]
push edx
mov edx, dword [ebp + 0x24]
lea eax, [esp + 0x84]
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov eax, ebx
mov dword [esp + 0x110], edi
mov dword [esp + 0x88], 0xffffffff
call fcn.004d4e70
mov esi, eax
cmp esi, edi
jl 0x4d8ba7
mov ecx, dword [ebx + 4]
mov edi, dword [ecx + 0x14]
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x9c]
push eax
push ecx
mov ecx, 4
add edi, 0xc
lea esi, [ecx - 1]
mov dword [esp + 0x2c], edi
call fcn.004673b0
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov edx, dword [ebx + 0x1c]
mov esi, dword [esp + 0x98]
lea eax, [edi*4]
push eax
push edx
push esi
mov dword [esp + 0x34], eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [esp + 0xf]
push eax
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
mov eax, ebx
mov byte [esp + 0x1f], 0
call fcn.004d5430
mov esi, eax
test esi, esi
jl 0x4d8ba7
cmp esi, 0x270f0000
je 0x4d8b3d
cmp esi, 0x270f0001
je 0x4d8b3d
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x1b]
push edx
lea eax, [esp + 0x5c]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x30]
push ecx
lea edx, [ebp + 0x10]
push edx
push eax
push edi
call fcn.004d5740
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
push 1
lea eax, [esp + 0x28]
push eax
push 0
push 0
push ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
call fcn.004a3310
mov esi, eax
test esi, esi
jl 0x4d8ba7
cmp dword [ebp + 0x24], 0
lea ecx, [esp + 0xe4]
mov edx, ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x38], 0
jne 0x4d73f0
cmp byte [ebp + 0x1c], 0
jne 0x4d73f0
cmp dword [ebp + 0x20], 0
jne 0x4d73f0
xor al, al
jmp 0x4d73f2
mov al, 1
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x13]
push edx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0x90]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
push ebx
lea eax, [esp + 0x120]
call fcn.004d5c30
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x64]
mov dword [esp + 0x10], 0
call fcn.0047fc00
mov esi, eax
test esi, esi
jl 0x4d8ba7
lea eax, [esp + 0xfc]
call fcn.0047fc00
mov esi, eax
test esi, esi
jl 0x4d8ba7
lea eax, [esp + 0xb4]
call fcn.0047fc00
mov esi, eax
test esi, esi
jl 0x4d8ba7
lea eax, [esp + 0x10c]
call fcn.0047fc00
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x98]
push ecx
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0xf], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1f], 0
je 0x4d7abb
mov eax, dword [ebx + 8]
cmp dword [eax + 0x58], 0
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xc4], ecx
jne 0x4d750b
cmp byte [esp + 0x60], 0
je 0x4d7505
inc dword [ebx + 0xbc]
jmp 0x4d750b
inc dword [ebx + 0xc0]
mov edi, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x74]
push eax
push 0x10f00001
push edi
mov ecx, ebx
mov dword [esp + 0x80], 0xffffffff
call fcn.004b14c0
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov eax, dword [ebx + 8]
cmp dword [eax + 0x58], 0
je 0x4d7555
mov ecx, dword [eax + 0x3690]
jmp 0x4d755b
mov ecx, dword [eax + 0x36a4]
mov eax, dword [esp + 0x5c]
lea edx, [eax + 0x10]
mov dword [esp + 0x90], edx
mov edx, dword [edx]
mov dword [esp + 0xe0], eax
cmp edx, ecx
je 0x4d75fb
test edx, edx
je 0x4d75bc
cmp edx, 0xffffffff
je 0x4d75bc
mov esi, dword [eax + 0x18]
lea edi, [eax + 0x18]
add eax, 0x14
mov dword [esp + 0xe8], edi
test esi, esi
je 0x4d75a5
mov edi, dword [eax]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0xe8]
jmp 0x4d75aa
mov esi, dword [eax]
mov dword [edx + 0x24], esi
mov eax, dword [eax]
test eax, eax
je 0x4d75b7
mov edx, dword [edi]
mov dword [eax + 0x18], edx
jmp 0x4d75bc
mov eax, dword [edi]
mov dword [edx + 0x28], eax
test ecx, ecx
je 0x4d75eb
cmp ecx, 0xffffffff
je 0x4d75eb
mov eax, dword [ecx + 0x28]
mov edx, dword [esp + 0xe0]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x4d75de
mov dword [eax + 0x14], edx
jmp 0x4d75e1
mov dword [ecx + 0x24], edx
mov dword [edx + 0x14], 0
mov dword [ecx + 0x28], edx
mov edx, dword [esp + 0x90]
mov edi, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [esp + 0x5c]
cmp byte [esp + 0x34], 0
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x90], edx
je 0x4d7622
mov ecx, dword [eax + 8]
add eax, 8
or dword [eax + 4], 0x20000
mov dword [eax], ecx
mov eax, dword [esp + 0x5c]
cmp dword [ebp + 0x14], 0
jne 0x4d7690
cmp byte [ebp + 0x1c], 0
je 0x4d7637
cmp dword [ebx + 0x108], 0
jne 0x4d7690
cmp dword [esp + 0x140], 0
jne 0x4d7690
mov edx, dword [esp + 0x17]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
push ebx
mov dword [ebx + 0x18], edi
call fcn.004dad20
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov esi, dword [esp + 0x28]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x64]
push esi
push ecx
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xa4]
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x4d7768
mov dword [ebx + 0xa8], eax
mov eax, dword [esp + 0x17]
lea edx, [esp + 0x3c]
push edx
push eax
mov byte [ebx + 0xac], al
mov eax, dword [esp + 0x38]
push eax
push ebx
mov dword [esp + 0x4c], 0
mov dword [ebx + 0x18], edi
call fcn.004dad20
mov esi, eax
test esi, esi
jge 0x4d76d0
lea edi, [esp + 0x3c]
call fcn.004db080
jmp 0x4d8ba7
lea ecx, [esp + 0x1d]
push ecx
mov edx, ecx
push edx
mov eax, ecx
push eax
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x98]
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x150]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [esp + 0x90]
push edi
push edx
mov edx, dword [ebp + 0x1c]
push eax
push ecx
push 0
push 0
push edx
mov eax, ebx
call fcn.004d5520
mov esi, eax
test esi, esi
jl 0x4d76c2
mov esi, dword [esp + 0x28]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x64]
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0xa4]
mov eax, dword [ebx + 0x1c]
add esp, 0xc
push esi
push edx
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0xbc]
mov dl, byte [esp + 0x2a]
add esp, 0xc
lea edi, [esp + 0x3c]
mov dword [ebx + 0xa8], ecx
mov byte [ebx + 0xac], dl
call fcn.004db080
cmp dword [ebp + 0x18], 0
mov edi, dword [ebp + 0xc]
jne 0x4d7816
cmp dword [esp + 0x12c], 0
jne 0x4d7816
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x30]
sete al
push 0
movzx ecx, al
push ecx
push edx
push ebx
mov dword [ebx + 0x18], edi
call fcn.004dad20
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 0x1c]
mov esi, dword [esp + 0xb4]
push edi
push eax
push esi
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0xa4]
mov edx, dword [ebx + 0x1c]
add esp, 0xc
push edi
push ecx
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x4d78f3
mov ecx, dword [ebx + 0x9c]
mov edx, dword [eax]
mov dword [esi + ecx*4], edx
mov ecx, dword [ebx + 0xa0]
mov edx, dword [eax + 4]
mov dword [esi + ecx*4], edx
mov ecx, dword [ebx + 0x94]
mov edx, dword [eax + 8]
mov dword [esi + ecx*4], edx
mov ecx, dword [ebx + 0x90]
mov edx, dword [eax + 0xc]
mov dword [esi + ecx*4], edx
jmp 0x4d78f3
mov eax, dword [esp + 0x5c]
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x30]
mov dword [ebx + 0xa8], eax
sete al
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0
mov byte [ebx + 0xac], al
mov dword [ebx + 0x18], edi
push eax
push edx
push ebx
call fcn.004dad20
mov esi, eax
test esi, esi
jl 0x4d76c2
lea eax, [esp + 0x1f]
push eax
mov ecx, eax
push ecx
mov edx, eax
push edx
lea eax, [esp + 0xb8]
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x13c]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [esp + 0x90]
push edi
push ecx
push edx
push eax
push 0
push 0
push 0
mov eax, ebx
call fcn.004d5520
mov esi, eax
test esi, esi
jl 0x4d76c2
mov esi, dword [esp + 0x28]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0xb4]
push esi
push ecx
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xa4]
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0xbc]
mov al, byte [esp + 0x2a]
add esp, 0xc
lea edi, [esp + 0x3c]
mov dword [ebx + 0xa8], edx
mov byte [ebx + 0xac], al
call fcn.004db080
mov edi, esi
cmp byte [esp + 0x88], 0
je 0x4d7914
cmp byte [ebp + 0x1c], 0
jne 0x4d790d
cmp byte [esp + 0x80], 0
je 0x4d7914
mov eax, 1
jmp 0x4d7916
xor eax, eax
or byte [ebx + 0xde], al
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4d792e
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0xfc]
push edi
push ecx
push esi
mov dword [ebx + 0xe0], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edx
push esi
push 0
push 0
push ebx
call fcn.004a3310
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0x10c]
push edi
push eax
push esi
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push esi
push 0
push 0
push ebx
call fcn.004a3310
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0xfc]
lea edx, [esp + 0x10]
push edx
push 0
mov edx, dword [esp + 0xbc]
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x4f]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push 0
push eax
push ebx
call fcn.004d6410
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
mov dword [ebx + 0xbc], ecx
mov dword [ebx + 0xc0], edx
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
push ebx
call fcn.004d6070
mov esi, eax
test esi, esi
jl 0x4d8ba7
cmp byte [esp + 0x58], 0
je 0x4d8309
mov eax, dword [esp + 0xc4]
mov ecx, dword [ebx + 8]
push eax
push ecx
call fcn.00509290
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x98]
mov ecx, dword [ebx + 0x1c]
push edx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x58], 0
je 0x4d8309
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebx + 0xa0]
mov edx, dword [ebx + 0x1c]
cmp dword [edx + ecx*4], 0xffffffff
mov dword [esp + 0xc4], eax
lea eax, [edx + ecx*4]
mov byte [esp + 0xf], 0
mov byte [esp + 0x1c], 0
je 0x4d7b07
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.004a3690
test eax, eax
jl 0x4d7b50
cmp byte [esp + 0xe], 0
jne 0x4d7b50
mov eax, dword [ebx + 0x94]
mov ecx, dword [ebx + 0x1c]
cmp dword [ecx + eax*4], 0xffffffff
lea eax, [ecx + eax*4]
je 0x4d7b31
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.004a3690
test eax, eax
jl 0x4d7b50
cmp byte [esp + 0xe], 0
jne 0x4d7b50
mov edx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x1c]
cmp dword [eax + edx*4], 0xffffffff
lea eax, [eax + edx*4]
je 0x4d7b50
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.004a3690
cmp dword [ebp + 0x14], 0
mov ecx, dword [esp + 0x98]
mov dword [ebx + 0x20], ecx
jne 0x4d7bbc
cmp dword [esp + 0x140], 0
jne 0x4d7bbc
mov eax, dword [esp + 0x17]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0xc]
push 0
push eax
push ecx
push ebx
mov dword [ebx + 0x18], edx
call fcn.004dad20
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov esi, dword [esp + 0x28]
mov edx, dword [ebx + 0x1c]
mov edi, dword [esp + 0x64]
push esi
push edx
push edi
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xa4]
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x4d7cfb
cmp byte [esp + 0x17], 0
mov dword [esp + 0x3c], 0
lea esi, [esp + 0x24]
jne 0x4d7bd3
lea esi, [esp + 0x54]
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
lea eax, [eax + edx*4]
push ebx
lea edx, [esp + 0x98]
call fcn.004a2020
mov esi, eax
test esi, esi
jl 0x4d76c2
cmp byte [esp + 0x17], 0
lea esi, [esp + 0x24]
jne 0x4d7c08
lea esi, [esp + 0x54]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x8c]
lea eax, [edx + ecx*4]
push ebx
lea edx, [esp + 0x90]
call fcn.004a2020
mov esi, eax
test esi, esi
jl 0x4d76c2
mov ecx, dword [esp + 0x17]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x3c]
push eax
push ecx
push edx
push ebx
mov dword [ebx + 0x18], edi
call fcn.004dad20
mov esi, eax
test esi, esi
jl 0x4d76c2
push 0
lea eax, [esp + 0x13]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0xb4]
push edx
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x150]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [esp + 0x90]
push edi
push eax
mov eax, dword [ebp + 0x1c]
push ecx
push edx
push 0
push 1
push eax
mov eax, ebx
call fcn.004d5520
mov esi, eax
test esi, esi
jl 0x4d76c2
mov esi, dword [esp + 0x28]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x64]
push esi
push ecx
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xa4]
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0xa0]
mov dword [eax + edx*4], ecx
mov edx, dword [ebx + 0x8c]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x98]
add esp, 0xc
lea edi, [esp + 0x3c]
mov dword [eax + edx*4], ecx
call fcn.004db080
mov edi, dword [esp + 0x64]
cmp dword [ebp + 0x18], 0
jne 0x4d7dad
cmp dword [esp + 0x12c], 0
jne 0x4d7dad
cmp byte [esp + 0x17], 0
mov edx, dword [ebp + 0xc]
sete al
push 0
movzx ecx, al
mov dword [ebx + 0x18], edx
mov edx, dword [esp + 0x34]
push ecx
push edx
push ebx
call fcn.004dad20
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0x1c]
mov esi, dword [esp + 0xb4]
push eax
push ecx
push esi
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xa4]
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
push edx
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x4d8104
mov ecx, dword [eax]
mov edx, dword [ebx + 0x9c]
mov dword [esi + edx*4], ecx
mov ecx, dword [eax + 4]
mov edx, dword [ebx + 0xa0]
mov dword [esi + edx*4], ecx
mov edx, dword [ebx + 0x94]
mov ecx, dword [eax + 8]
mov dword [esi + edx*4], ecx
mov edx, dword [ebx + 0x90]
mov eax, dword [eax + 0xc]
mov dword [esi + edx*4], eax
jmp 0x4d8104
cmp byte [esp + 0x17], 0
mov ecx, dword [ebp + 0xc]
sete al
mov dword [ebx + 0x18], ecx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
movzx ecx, al
push ecx
push edx
push ebx
mov dword [esp + 0x4c], 0
call fcn.004dad20
mov esi, eax
test esi, esi
jl 0x4d76c2
xor ecx, ecx
mov byte [esp + 0x1b], 0
cmp dword [esp + 0x20], ecx
jbe 0x4d7e17
mov edi, edi
cmp dword [edi + ecx*4], 0xffffffff
je 0x4d7e10
mov edx, dword [edi + ecx*4]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
and eax, 0x4200000
xor esi, esi
or eax, esi
je 0x4d7e10
mov eax, dword [ebx + 0x1c]
mov dword [eax + ecx*4], edx
inc ecx
cmp ecx, dword [esp + 0x20]
jb 0x4d7df0
mov ecx, dword [ebx + 0xa0]
mov edx, dword [esp + 0x64]
lea eax, [edx + ecx*4]
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.004a3690
test eax, eax
jl 0x4d7e41
cmp byte [esp + 0xe], 0
je 0x4d7e41
mov byte [esp + 0x1b], 1
cmp byte [ebx + 0x105], 0
je 0x4d7ea0
mov eax, dword [ebx + 0xa0]
mov ecx, dword [esp + 0x64]
cmp dword [ecx + eax*4], 0xffffffff
lea eax, [ecx + eax*4]
je 0x4d7ea0
mov eax, dword [eax]
lea edi, [esp + 0xe]
call fcn.004a3690
test eax, eax
jl 0x4d7e73
cmp byte [esp + 0xe], 0
je 0x4d7ea0
mov ecx, dword [ebx + 0xa0]
mov edx, dword [esp + 0x64]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
add ecx, ecx
add ecx, ecx
lea esi, [edx + ecx]
add eax, ecx
push ebx
lea edx, [esp + 0x28]
call fcn.004a2020
mov esi, eax
test esi, esi
jl 0x4d76c2
mov eax, dword [ebx + 0x94]
mov ecx, dword [esp + 0x64]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.004a3690
test eax, eax
jl 0x4d7eca
cmp byte [esp + 0xe], 0
je 0x4d7eca
mov byte [esp + 0x1b], 1
cmp byte [ebx + 0x106], 0
je 0x4d7f29
mov edx, dword [ebx + 0x94]
mov eax, dword [esp + 0x64]
cmp dword [eax + edx*4], 0xffffffff
lea eax, [eax + edx*4]
je 0x4d7f29
mov eax, dword [eax]
lea edi, [esp + 0xe]
call fcn.004a3690
test eax, eax
jl 0x4d7efc
cmp byte [esp + 0xe], 0
je 0x4d7f29
mov ecx, dword [ebx + 0x94]
mov edx, dword [esp + 0x64]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
add ecx, ecx
add ecx, ecx
lea esi, [edx + ecx]
add eax, ecx
push ebx
lea edx, [esp + 0x28]
call fcn.004a2020
mov esi, eax
test esi, esi
jl 0x4d76c2
cmp dword [ebp + 0x18], 0
jne 0x4d7f3d
cmp dword [esp + 0x12c], 0
jne 0x4d7fc6
mov eax, dword [ebx + 0x9c]
mov ecx, dword [esp + 0x64]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.004a3690
test eax, eax
jl 0x4d7f67
cmp byte [esp + 0xe], 0
je 0x4d7f67
mov byte [esp + 0x1b], 1
cmp byte [ebx + 0x104], 0
je 0x4d7fc6
mov edx, dword [ebx + 0x9c]
mov eax, dword [esp + 0x64]
cmp dword [eax + edx*4], 0xffffffff
lea eax, [eax + edx*4]
je 0x4d7fc6
mov eax, dword [eax]
lea edi, [esp + 0xe]
call fcn.004a3690
test eax, eax
jl 0x4d7f99
cmp byte [esp + 0xe], 0
je 0x4d7fc6
mov ecx, dword [ebx + 0x9c]
mov edx, dword [esp + 0x64]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
add ecx, ecx
add ecx, ecx
lea esi, [edx + ecx]
add eax, ecx
push ebx
lea edx, [esp + 0x28]
call fcn.004a2020
mov esi, eax
test esi, esi
jl 0x4d76c2
cmp byte [esp + 0x1b], 0
je 0x4d7fe3
mov eax, ebx
call fcn.004a2a00
cmp byte [esp + 0x17], 0
je 0x4d811b
mov dword [esp + 0x54], eax
cmp byte [esp + 0x17], 0
lea esi, [esp + 0x54]
jne 0x4d7ff2
lea esi, [esp + 0x24]
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
lea eax, [ecx + eax*4]
push ebx
lea edx, [esp + 0x98]
call fcn.004a2020
mov esi, eax
test esi, esi
jl 0x4d76c2
cmp byte [esp + 0x17], 0
lea esi, [esp + 0x54]
jne 0x4d8027
lea esi, [esp + 0x24]
mov edx, dword [ebx + 0x8c]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + edx*4]
push ebx
lea edx, [esp + 0x90]
call fcn.004a2020
mov esi, eax
test esi, esi
jl 0x4d76c2
push 0
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0xb8]
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x13c]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x20]
mov ecx, edi
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [ebp + 0x1c]
push eax
push ecx
push 0
push 1
push edx
mov eax, ebx
call fcn.004d5520
mov esi, eax
test esi, esi
jl 0x4d76c2
mov esi, dword [esp + 0x28]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0xb4]
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0xa4]
mov eax, dword [ebx + 0x1c]
add esp, 0xc
push esi
push edx
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0xa0]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebx + 0x8c]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x98]
add esp, 0xc
lea edi, [esp + 0x3c]
mov dword [edx + ecx*4], eax
call fcn.004db080
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0xb4]
cmp byte [esp + 0xf], 0
je 0x4d8128
cmp byte [esp + 0x1c], 0
je 0x4d8124
mov eax, dword [esp + 0x98]
jmp 0x4d8131
mov dword [esp + 0x24], eax
jmp 0x4d7fee
mov eax, esi
jmp 0x4d8131
cmp byte [esp + 0x1c], 0
je 0x4d819d
mov eax, edi
test eax, eax
je 0x4d819d
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
je 0x4d819d
sub eax, esi
mov ecx, esi
sub edi, esi
mov dword [esp + 0x60], eax
mov esi, edx
lea ebx, [ebx]
cmp dword [ecx], 0xffffffff
je 0x4d8168
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
and eax, 0x20000000
xor edx, edx
or eax, edx
jne 0x4d8171
mov eax, dword [esp + 0x60]
mov edx, dword [eax + ecx]
mov dword [ecx], edx
cmp dword [edi + ecx], 0xffffffff
je 0x4d818b
mov eax, dword [edi + ecx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
and eax, 0x20000000
xor edx, edx
or eax, edx
jne 0x4d8195
mov edx, dword [esp + 0x60]
mov eax, dword [edx + ecx]
mov dword [edi + ecx], eax
add ecx, 4
sub esi, 1
jne 0x4d8150
cmp byte [esp + 0x88], 0
jne 0x4d81b5
cmp byte [esp + 0x80], 0
jne 0x4d81b5
xor eax, eax
jmp 0x4d81ba
mov eax, 1
or byte [ebx + 0xde], al
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4d81d2
mov eax, dword [esp + 0xac]
mov dword [ebx + 0xe0], eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0xe8]
push ecx
push edx
push eax
mov eax, dword [esp + 0x68]
mov edi, ebx
call fcn.004d5f30
mov esi, eax
test esi, esi
jl 0x4d8ba7
cmp byte [esp + 0x58], 0
jne 0x4d8246
mov esi, 0x80004005
jmp 0x4d8ba7
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0xfc]
push edi
push ecx
push esi
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edx
push esi
push 0
push 0
push ebx
call fcn.004a3310
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov eax, dword [esp + 0xb4]
push edi
mov edi, dword [esp + 0x110]
push eax
push edi
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push edi
push 0
push 0
push ebx
call fcn.004a3310
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x10]
push edx
push 0
push 0
mov edx, dword [esp + 0x70]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x4f]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
push 1
push edx
push ebx
call fcn.004d6410
mov esi, eax
test esi, esi
jl 0x4d8ba7
cmp dword [esp + 0x10], 0
je 0x4d89a0
mov eax, dword [esp + 0x10]
add eax, 2
lea edi, [eax + eax*2]
add edi, edi
lea eax, [esp + 0xec]
mov byte [ebx + 0xe4], 1
call fcn.0047fc00
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov edi, dword [esp + 0x10]
add edi, 2
lea eax, [esp + 0xcc]
call fcn.0047fc00
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xec]
lea eax, [edx + 2]
lea ecx, [eax*4]
lea esi, [edi + ecx]
mov dword [esp + 0x40], esi
lea esi, [edi + eax*8]
mov dword [esp + 0x44], esi
lea esi, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
lea esi, [edi + esi*4]
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
lea ecx, [edi + ecx*4]
lea esi, [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0xd8]
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x120]
push edi
push eax
mov eax, dword [esp + 0xd0]
push edx
mov edx, dword [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x4f]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push 0
push ecx
push ebx
call fcn.004d6410
mov esi, eax
test esi, esi
jl 0x4d8ba7
cmp byte [esp + 0x58], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
je 0x4d849d
mov edx, dword [esp + 0x10]
or eax, 4
or dword [ecx], eax
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x4c]
or eax, 4
or dword [ecx], eax
mov ecx, dword [esp + 0x48]
push edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.004ca040
mov esi, eax
test esi, esi
jl 0x4d8ba7
cmp dword [ebp + 0x18], 0
jne 0x4d8469
cmp dword [esp + 0x12c], 0
jne 0x4d8469
xor al, al
jmp 0x4d846e
mov eax, 1
mov ecx, dword [esp + 0xcc]
mov edx, dword [ebp + 0xc]
push edi
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x5c]
push ebx
call fcn.004d6960
jmp 0x4d896f
or eax, 8
or dword [ecx], eax
mov ecx, dword [esp + 0x78]
or eax, 8
or dword [ecx], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x17]
mov dword [ebx + 0xa8], edx
mov byte [ebx + 0xac], al
test ecx, ecx
je 0x4d85af
mov eax, ecx
and eax, 0xfffff
cmp byte [esp + 0x1d], 0
je 0x4d84e4
or eax, 0x11d00000
jmp 0x4d84e9
or eax, 0x9ff00000
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.004b14c0
mov esi, eax
test esi, esi
jl 0x4d8ba7
xor edi, edi
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x10], edi
jbe 0x4d85ab
mov edx, dword [esp + 0x4c]
mov ecx, dword [ebx + 8]
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx + 0x369c]
mov edx, dword [eax + 0x10]
cmp edx, ecx
je 0x4d859c
test edx, edx
je 0x4d8571
cmp edx, 0xffffffff
je 0x4d8571
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4d8556
mov edi, dword [eax + 0x14]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x2c]
jmp 0x4d855c
mov esi, dword [eax + 0x14]
mov dword [edx + 0x24], esi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4d856b
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
jmp 0x4d8571
mov esi, dword [eax + 0x18]
mov dword [edx + 0x28], esi
test ecx, ecx
je 0x4d8599
cmp ecx, 0xffffffff
je 0x4d8599
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4d858c
mov dword [edx + 0x14], eax
jmp 0x4d858f
mov dword [ecx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [ecx + 0x28], eax
mov dword [eax + 0x10], ecx
inc edi
mov dword [esp + 0x2c], edi
cmp edi, dword [esp + 0x10]
jb 0x4d8523
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
cmp byte [esp + 0x17], 0
mov dword [ebx + 0xa8], eax
sete al
mov byte [esp + 0xe0], al
mov byte [ebx + 0xac], al
test ecx, ecx
je 0x4d86b4
mov eax, dword [esp + 0x10]
and eax, 0xfffff
cmp byte [esp + 0x1f], 0
je 0x4d85ed
or eax, 0x11d00000
jmp 0x4d85f2
or eax, 0x9ff00000
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.004b14c0
mov esi, eax
test esi, esi
jl 0x4d8ba7
xor edi, edi
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x10], edi
jbe 0x4d86b4
mov edx, dword [esp + 0x50]
mov ecx, dword [ebx + 8]
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx + 0x369c]
mov edx, dword [eax + 0x10]
cmp edx, ecx
je 0x4d86a5
test edx, edx
je 0x4d867a
cmp edx, 0xffffffff
je 0x4d867a
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4d865f
mov edi, dword [eax + 0x14]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x2c]
jmp 0x4d8665
mov esi, dword [eax + 0x14]
mov dword [edx + 0x24], esi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4d8674
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
jmp 0x4d867a
mov esi, dword [eax + 0x18]
mov dword [edx + 0x28], esi
test ecx, ecx
je 0x4d86a2
cmp ecx, 0xffffffff
je 0x4d86a2
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4d8695
mov dword [edx + 0x14], eax
jmp 0x4d8698
mov dword [ecx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [ecx + 0x28], eax
mov dword [eax + 0x10], ecx
inc edi
mov dword [esp + 0x2c], edi
cmp edi, dword [esp + 0x10]
jb 0x4d862c
cmp dword [esp + 0x10], 0
mov dword [esp + 0x2c], 0
jbe 0x4d88c2
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0xcc]
add eax, 0xfffffff4
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x40]
sub edx, eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x4c]
sub edx, eax
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x50]
sub ecx, eax
sub edx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xe8], edx
jmp 0x4d8727
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x34]
cmp dword [ecx + eax], edx
jb 0x4d88aa
mov edx, dword [esp + 0x90]
mov cl, byte [esp + 0x17]
push 0
push 0
push 0
push 0
push 0
push eax
lea edi, [edx + eax]
mov eax, dword [ebp + 0xc]
push edi
push 0x9ff00001
mov byte [ebx + 0xac], cl
push eax
mov ecx, ebx
call fcn.004b14c0
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov cl, byte [esp + 0xe0]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xe8]
push 0
push 0
push 0
push 0
mov byte [ebx + 0xac], cl
lea ecx, [edx + eax]
mov edx, dword [esp + 0x70]
push 0
add edx, eax
mov eax, dword [ebp + 0xc]
push edx
push ecx
push 0x9ff00001
mov dword [esp + 0xa4], ecx
push eax
mov ecx, ebx
call fcn.004b14c0
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov ecx, dword [ebx + 8]
mov eax, dword [edi]
mov ecx, dword [ecx + 0x369c]
mov edx, dword [eax + 0x10]
cmp edx, ecx
je 0x4d8833
test edx, edx
je 0x4d8808
cmp edx, 0xffffffff
je 0x4d8808
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4d87ed
mov edi, dword [eax + 0x14]
mov dword [esi + 0x14], edi
jmp 0x4d87f3
mov esi, dword [eax + 0x14]
mov dword [edx + 0x24], esi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4d8802
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
jmp 0x4d8808
mov esi, dword [eax + 0x18]
mov dword [edx + 0x28], esi
test ecx, ecx
je 0x4d8830
cmp ecx, 0xffffffff
je 0x4d8830
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4d8823
mov dword [edx + 0x14], eax
jmp 0x4d8826
mov dword [ecx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [ecx + 0x28], eax
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x84]
mov ecx, dword [eax + 0x369c]
mov eax, dword [edx]
mov edx, dword [eax + 0x10]
cmp edx, ecx
je 0x4d88aa
test edx, edx
je 0x4d887f
cmp edx, 0xffffffff
je 0x4d887f
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4d8864
mov edi, dword [eax + 0x14]
mov dword [esi + 0x14], edi
jmp 0x4d886a
mov esi, dword [eax + 0x14]
mov dword [edx + 0x24], esi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4d8879
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
jmp 0x4d887f
mov esi, dword [eax + 0x18]
mov dword [edx + 0x28], esi
test ecx, ecx
je 0x4d88a7
cmp ecx, 0xffffffff
je 0x4d88a7
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4d889a
mov dword [edx + 0x14], eax
jmp 0x4d889d
mov dword [ecx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [ecx + 0x28], eax
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x34], 4
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x10]
jb 0x4d8720
mov eax, dword [esp + 0xb0]
mov cl, byte [esp + 0x1e]
mov dword [ebx + 0xa8], eax
mov eax, dword [esp + 0x10]
mov byte [ebx + 0xac], cl
test eax, eax
je 0x4d892b
jbe 0x4d88ee
mov edi, dword [esp + 0x48]
mov ecx, eax
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push 0
push 0
push 0
push 0
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 0xc]
push ecx
and edx, 0xfffff
or edx, 0x20700000
push edx
push eax
mov ecx, ebx
call fcn.004b14c0
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xffffffff
je 0x4d8943
call fcn.004cf520
test al, al
jne 0x4d8943
mov eax, 0xdfffffff
jmp 0x4d8946
or eax, 0xffffffff
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x50]
push edx
or ecx, 0xffffffff
push ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
push ebx
call fcn.004d6a60
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.004d7010
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov byte [ebx + 0xe4], 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0xffffffffffffffff
push edx
mov edx, dword [esp + 0x110]
push ebx
xor ecx, ecx
mov dword [esp + 0x28], 0
call fcn.004d67d0
mov esi, eax
test esi, esi
jl 0x4d8ba7
cmp dword [esp + 0x10], 0
je 0x4d8b07
lea esi, [esp + 0xec]
call fcn.0047fcb0
lea esi, [esp + 0xcc]
call fcn.0047fcb0
mov edi, dword [esp + 0x10]
add edi, edi
lea eax, [esp + 0xec]
call fcn.0047fc00
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov edi, dword [esp + 0x10]
lea eax, [esp + 0xcc]
call fcn.0047fc00
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov edi, dword [esp + 0xec]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0xd0]
push edi
push edx
mov edx, dword [esp + 0x108]
push eax
lea ecx, [edi + eax*4]
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x120]
push ebx
mov dword [esp + 0xe0], ecx
call fcn.004d67d0
mov esi, eax
test esi, esi
jl 0x4d8ba7
cmp dword [esp + 0x10], 0
jbe 0x4d8a8f
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xec]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
push ecx
and edx, 0xfffff
push edi
or edx, 0x10000000
push edx
push eax
mov ecx, ebx
call fcn.004b14c0
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.004d68a0
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.004d7010
mov esi, eax
test esi, esi
jl 0x4d8ba7
mov ecx, dword [ebx + 0x94]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + ecx*4]
lea edi, [esp + 0xf]
mov esi, ebx
call fcn.004a3690
test eax, eax
jge 0x4d8b29
mov byte [ebx + 0xdb], 1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
or dword [ecx], eax
mov ecx, dword [esp + 0x78]
xor esi, esi
or dword [ecx], eax
jmp 0x4d8ba7
cmp byte [esp + 0xf], 0
push 0
push 0
push 0
push 0
push 0
je 0x4d8b78
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x150]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
push edx
push 1
push 1
push eax
jmp 0x4d8b9e
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x13c]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
push 1
push 1
push 0
mov eax, ebx
call fcn.004d5520
mov esi, eax
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x94]
mov dword [edx + ecx*4], eax
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x8c]
mov eax, dword [esp + 0x8c]
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0xb0]
mov dl, byte [esp + 0x1e]
mov eax, dword [esp + 0x124]
mov dword [ebx + 0xa8], ecx
mov ecx, dword [esp + 0x11c]
mov byte [ebx + 0xac], dl
mov edx, dword [esp + 0x120]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0xcc]
mov dword [ebx + 0xbc], ecx
mov ecx, dword [esp + 0xd8]
mov dword [ebx + 0xc0], edx
mov edx, dword [esp + 0xd0]
push eax
mov eax, dword [esp + 0xd8]
mov byte [ebx + 0xe4], 0
call fcn.00467420
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
push ecx
mov ecx, dword [esp + 0xfc]
call fcn.00467420
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push edx
mov edx, dword [esp + 0x114]
call fcn.00467420
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xc0]
call fcn.00467420
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x10c]
call fcn.00467420
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
call fcn.00467420
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xa4]
call fcn.00467420
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20