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

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x7c]
push ebx
push ebp
mov ebp, dword [eax]
push esi
mov esi, dword [eax + 0xc]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x90]
mov eax, esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x38], ebp
call fcn.004bc2e0
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.004bc2e0
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
movzx eax, byte [edi + 4]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x18], edi
mov edi, dword [edi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edi
cmp eax, 0x71
je 0x4d703b
mov edx, 1
mov dword [esp + 0x34], edx
cmp byte [ebp + 0x1e], bl
jne 0x4d703b
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
lea ecx, [ecx]
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
cmp edx, dword [ecx]
jg 0x4d703b
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0xc]
xor eax, eax
cmp edi, ebx
jle 0x4d6f0a
add ecx, 0xe
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x44]
movzx ecx, word [ecx]
cmp ecx, edx
je 0x4d6f0a
add dword [esp + 0x44], 0x14
inc eax
cmp eax, edi
jl 0x4d6ef5
cmp eax, edi
jne 0x4d702d
cmp byte [ebp + 0x1e], bl
jne 0x4d70a8
cmp byte [ebp + 0xda], bl
je 0x4d6f5f
mov edx, 0x31
cmp dx, word [ebp + 0xd8]
ja 0x4d6f5f
mov edi, dword [ebp + 0xe4]
cmp edi, ebx
je 0x4d6f5f
mov eax, dword [edi]
inc dword [ebp + 0xdc]
mov dword [ebp + 0xe4], eax
mov eax, dword [ebp + 0xdc]
cmp eax, dword [ebp + 0xe0]
jle 0x4d6fad
mov dword [ebp + 0xe0], eax
jmp 0x4d6fad
cmp dword [0x5c1c98], ebx
je 0x4d7094
mov eax, dword [0x5c1ec0]
cmp eax, ebx
je 0x4d6f7e
push eax
call dword [0x5c1ce0]
add esp, 4
lea ebx, [esp + 0x50]
mov eax, 0x31
call fcn.004b95a0
mov eax, dword [0x5c1ec0]
test eax, eax
je 0x4d6f9f
push eax
call dword [0x5c1ce8]
add esp, 4
xor ebx, ebx
mov edi, dword [esp + 0x50]
cmp edi, ebx
jne 0x4d6fb5
mov byte [ebp + 0x1e], 1
cmp edi, ebx
je 0x4d70a8
push 0x31
push ebx
push edi
call fcn.0052b590
push ebx
lea eax, [edi + 0x30]
or ecx, 0xffffffff
push ebx
push eax
mov byte [edi], 0x81
mov word [edi + 0x1e], cx
mov dword [edi + 4], eax
call fcn.0052c7c0
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x4c]
mov byte [edx], bl
mov eax, 0x800
or word [edi + 2], ax
mov eax, dword [esp + 0xa4]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov dword [edi + 0x2c], 1
call fcn.004c3210
mov edx, dword [eax + 0xc]
mov cx, word [esp + 0x34]
inc dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov word [edx + eax + 0xe], cx
mov edx, dword [esp + 0x34]
add eax, 0x14
mov dword [esp + 0x48], eax
inc edx
mov dword [esp + 0x34], edx
cmp byte [ebp + 0x1e], bl
je 0x4d6ed0
lea eax, [edi*4]
cmp ebp, ebx
je 0x4d70fa
cmp byte [ebp + 0x1e], bl
je 0x4d70b5
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
push ebx
push eax
mov dword [edx + 0x18], eax
mov eax, dword [edi]
push eax
call fcn.004bd230
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [esp + 0x14], 0x71
mov dword [ecx + 0x18], eax
jne 0x4d7385
mov dword [esp + 0x44], ebx
jmp 0x4d75ba
push 0x31
call dword [0x5c1cb0]
add esp, 4
mov dword [esp + 0x50], eax
jmp 0x4d6fa1
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x78
ret
cmp byte [ebp + 0xda], bl
je 0x4d70fa
movzx edx, word [ebp + 0xd8]
cmp eax, edx
jg 0x4d70fa
mov ecx, dword [ebp + 0xe4]
cmp ecx, ebx
je 0x4d70fa
mov eax, dword [ecx]
inc dword [ebp + 0xdc]
mov dword [ebp + 0xe4], eax
mov eax, dword [ebp + 0xdc]
cmp eax, dword [ebp + 0xe0]
jle 0x4d70f4
mov dword [ebp + 0xe0], eax
mov dword [esp + 0x34], ecx
jmp 0x4d7160
dec eax
cmp eax, 0x7ffffefe
ja 0x4d7204
cmp dword [0x5c1c98], ebx
je 0x4d71ee
mov eax, dword [0x5c1ec0]
cmp eax, ebx
je 0x4d7125
push eax
call dword [0x5c1ce0]
add esp, 4
lea ebx, [esp + 0x50]
lea eax, [edi*4]
call fcn.004b95a0
mov eax, dword [0x5c1ec0]
test eax, eax
je 0x4d7148
push eax
call dword [0x5c1ce8]
add esp, 4
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
jne 0x4d715a
cmp ebp, ebx
je 0x4d715a
mov byte [ebp + 0x1e], 1
mov ecx, eax
mov dword [esp + 0x34], eax
cmp ecx, ebx
je 0x4d7053
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0xc]
xor eax, eax
cmp edi, ebx
jle 0x4d7195
add edx, 0xe
mov dword [esp + 0x44], edx
lea esp, [esp]
mov edx, dword [esp + 0x44]
movzx edx, word [edx]
add dword [esp + 0x44], 0x14
dec edx
mov dword [ecx + eax*4], edx
inc eax
cmp eax, edi
jl 0x4d7180
lea edi, [edi + edi*4 + 0x10]
cmp ebp, ebx
je 0x4d720b
cmp byte [ebp + 0x1e], bl
jne 0x4d7053
cmp byte [ebp + 0xda], bl
je 0x4d720b
movzx eax, word [ebp + 0xd8]
cmp edi, eax
jg 0x4d720b
mov ecx, dword [ebp + 0xe4]
cmp ecx, ebx
je 0x4d720b
mov edx, dword [ecx]
inc dword [ebp + 0xdc]
mov eax, dword [ebp + 0xdc]
cmp eax, dword [ebp + 0xe0]
mov dword [ebp + 0xe4], edx
jle 0x4d71e5
mov dword [ebp + 0xe0], eax
mov dword [esp + 0x28], ecx
jmp 0x4d726e
lea eax, [edi*4]
push eax
call dword [0x5c1cb0]
add esp, 4
jmp 0x4d714e
xor eax, eax
jmp 0x4d7152
lea eax, [edi - 1]
cmp eax, 0x7ffffefe
ja 0x4d72da
cmp dword [0x5c1c98], ebx
je 0x4d72ce
mov eax, dword [0x5c1ec0]
cmp eax, ebx
je 0x4d7238
push eax
call dword [0x5c1ce0]
add esp, 4
lea ebx, [esp + 0x50]
mov eax, edi
call fcn.004b95a0
mov eax, dword [0x5c1ec0]
test eax, eax
je 0x4d7256
push eax
call dword [0x5c1ce8]
add esp, 4
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
jne 0x4d7268
cmp ebp, ebx
je 0x4d7268
mov byte [ebp + 0x1e], 1
mov ecx, eax
mov dword [esp + 0x28], eax
cmp ecx, ebx
je 0x4d7057
mov eax, dword [esp + 0x1c]
lea edx, [ecx + eax*4 + 0xc]
mov dword [ecx + 8], edx
mov word [ecx + 6], ax
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov dl, byte [edx + 0x39]
xor edi, edi
cmp eax, ebx
mov byte [ecx + 4], dl
jle 0x4d7057
xor eax, eax
add ecx, 0xc
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], ecx
jmp 0x4d72b0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, dword [eax + edx]
mov edx, 0x100
mov dword [esp + 0x58], ecx
test word [ecx + 2], dx
je 0x4d72de
mov edx, dword [ecx + 0x14]
jmp 0x4d734a
push edi
call dword [0x5c1cb0]
add esp, 4
jmp 0x4d725c
xor eax, eax
jmp 0x4d7260
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x90]
mov ebp, dword [eax + edi*4]
mov eax, dword [ecx + 0x1c]
cmp eax, ebx
je 0x4d7381
mov edx, dword [esp + 0x8c]
push ebp
push eax
push edx
call fcn.004d6e00
add esp, 0xc
cmp eax, ebx
jne 0x4d7330
mov ecx, dword [esp + 0x90]
mov ecx, dword [ecx]
cmp ebp, dword [ecx]
jge 0x4d7330
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x8c]
lea edx, [ebp + ebp*4]
mov eax, dword [eax + edx*4]
call fcn.004d3f50
mov ecx, dword [esp + 0x58]
mov ebp, 0x100
or word [ecx + 2], bp
mov ebp, dword [esp + 0x38]
mov edx, eax
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
add dword [esp + 0x44], 4
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x28]
mov cl, byte [ecx + eax + 0xc]
mov edx, dword [edx + 8]
mov byte [edi + edx], cl
inc edi
add eax, 0x14
cmp edi, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
jl 0x4d72b0
jmp 0x4d7057
xor eax, eax
jmp 0x4d730d
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
mov eax, dword [eax]
mov ecx, dword [edi + 0x3c]
lea edx, [eax + 1]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x38]
cmp edx, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x50], ecx
jg 0x4d73ef
lea edx, [edi + 0x70]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
mov edx, dword [edx]
cmp edx, ecx
jl 0x4d73c9
lea eax, [eax + ecx - 1]
cmp edx, eax
jle 0x4d73eb
mov eax, dword [edi + 0x38]
inc dword [esp + 0x3c]
add dword [esp + 0x44], 0x18
cmp dword [esp + 0x3c], 0xa
jl 0x4d73b4
mov edx, dword [esp + 0x30]
add edx, ecx
sub eax, dword [esp + 0x30]
mov dword [edi + 0x3c], edx
mov dword [edi + 0x38], eax
jmp 0x4d73fe
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x50], ecx
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], eax
jg 0x4d7421
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7445
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esp + 0x2c]
lea edi, [eax + eax*4 + 0x10]
cmp ebp, ebx
je 0x4d749e
cmp byte [ebp + 0x1e], bl
je 0x4d745d
xor ebp, ebp
jmp 0x4d750d
cmp byte [ebp + 0xda], bl
je 0x4d749e
movzx eax, word [ebp + 0xd8]
cmp edi, eax
jg 0x4d749e
mov eax, dword [ebp + 0xe4]
cmp eax, ebx
je 0x4d749e
mov ecx, dword [eax]
inc dword [ebp + 0xdc]
mov dword [ebp + 0xe4], ecx
mov ecx, dword [ebp + 0xdc]
cmp ecx, dword [ebp + 0xe0]
jle 0x4d74fc
mov dword [ebp + 0xe0], ecx
jmp 0x4d74fc
lea edx, [edi - 1]
cmp edx, 0x7ffffefe
ja 0x4d764e
cmp dword [0x5c1c98], ebx
je 0x4d763f
mov eax, dword [0x5c1ec0]
cmp eax, ebx
je 0x4d74cc
push eax
call dword [0x5c1ce0]
add esp, 4
lea ebx, [esp + 0x50]
mov eax, edi
call fcn.004b95a0
mov eax, dword [0x5c1ec0]
test eax, eax
je 0x4d74ea
push eax
call dword [0x5c1ce8]
add esp, 4
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
jne 0x4d74fc
cmp ebp, ebx
je 0x4d74fc
mov byte [ebp + 0x1e], 1
mov ebp, eax
cmp ebp, ebx
je 0x4d750d
push edi
push ebx
push ebp
call fcn.0052b590
add esp, 0xc
mov dword [esp + 0x54], ebp
cmp ebp, ebx
je 0x4d75ba
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
lea ecx, [ebp + eax*4 + 0xc]
mov dword [ebp + 8], ecx
mov word [ebp + 6], ax
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0xc]
mov cl, byte [edx + 0x39]
xor edi, edi
cmp eax, ebx
mov byte [ebp + 4], cl
jle 0x4d75ba
lea edx, [ebp + 0xc]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], edx
lea esp, [esp]
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x1c]
cmp eax, ebx
je 0x4d7655
mov ecx, dword [esp + 0x8c]
push edi
push eax
push ecx
call fcn.004d6e00
add esp, 0xc
cmp eax, ebx
jne 0x4d759b
mov edx, dword [esp + 0x90]
mov ecx, dword [edx]
cmp edi, dword [ecx]
jge 0x4d759b
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x8c]
call fcn.004d3f50
mov ecx, dword [esp + 0x50]
add dword [esp + 0x3c], 0x14
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov byte [edi + edx], bl
inc edi
add ecx, 4
cmp edi, dword [esp + 0x2c]
mov dword [esp + 0x50], ecx
jl 0x4d7550
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x8c]
push str.ORDER
mov dword [edi + 0x1c], ebx
mov dword [eax + 0x24], ebx
mov eax, dword [edi + 0x18]
push edi
push ebp
call fcn.004d3dd0
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [ecx + 0x1c], ebx
jne 0x4d7601
mov eax, ecx
push str.ORDER
push eax
mov eax, dword [eax + 0x18]
push ebp
call fcn.004d3dd0
add esp, 0xc
mov edx, dword [esp + 0x20]
push edx
push edi
mov eax, ebp
call fcn.004c6180
add esp, 8
cmp dword [edi + 0x30], ebx
je 0x4d76e5
cmp dword [esp + 0x14], 0x71
jne 0x4d76e5
mov eax, dword [ebp + 0x48]
inc eax
mov dword [esp + 0x30], eax
inc eax
mov dword [ebp + 0x48], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x34]
cmp eax, ebx
je 0x4d765c
inc eax
jmp 0x4d765f
push edi
call dword [0x5c1cb0]
add esp, 4
jmp 0x4d74f0
xor eax, eax
jmp 0x4d74f4
xor eax, eax
jmp 0x4d7578
mov eax, dword [edi + 0x30]
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x50], eax
jg 0x4d7676
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d76a3
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov byte [eax], 0x14
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d76b6
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d76ed
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x30]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax], 0x14
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
jmp 0x4d76ed
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x90]
mov ebp, dword [edx + 0x28]
mov edi, dword [esp + 0x38]
cmp ebp, ebx
je 0x4d7750
push ebp
push edi
call fcn.004bd120
mov ax, word [ebp + 2]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
add esp, 8
cmp ax, dx
je 0x4d7750
cmp edi, ebx
je 0x4d7747
cmp ebp, dword [edi + 0xe8]
jb 0x4d7747
cmp ebp, dword [edi + 0xec]
jae 0x4d7747
mov eax, dword [edi + 0xe4]
mov dword [ebp], eax
dec dword [edi + 0xdc]
mov dword [edi + 0xe4], ebp
jmp 0x4d7750
push ebp
call fcn.004af060
add esp, 4
mov eax, dword [esp + 0x90]
mov ebp, dword [eax + 0x2c]
mov dword [eax + 0x28], ebx
cmp ebp, ebx
je 0x4d77b2
push ebp
push edi
call fcn.004bd120
mov cx, word [ebp + 2]
mov edx, 0x8000
and cx, dx
mov eax, edx
add esp, 8
cmp cx, ax
je 0x4d77b2
cmp edi, ebx
je 0x4d77a9
cmp ebp, dword [edi + 0xe8]
jb 0x4d77a9
cmp ebp, dword [edi + 0xec]
jae 0x4d77a9
mov ecx, dword [edi + 0xe4]
mov dword [ebp], ecx
dec dword [edi + 0xdc]
mov dword [edi + 0xe4], ebp
jmp 0x4d77b2
push ebp
call fcn.004af060
add esp, 4
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov dword [edx + 0x2c], ebx
mov eax, dword [edi + 0x48]
inc eax
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
inc ecx
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
add edx, 2
mov dword [edi + 0x48], edx
mov dword [esp + 0x48], edx
mov dl, 0xa
mov byte [esp + 0x78], dl
mov dword [esp + 0x7c], eax
mov byte [esp + 0x79], bl
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x68], dl
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x69], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x2c], eax
jg 0x4d7831
mov edi, esi
call fcn.004bc100
test eax, eax
je 0x4d7831
mov dword [esp + 0x58], 1
jmp 0x4d785a
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x58], ebp
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x78]
push edx
push eax
mov dword [eax + 0x30], ecx
mov eax, dword [esp + 0x94]
push eax
call fcn.004f2d00
mov ebp, dword [esi + 0xc]
add esp, 0xc
cmp dword [esi + 0x10], ebp
jg 0x4d7895
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d78c3
mov eax, dword [esi + 0x14]
mov ecx, 1
add dword [esi + 0xc], ecx
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d78d6
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d78ff
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x2c]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov edx, dword [esi + 0xc]
mov ebp, dword [esp + 0x90]
mov eax, dword [ebp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x90]
push ebp
push eax
mov dword [ebp + 0x30], ecx
mov dword [ebp + 0x34], ebx
call fcn.004f2d00
mov ecx, dword [esp + 0x5c]
mov dword [ebp + 0x30], edi
mov dword [ebp + 0x34], ecx
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp dword [esi + 0x10], eax
mov dword [esp + 0x50], eax
jg 0x4d795c
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7989
mov eax, dword [esp + 0x50]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x14]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [esi + 0xc], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov dword [esp + 0x50], eax
jg 0x4d79a4
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d79cd
mov eax, dword [esp + 0x50]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x14]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x90]
push 0xfffffffffffffff0
push edi
inc eax
push eax
push edx
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x5c]
push ebp
push ecx
call fcn.004c62c0
add esp, 0x20
cmp dword [esp + 0x14], 0x71
mov dword [esp + 0x54], eax
je 0x4d7a18
mov eax, dword [esp + 0x14]
cmp eax, 0x70
jne 0x4d7a4f
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x94]
push edx
push 0xffffffffffffffef
push edi
push eax
mov eax, dword [esp + 0x9c]
push ecx
lea edx, [esp + 0x7c]
push edx
push ebp
push eax
mov eax, dword [esp + 0x64]
call fcn.004c62c0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp eax, 0x72
je 0x4d7b72
cmp eax, 0x73
je 0x4d7b72
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7a7e
mov edi, esi
call fcn.004bc100
test eax, eax
je 0x4d7a7e
mov dword [esp + 0x3c], 1
jmp 0x4d7aaf
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
jg 0x4d7aca
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7af7
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7b0a
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7b34
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
inc ecx
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7b47
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7bb9
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x3c]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
jmp 0x4d7bb9
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7b8c
mov edi, esi
call fcn.004bc100
test eax, eax
je 0x4d7b8c
mov ebp, 1
jmp 0x4d7bb5
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x30], ebp
cmp dword [esp + 0x14], 0x73
jne 0x4d7bcd
mov edx, dword [esp + 0x30]
mov dword [esp + 0x50], edx
jmp 0x4d7cdc
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7bea
mov edi, esi
call fcn.004bc100
test eax, eax
je 0x4d7bea
mov dword [esp + 0x3c], 1
jmp 0x4d7c1b
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x10]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
jg 0x4d7c36
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7c64
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x54]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
inc ecx
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7c77
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7ca0
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7cb3
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7cdc
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7cf9
mov edi, esi
call fcn.004bc100
test eax, eax
je 0x4d7cf9
mov dword [esp + 0x3c], 1
jmp 0x4d7d2b
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x54]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
inc ecx
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
jg 0x4d7d46
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7d6f
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7d82
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7daf
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7dc2
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7deb
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esp + 0x14]
cmp eax, 0x71
jne 0x4d7e01
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
jmp 0x4d7edb
cmp eax, 0x73
jne 0x4d7e18
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
inc eax
mov dword [esp + 0x54], eax
jmp 0x4d7edb
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7e32
mov edi, esi
call fcn.004bc100
test eax, eax
je 0x4d7e32
mov ebp, 1
jmp 0x4d7e5b
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7e72
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7e9f
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7eb2
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7edb
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esp + 0x14]
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x64], ebp
cmp eax, 0x71
je 0x4d7ef0
cmp eax, 0x70
jne 0x4d7f2d
cmp dword [esi + 0x10], ebp
jg 0x4d7f00
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7f2d
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x48]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7f40
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7f6a
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7f7d
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7faa
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d7fbd
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d7fe6
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jle 0x4d7ffb
mov edx, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d800e
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d8037
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x10]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d804a
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d8073
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d8086
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d80b3
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d80c6
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d80f4
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d8107
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d8134
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d8147
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d8174
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x50]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4d818d
mov edx, dword [esp + 0x40]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0xc]
sub eax, ecx
mov dword [eax], edx
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d81a7
mov edi, esi
call fcn.004bc100
test eax, eax
je 0x4d81a7
mov eax, 1
jmp 0x4d81ce
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x85
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, ebp
mov ecx, dword [esi + 0x14]
mov edi, dword [esi]
cmp ecx, ebx
je 0x4d8220
cmp byte [edi + 0x1e], bl
jne 0x4d8220
cmp eax, ebx
jge 0x4d81e4
mov eax, dword [esi + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea ebp, [ecx + edx*4]
mov ecx, dword [ebp + 0x10]
call fcn.004bc5c0
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x10], ebx
cmp eax, ebx
jne 0x4d820a
mov dword [ebp + 0x10], ebx
mov byte [ebp + 1], bl
jmp 0x4d822e
mov dword [ebp + 0x10], eax
mov byte [ebp + 1], 0xf1
jmp 0x4d822e
mov ecx, dword [esp + 0x34]
mov eax, 0xfffffff1
call fcn.004bc5c0
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
jg 0x4d825b
mov edi, esi
call fcn.004bc100
test eax, eax
je 0x4d825b
mov ebp, 1
jmp 0x4d828c
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x60]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0x5f
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ecx, dword [esi + 0x14]
mov edi, dword [esi]
mov eax, ebp
cmp ecx, ebx
je 0x4d82e0
cmp byte [edi + 0x1e], bl
jne 0x4d82e0
cmp ebp, ebx
jge 0x4d82a4
mov eax, dword [esi + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea ebp, [ecx + edx*4]
mov ecx, dword [ebp + 0x10]
call fcn.004bc5c0
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x10], ebx
cmp eax, ebx
jne 0x4d82ca
mov dword [ebp + 0x10], ebx
mov byte [ebp + 1], bl
jmp 0x4d82ee
mov dword [ebp + 0x10], eax
mov byte [ebp + 1], 0xfa
jmp 0x4d82ee
mov ecx, dword [esp + 0x28]
mov eax, 0xfffffff0
call fcn.004bc5c0
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4d8301
mov edi, esi
call fcn.004bc100
test eax, eax
jne 0x4d8332
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x54]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov byte [eax], 0x84
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x8c]
cmp ecx, ebx
je 0x4d8351
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [edx + 0x38]
jle 0x4d8351
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], ecx
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4d836a
mov ecx, dword [esp + 0x20]
lea ecx, [ecx*4 + 4]
sub eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
mov eax, dword [esp + 0x94]
cmp byte [eax], 5
jne 0x4d8397
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x1c]
cmp eax, ebx
je 0x4d838a
mov ecx, eax
mov eax, dword [ecx + 0x1c]
cmp eax, ebx
jne 0x4d8381
mov ecx, dword [ecx]
push ecx
push ebx
push edx
call fcn.004cd860
add esp, 0xc
mov ebp, dword [esp + 0x90]
mov esi, dword [ebp + 0x1c]
cmp esi, ebx
je 0x4d83f4
mov edi, dword [esp + 0x38]
mov eax, esi
mov ecx, edi
call fcn.004b68a0
cmp edi, ebx
je 0x4d83eb
cmp esi, dword [edi + 0xe8]
jb 0x4d83eb
cmp esi, dword [edi + 0xec]
jae 0x4d83eb
mov edx, dword [edi + 0xe4]
mov eax, dword [esp + 0x24]
mov dword [esi], edx
dec dword [edi + 0xdc]
mov dword [edi + 0xe4], esi
pop edi
pop esi
mov dword [ebp + 0x1c], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret
push esi
call fcn.004af060
add esp, 4
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov dword [ebp + 0x1c], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret