Function at 0x4bd6e0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
xor esi, esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], eax
cmp dword [ebx + 0x40], esi
jne 0x4beee3
cmp byte [eax + 0x1e], 0
jne 0x4beee3
mov eax, dword [ebp + 0xc]
push ebx
call fcn.004a6f60
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, esi
je 0x4beee3
mov esi, dword [edi + 0x44]
mov ecx, dword [ebx]
call fcn.004b3cf0
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x64]
push eax
push ecx
push 0x6b
push ebx
mov eax, edi
call fcn.004bcd60
xor edx, edx
cmp dword [edi + 0x1c], edx
push edi
setne dl
push ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x80], edx
call fcn.004a3df0
add esp, 0x18
test eax, eax
jne 0x4beee3
mov eax, dword [esp + 0x64]
push eax
mov ecx, edi
mov eax, ebx
call fcn.004a6fc0
add esp, 4
test eax, eax
jne 0x4beee3
mov ecx, dword [edi + 8]
mov esi, dword [esp + 0x4c]
add ecx, ecx
add ecx, ecx
call fcn.00474f60
mov dword [esp + 0x38], eax
test eax, eax
je 0x4beee3
xor esi, esi
xor eax, eax
cmp dword [edi + 8], esi
jle 0x4bd7e2
mov ecx, dword [esp + 0x38]
mov dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [edi + 8]
jl 0x4bd7d1
mov eax, dword [ebx + 0x44]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
inc dword [ebx + 0x44]
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x4bd80b
lea esp, [esp]
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x20]
cmp eax, esi
jne 0x4bd800
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x78], edx
mov edx, dword [ebp + 0x10]
cmp dword [edx], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], esi
jle 0x4bda1e
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + ecx]
lea esi, [esp + 0x74]
call fcn.004992f0
test eax, eax
jne 0x4beee3
xor ebx, ebx
cmp dword [edi + 8], ebx
mov dword [esp + 0x30], ebx
jle 0x4bd92a
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
mov esi, dword [edi + 0xc]
lea eax, [edx + ecx]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov ecx, dword [esi]
mov al, byte [ecx]
mov edx, dword [esp + 0x14]
test al, al
je 0x4bd8e1
lea esp, [esp]
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x534f68]
cmp al, byte [ebx + 0x534f68]
jne 0x4bd8dd
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x4bd8c0
mov ebx, dword [esp + 0x30]
movzx edx, byte [edx]
movzx ecx, byte [ecx]
movzx eax, byte [edx + 0x534f68]
movzx edx, byte [ecx + 0x534f68]
sub edx, eax
je 0x4bd908
inc ebx
add esi, 0x18
cmp ebx, dword [edi + 8]
mov dword [esp + 0x30], ebx
jl 0x4bd8b0
jmp 0x4bd92a
cmp ebx, dword [edi + 4]
jne 0x4bd91f
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x44], 1
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov dword [edx + ebx*4], eax
cmp ebx, dword [edi + 8]
jl 0x4bd9c0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + edx + 4]
mov cl, byte [esi]
lea edi, [eax + edx]
mov eax, esi
mov edx, str._ROWID_
test cl, cl
je 0x4bd972
movzx ebx, byte [edx]
movzx ecx, cl
mov cl, byte [ecx + 0x534f68]
cmp cl, byte [ebx + 0x534f68]
jne 0x4bd96e
mov cl, byte [eax + 1]
inc eax
inc edx
test cl, cl
jne 0x4bd951
mov ebx, dword [esp + 0x30]
movzx edx, byte [edx]
movzx ecx, byte [edx + 0x534f68]
movzx edx, byte [eax]
movzx eax, byte [edx + 0x534f68]
sub eax, ecx
je 0x4bd9ae
mov edx, str.ROWID
mov ecx, esi
call fcn.00476e80
test eax, eax
je 0x4bd9ae
mov edx, 0x540bdc
mov ecx, esi
call fcn.00476e80
test eax, eax
jne 0x4bda45
mov ecx, dword [edi]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x44], 1
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x34]
shl edx, 4
mov edx, dword [edx + ecx]
mov ecx, dword [edi + 0xc]
push edx
lea eax, [ebx + ebx*2]
mov edx, dword [ecx + eax*8]
mov eax, dword [edi]
push edx
push eax
mov eax, dword [ebp + 8]
push 0x17
call fcn.004a1790
add esp, 0x10
cmp eax, 1
je 0x4beee3
cmp eax, 2
jne 0x4bda05
mov ecx, dword [esp + 0x38]
mov dword [ecx + ebx*4], 0xffffffff
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0x10]
add dword [esp + 0x18], 0x14
inc eax
cmp eax, dword [edx]
mov dword [esp + 0x1c], eax
jl 0x4bd862
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test dword [eax + 0xc], 0x4000000
je 0x4bda72
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
push ecx
push edx
push edi
call fcn.004abb50
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x4bda7a
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0xc]
mov edi, dword [ebp + 8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
push eax
push str.no_such_column:__s
call fcn.00476d80
mov ecx, edi
add esp, 8
mov byte [ecx + 0x12], 1
jmp 0x4beee3
mov dword [esp + 0x30], 0
mov eax, dword [edi + 0x10]
xor ecx, ecx
test eax, eax
je 0x4bdaa8
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x4bda83
test ecx, ecx
jle 0x4bdaa8
mov esi, dword [esp + 0x4c]
add ecx, ecx
add ecx, ecx
call fcn.00474f60
mov dword [esp + 0x48], eax
test eax, eax
je 0x4beee3
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4bdb19
mov eax, dword [esp + 0x48]
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov edi, edi
cmp dword [esp + 0x44], 0
je 0x4bdacf
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
jmp 0x4bdb05
mov edx, dword [esi + 4]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x14], ecx
test edx, edx
jle 0x4bdb05
mov ecx, dword [esi + 8]
mov edi, dword [ecx]
cmp dword [ebx + edi*4], 0
jge 0x4bdafa
inc eax
add ecx, 4
cmp eax, edx
jl 0x4bdae1
mov ecx, dword [esp + 0x14]
mov edi, dword [ebp + 8]
jmp 0x4bdb05
mov eax, dword [ebp + 8]
inc dword [eax + 0x48]
mov ecx, dword [eax + 0x48]
mov edi, eax
mov eax, dword [esp + 0x3c]
mov dword [eax], ecx
mov esi, dword [esi + 0x20]
add eax, 4
mov dword [esp + 0x3c], eax
test esi, esi
jne 0x4bdac0
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0xc]
mov dword [esp + 0xc], edi
test edi, edi
jne 0x4bdc6b
mov edx, ecx
mov esi, dword [edx]
test esi, esi
je 0x4bdb82
cmp byte [esi + 0x1e], 0
jne 0x4bdcf5
cmp byte [esi + 0xea], 0
je 0x4bdb82
mov eax, 0xf0
cmp ax, word [esi + 0xe8]
ja 0x4bdb82
mov edi, dword [esi + 0xf4]
test edi, edi
je 0x4bdb82
mov ecx, dword [edi]
inc dword [esi + 0xec]
mov eax, dword [esi + 0xec]
cmp eax, dword [esi + 0xf0]
mov dword [esi + 0xf4], ecx
jle 0x4bdbd5
mov dword [esi + 0xf0], eax
jmp 0x4bdbd5
cmp dword [0x55d910], 0
je 0x4bdce2
mov eax, dword [0x5614e8]
test eax, eax
je 0x4bdba2
push eax
call dword [0x55d958]
add esp, 4
lea ebx, [esp + 0x3c]
mov eax, 0xf0
call fcn.004748e0
mov eax, dword [0x5614e8]
test eax, eax
je 0x4bdbc3
push eax
call dword [0x55d960]
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4bdbd3
test esi, esi
je 0x4bdbd3
mov byte [esi + 0x1e], 1
mov edi, eax
test edi, edi
je 0x4bdcf5
push 0xf0
push 0
push edi
call fcn.004f4810
mov dword [edi], esi
mov eax, dword [esi + 0x88]
add esp, 0xc
test eax, eax
je 0x4bdbfc
mov dword [eax + 4], edi
mov edx, dword [esi + 0x88]
mov dword [edi + 8], edx
mov dword [edi + 4], 0
mov dword [esi + 0x88], edi
mov dword [edi + 0x44], 0x26bceaa5
mov esi, edi
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], esi
mov dword [esp + 0xc], esi
test esi, esi
je 0x4beee3
mov ebx, dword [esi + 0xc]
cmp dword [esi + 0x10], ebx
jg 0x4bdc40
mov edi, esi
call fcn.0048d6b0
test eax, eax
jne 0x4bdc67
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0x88
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [esi + 0x62], cl
mov edi, dword [esp + 0xc]
mov esi, dword [ebp + 8]
cmp byte [esi + 0x13], 0
jne 0x4bdc78
mov byte [edi + 0x61], 1
mov ebx, dword [esi + 0x1a8]
test ebx, ebx
jne 0x4bdc84
mov ebx, esi
mov eax, dword [esp + 0x34]
push eax
mov eax, esi
call fcn.004a60a0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
or byte [ebx + 0x158], 1
mov edx, 1
shl edx, cl
add esp, 4
or dword [ebx + 0x150], edx
test byte [eax + 0x22], 0x10
je 0x4bdcfc
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [ebp + 0x10]
push ecx
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.004bef40
add esp, 0x1c
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], eax
jmp 0x4beee3
push 0xf0
call dword [0x55d928]
add esp, 4
jmp 0x4bdbc7
xor esi, esi
jmp 0x4bdc1b
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], ecx
test edx, edx
jne 0x4bdd18
cmp dword [esp + 0x30], edx
je 0x4bdd27
lea ebx, [ecx + 1]
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 8]
add ebx, ecx
mov dword [esi + 0x48], ebx
cmp dword [esp + 0x44], 0
jne 0x4bdd38
test edx, edx
jne 0x4bdd38
cmp dword [esp + 0x30], edx
je 0x4bdd42
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x40], ecx
cmp dword [esp + 0x68], 0
mov ecx, dword [esi + 0x48]
lea edx, [ecx + 1]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 8]
lea ecx, [ecx + edx + 1]
mov dword [esi + 0x48], ecx
je 0x4bdd89
mov edx, dword [esi + 0x208]
mov ecx, dword [eax]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x20]
push edx
mov dword [esi + 0x208], ecx
mov ecx, dword [ebp + 0x14]
push ecx
push eax
push esi
mov dword [esp + 0x80], esi
call fcn.004a7050
add esp, 0x10
mov ebx, dword [ebp + 0x14]
lea esi, [esp + 0x74]
call fcn.004992f0
test eax, eax
jne 0x4beee3
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4bddb2
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4bddde
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0xa
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 [edi + 0x62], bl
jmp 0x4bdde0
xor ebx, ebx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 4
push ebx
push edx
push eax
push ecx
call fcn.004c58d0
add esp, 0x14
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x4beee3
movzx esi, byte [eax + 6]
mov ebx, dword [edi + 0xc]
cmp dword [edi + 0x10], ebx
mov dword [esp + 0x14], esi
jg 0x4bde20
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4bde50
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
mov byte [eax], 0x3d
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 [edi + 0x62], bl
jmp 0x4bde52
xor ebx, ebx
cmp esi, ebx
jne 0x4bdea7
mov eax, dword [ebp + 8]
inc dword [eax + 0x48]
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov eax, dword [eax + 0x48]
mov dword [esp + 0x54], eax
jg 0x4bde78
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4bdea7
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov byte [eax], 0x69
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov eax, dword [esp + 0x24]
push eax
call fcn.004c6330
mov ecx, dword [esp + 0x50]
add esp, 4
test dword [ecx + 0xc], 0x1000
je 0x4bdf18
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1ac], ebx
jne 0x4bdf18
mov eax, edx
inc dword [eax + 0x48]
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov eax, dword [eax + 0x48]
mov dword [esp + 0x60], eax
jg 0x4bdeed
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4bdf18
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x60]
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
cmp dword [esp + 0x68], ebx
jne 0x4be094
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x14], ebx
jne 0x4bdf45
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
push 0x27
push edx
push eax
mov eax, esi
call fcn.004ac500
add esp, 0xc
mov ecx, 5
cmp dword [ebp + 0x18], ecx
je 0x4bdf6e
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], ebx
cmp eax, ebx
je 0x4bdf76
lea ebx, [ebx]
cmp byte [eax + 0x18], cl
je 0x4bdf6e
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x4bdf60
jmp 0x4bdf76
mov dword [esp + 0x50], 1
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x4be094
lea esp, [esp]
cmp dword [esp + 0x50], 0
jne 0x4bdfa9
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
cmp dword [ecx + edx*4], 0
jle 0x4be07b
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.004a65a0
mov ebx, dword [esi + 0x14]
mov esi, dword [edi + 0xc]
add esp, 8
cmp dword [edi + 0x10], esi
mov dword [esp + 0x24], eax
jg 0x4bdfdd
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
je 0x4bdfdd
mov esi, 1
jmp 0x4be018
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x34]
mov byte [eax], 0x27
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov ecx, dword [edi + 0x14]
mov edx, dword [edi]
xor ebx, ebx
mov eax, esi
cmp ecx, ebx
je 0x4be067
cmp byte [edx + 0x1e], bl
jne 0x4be067
cmp esi, ebx
jge 0x4be032
mov eax, dword [edi + 0xc]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
mov edi, edx
call fcn.0048db80
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x4be05e
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
jmp 0x4be07b
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x4be07b
mov ecx, dword [esp + 0x24]
mov eax, 0xfffffff0
mov edi, edx
call fcn.0048db80
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x20]
inc dword [esp + 0x1c]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4bdf90
xor ebx, ebx
mov esi, dword [edi + 0xc]
cmp dword [esp + 0x14], ebx
je 0x4be14a
cmp dword [edi + 0x10], esi
jg 0x4be0bd
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
je 0x4be0bd
mov dword [esp + 0x14], 1
jmp 0x4be0ec
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x4a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov dword [esp + 0x14], esi
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4be108
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
je 0x4be108
mov esi, 1
jmp 0x4be12f
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
mov dword [esp + 0x18], esi
jle 0x4be199
mov edx, dword [edi + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x4be199
cmp dword [edi + 0x10], esi
jg 0x4be166
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
je 0x4be166
mov dword [esp + 0x18], 1
jmp 0x4be199
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x6a
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov dword [esp + 0x18], esi
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4be1ae
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4be1e1
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x34
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
cmp dword [esp + 0x44], ebx
je 0x4be2f1
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x4be259
cmp byte [eax], 0x84
jne 0x4be259
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
jg 0x4be228
mov edi, esi
call fcn.0048d6b0
test eax, eax
jne 0x4be2ad
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov byte [eax], 0xe
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [esi + 0x62], 0
jmp 0x4be2b1
mov esi, dword [esp + 0x40]
push esi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0049c420
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, esi
je 0x4be2b1
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0xc]
cmp esi, ebx
je 0x4be2b1
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov dword [esp + 0x14], eax
jg 0x4be29c
mov edi, esi
call fcn.0048d6b0
test eax, eax
jne 0x4be2ad
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
inc dword [esi + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x14]
lea eax, [eax + edx*4]
mov byte [eax], 0xf
jmp 0x4be237
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4be2c6
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4be2f1
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x15
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
cmp dword [esp + 0x30], ebx
jne 0x4be3ae
cmp dword [esp + 0x28], ebx
je 0x4be50c
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push 3
push 0
push edx
push eax
mov eax, dword [esp + 0x3c]
call fcn.004bd570
or dword [esp + 0x48], eax
xor esi, esi
add esp, 0x14
cmp dword [ebx + 8], esi
mov dword [esp + 0x1c], esi
jle 0x4be4c2
lea esp, [esp]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
xor edx, edx
cmp dword [ecx + esi*4], edx
jl 0x4be3c8
cmp eax, 0xffffffff
je 0x4be3c8
mov ebx, 1
mov ecx, esi
shl ebx, cl
test eax, ebx
jne 0x4be3c8
mov ebx, dword [edi + 0xc]
cmp dword [edi + 0x10], ebx
jg 0x4be37c
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4be4b0
xor edx, edx
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x58]
add ecx, esi
mov byte [eax], 0xa
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
jmp 0x4be4b0
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.004aba90
add esp, 8
mov dword [esp + 0x34], eax
jmp 0x4be30d
cmp esi, edx
jl 0x4be440
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 4]
je 0x4be440
mov dl, byte [eax + 0x22]
mov eax, dword [edi + 0xc]
and dl, 0x10
movzx ebx, dl
neg ebx
sbb ebx, ebx
and ebx, 0x65
add ebx, 0x1c
cmp dword [edi + 0x10], eax
mov dword [esp + 0x14], eax
jg 0x4be409
call fcn.0048d6b0
test eax, eax
jne 0x4be489
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
lea edx, [esi + ecx]
mov byte [eax], bl
mov byte [eax + 3], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
jmp 0x4be48d
mov ebx, dword [edi + 0xc]
cmp dword [edi + 0x10], ebx
jg 0x4be455
call fcn.0048d6b0
test eax, eax
jne 0x4be489
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x20]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
lea edx, [esi + ecx]
xor ecx, ecx
mov byte [eax], 0x3d
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x62], cl
jmp 0x4be48d
mov edi, dword [esp + 0xc]
test esi, esi
jl 0x4be4b0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x10]
push edx
push ecx
mov esi, edi
call fcn.004bd5f0
mov esi, dword [esp + 0x24]
add esp, 8
mov edx, dword [esp + 0x10]
inc esi
cmp esi, dword [edx + 8]
mov dword [esp + 0x1c], esi
jl 0x4be340
cmp dword [esp + 0x44], 0
jne 0x4be50c
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4be4de
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4be50c
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x2c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov byte [eax], 0xe
mov byte [eax + 3], cl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x62], cl
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x2c]
push 1
push 1
push ecx
push edx
call fcn.004bd570
add esp, 0x14
cmp dword [ebx + 8], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], 0
jle 0x4be716
mov ebx, dword [esp + 0x3c]
jmp 0x4be550
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp ecx, dword [eax + 4]
jne 0x4be5a2
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4be576
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4be6ff
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0xa
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x62], cl
jmp 0x4be6ff
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ecx*4]
test eax, eax
jl 0x4be67f
mov edx, dword [ebp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4be607
cmp byte [eax], 0x84
jne 0x4be607
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0xc]
mov ecx, dword [eax + 0x18]
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
jg 0x4be5f2
mov edi, esi
call fcn.0048d6b0
test eax, eax
jne 0x4be6fb
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xe
jmp 0x4be65e
mov esi, dword [ebp + 8]
push ebx
push eax
push esi
call fcn.0049c420
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x4be6ff
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4be6ff
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov dword [esp + 0x14], eax
jg 0x4be64b
mov edi, esi
call fcn.0048d6b0
test eax, eax
jne 0x4be6fb
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xf
mov edx, dword [esp + 0x24]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [esi + 0x62], cl
jmp 0x4be6ff
test dword [esp + 0x64], 1
je 0x4be69d
cmp ecx, 0x1f
jg 0x4be69d
mov edx, dword [esp + 0x54]
mov eax, 1
shl eax, cl
test edx, eax
je 0x4be6ff
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4be6b6
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4be6e5
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x20]
mov byte [eax], 0x1c
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov eax, dword [esp + 0x10]
push ebx
push eax
mov eax, dword [esp + 0x24]
mov esi, edi
call fcn.004bd5f0
add esp, 8
jmp 0x4be6ff
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
inc ebx
cmp eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
jl 0x4be550
test byte [esp + 0x64], 1
je 0x4be86d
mov ebx, dword [edi + 0xc]
cmp dword [edi + 0x10], ebx
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 8]
jg 0x4be73d
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4be768
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x3c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x1d
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x62], cl
mov ebx, dword [esp + 0x10]
push edi
mov eax, ebx
call fcn.004ac630
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x10]
add esp, 4
push esi
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [ebp + 8]
push ebx
push 1
push edx
push 0x6b
push eax
push ecx
call fcn.004bd500
mov ebx, dword [edi + 0xc]
add esp, 0x24
cmp dword [edi + 0x10], ebx
jg 0x4be7b4
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4be7e7
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
mov byte [eax], 0x34
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp dword [eax + 8], ebx
jle 0x4be86d
mov ecx, dword [esp + 0x38]
cmp dword [ecx + ebx*4], 0
jge 0x4be867
cmp ebx, dword [eax + 4]
je 0x4be867
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4be816
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4be84b
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
add edx, ebx
mov byte [eax], 0x1c
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
add eax, ebx
push eax
push ecx
mov eax, ebx
mov esi, edi
call fcn.004bd5f0
mov eax, dword [esp + 0x18]
add esp, 8
inc ebx
cmp ebx, dword [eax + 8]
jl 0x4be7f2
cmp dword [esp + 0x68], 0
jne 0x4be9ff
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10]
push 0
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x4c]
neg ecx
push 1
sbb ecx, ecx
and ecx, esi
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push ebx
push edx
call fcn.004ae770
add esp, 0x28
cmp dword [esp + 0x30], 0
je 0x4be8cb
mov eax, dword [ebp + 8]
push 0
push esi
push ebx
push eax
call fcn.004ab6c0
add esp, 0x10
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4be8ec
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
je 0x4be8ec
mov dword [esp + 0x14], 1
xor ebx, ebx
jmp 0x4be91f
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
mov byte [eax], 0x34
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
call fcn.004a7aa0
add esp, 0xc
cmp dword [esp + 0x30], ebx
jne 0x4be945
cmp dword [esp + 0x44], ebx
je 0x4be985
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4be95a
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4be985
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x39
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jle 0x4be99a
mov edx, dword [edi + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x4be9b9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
push eax
push ebx
push ecx
push edx
call fcn.004ab6c0
add esp, 0x10
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
push ebx
push ebx
push 1
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.004af2d0
add esp, 0x20
cmp esi, ebx
je 0x4bea01
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x10]
mov edi, dword [ebp + 8]
push edx
push eax
call fcn.004ac370
mov edi, dword [esp + 0x14]
add esp, 8
jmp 0x4bea01
xor ebx, ebx
mov ecx, dword [esp + 0x4c]
test dword [ecx + 0xc], 0x1000
je 0x4bea5e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1ac], ebx
jne 0x4bea5e
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4bea2e
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4bea5e
mov edx, dword [edi + 0x14]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x60]
mov ecx, 1
add dword [edi + 0xc], ecx
mov byte [eax], 0x14
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push 2
push ecx
push 0x6b
push edx
push eax
call fcn.004bd500
mov esi, dword [edi + 0xc]
add esp, 0x24
cmp dword [edi + 0x10], esi
jg 0x4bea9f
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4beacc
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov byte [eax], 1
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
jmp 0x4bead0
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0xc]
cmp eax, ecx
jle 0x4beae1
mov edx, dword [edi + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
xor ebx, ebx
mov dword [esp + 0x18], eax
test eax, eax
je 0x4beb57
cmp dword [esp + 0x50], 0
jne 0x4beb03
mov ecx, dword [esp + 0x48]
cmp dword [ecx + ebx*4], 0
jle 0x4beb47
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4beb18
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4beb47
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
lea edx, [ecx + ebx + 1]
xor ecx, ecx
mov byte [eax], 0x2b
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x62], cl
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
inc ebx
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4beaf2
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4beb6c
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4beb99
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x2b
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x62], cl
jmp 0x4beb9b
xor ecx, ecx
mov esi, dword [ebp + 8]
cmp byte [esi + 0x13], 0
jne 0x4bebb5
cmp dword [esi + 0x1ac], ecx
jne 0x4bebb5
push esi
call fcn.004acbf0
add esp, 4
mov edx, dword [esp + 0x4c]
test dword [edx + 0xc], 0x1000
je 0x4beee3
cmp dword [esi + 0x1ac], 0
jne 0x4beee3
cmp byte [esi + 0x13], 0
jne 0x4beee3
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4bebf2
call fcn.0048d6b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4bec22
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x60]
xor ebx, ebx
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
jmp 0x4bec24
xor ebx, ebx
push 1
call fcn.0048ea30
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
add esp, 4
cmp byte [ecx + 0x1e], bl
jne 0x4beee3
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x4bec4e
mov eax, dword [eax + 0x48]
jmp 0x4bec53
mov eax, 0x3b9aca00
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x28], edi
jl 0x4bec72
lea ecx, [ecx]
cmp byte [edi + str.rows_updated], 0
je 0x4bec6e
inc edi
cmp edi, eax
jle 0x4bec60
mov dword [esp + 0x28], edi
movzx ecx, word [esi + 0x1c]
xor edx, edx
mov dword [esp + 0x14], 0x202
cmp edx, fcn.00474d20
jne 0x4bedb3
test ecx, 0x2460
je 0x4bed88
test ecx, 0x2000
je 0x4becb7
mov eax, dword [esi]
mov ecx, esi
call fcn.0048c560
push esi
call fcn.0048c640
add esp, 4
jmp 0x4bed88
test ecx, 0x400
je 0x4becd7
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4becd7
mov ecx, dword [esi + 0x14]
push ecx
call eax
add esp, 4
mov dword [esi + 0x20], ebx
jmp 0x4bed88
test cl, 0x20
je 0x4bed16
mov edi, dword [esi]
mov eax, dword [edi]
cmp eax, ebx
je 0x4becf9
mov edx, dword [edi + 4]
mov ebx, dword [eax]
push eax
push edx
call fcn.00474d20
add esp, 8
mov eax, ebx
test ebx, ebx
jne 0x4bece4
xor eax, eax
xor ecx, ecx
mov dword [edi], eax
mov word [edi + 0x18], cx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], eax
mov byte [edi + 0x1a], 1
mov edi, dword [esp + 0x28]
jmp 0x4bed88
test cl, 0x40
je 0x4bed88
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe0]
mov dword [eax + 0x3c], edx
mov dword [ecx + 0xe0], eax
test byte [esi + 0x1c], 0x20
je 0x4bed70
mov edi, dword [esi]
mov eax, dword [edi]
cmp eax, ebx
je 0x4bed55
lea esp, [esp]
mov ebx, dword [eax]
push eax
mov eax, dword [edi + 4]
push eax
call fcn.00474d20
add esp, 8
mov eax, ebx
test ebx, ebx
jne 0x4bed40
xor eax, eax
xor ecx, ecx
mov dword [edi], eax
mov word [edi + 0x18], cx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], eax
mov byte [edi + 0x1a], 1
mov edi, dword [esp + 0x28]
mov dx, word [esi + 0x1c]
mov eax, 0xbf01
and dx, ax
or dx, 1
mov word [esi + 0x1c], dx
mov byte [esi + 0x1e], 5
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x10]
push ecx
push edx
call fcn.00474d20
mov eax, str.rows_updated
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [esi + 0x20], 0
jmp 0x4beed4
test ecx, 0x2460
je 0x4beeb0
test ecx, 0x2000
je 0x4bedde
mov eax, dword [esi]
mov ecx, esi
call fcn.0048c560
push esi
call fcn.0048c640
add esp, 4
jmp 0x4beeb0
test ecx, 0x400
je 0x4bedfe
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4bedfe
mov ecx, dword [esi + 0x14]
push ecx
call eax
add esp, 4
mov dword [esi + 0x20], ebx
jmp 0x4beeb0
test cl, 0x20
je 0x4bee42
mov edi, dword [esi]
mov eax, dword [edi]
cmp eax, ebx
je 0x4bee25
jmp 0x4bee10
mov edx, dword [edi + 4]
mov ebx, dword [eax]
push eax
push edx
call fcn.00474d20
add esp, 8
mov eax, ebx
test ebx, ebx
jne 0x4bee10
xor eax, eax
xor ecx, ecx
mov dword [edi], eax
mov word [edi + 0x18], cx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], eax
mov byte [edi + 0x1a], 1
mov edi, dword [esp + 0x28]
jmp 0x4beeb0
test cl, 0x40
je 0x4beeb0
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe0]
mov dword [eax + 0x3c], edx
mov dword [ecx + 0xe0], eax
test byte [esi + 0x1c], 0x20
je 0x4bee98
mov edi, dword [esi]
mov eax, dword [edi]
cmp eax, ebx
je 0x4bee7d
mov ebx, dword [eax]
push eax
mov eax, dword [edi + 4]
push eax
call fcn.00474d20
add esp, 8
mov eax, ebx
test ebx, ebx
jne 0x4bee68
xor eax, eax
xor ecx, ecx
mov dword [edi], eax
mov word [edi + 0x18], cx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], eax
mov byte [edi + 0x1a], 1
mov edi, dword [esp + 0x28]
mov dx, word [esi + 0x1c]
mov eax, 0xbf01
and dx, ax
or dx, 1
mov word [esi + 0x1c], dx
mov byte [esi + 0x1e], 5
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x10]
push ecx
push edx
call fcn.00474d20
add esp, 8
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x14], str.rows_updated
mov eax, 0xa02
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], ax
mov byte [esi + 0x1f], 1
mov byte [esi + 0x1e], 3
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4beef5
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x208], ecx
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
push edx
push esi
call fcn.00474d20
mov eax, dword [esp + 0x40]
push eax
push esi
call fcn.00474d20
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004a5aa0
mov edx, dword [ebp + 0x10]
add esp, 0x14
push edx
mov edi, esi
call fcn.0049a950
mov eax, dword [ebp + 0x14]
add esp, 4
push eax
push esi
call fcn.00499e60
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret