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

Disassembly:
sub esp, 0xb8
push ebx
mov ebx, dword [esp + 0xc0]
xor edx, edx
push ebp
xor ecx, ecx
mov dword [esp + 0x64], 0
push esi
push edi
mov edi, dword [ebx]
mov dword [esp + 0x14], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x24], edi
cmp dword [ebx + 0x40], ecx
jne 0x4a2403
cmp byte [edi + 0x41], cl
jne 0x4a2403
mov ebp, dword [esp + 0xd0]
push ebp
push ebx
call fcn.0049eda0
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
je 0x4a23e4
push dword [edi + 0x40]
push dword [ebx]
call fcn.0049b750
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x90]
push eax
push ecx
push 0x6e
push edi
push ebx
call fcn.0049ff90
mov dword [esp + 0x68], eax
xor eax, eax
cmp dword [edi + 0xc], eax
push edi
setne al
push ebx
mov dword [esp + 0x8c], eax
call fcn.004adc50
add esp, 0x24
test eax, eax
jne 0x4a23e4
push dword [esp + 0x88]
push edi
push ebx
call fcn.00490a50
add esp, 0xc
test eax, eax
jne 0x4a23e4
mov eax, dword [ebx + 0x44]
mov dword [ebp + 0x38], eax
inc dword [ebx + 0x44]
mov edx, dword [ebx + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
inc eax
test byte [edi + 0x2a], 0x20
mov dword [esp + 0x58], eax
jne 0x4a0670
xor ebp, ebp
mov dword [esp + 0x28], ebp
jmp 0x4a067f
push edi
call fcn.004991c0
add esp, 4
mov dword [esp + 0x28], eax
mov ebp, eax
mov ecx, dword [edi + 8]
xor esi, esi
test ecx, ecx
je 0x4a06b7
mov eax, dword [ecx + 0x34]
and al, 3
cmp al, 2
jne 0x4a06a5
test ebp, ebp
je 0x4a06a5
mov eax, dword [esp + 0xd0]
mov edi, edx
mov dword [esp + 0x1c], edi
mov dword [eax + 0x38], edi
inc dword [ebx + 0x44]
inc esi
mov ecx, dword [ecx + 0x14]
mov edx, dword [ebx + 0x44]
test ecx, ecx
jne 0x4a0688
mov edi, dword [esp + 0x10]
movsx eax, word [edi + 0x22]
mov ecx, dword [esp + 0x24]
add eax, esi
push 0
lea eax, [eax*4 + 2]
add eax, esi
push eax
push ecx
call fcn.0047f320
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
je 0x4a23e6
movsx ecx, word [edi + 0x22]
lea eax, [edx + ecx*4]
lea ebp, [eax + esi*4]
mov dword [esp + 0x80], eax
lea eax, [esi + 1]
mov dword [esp + 0x64], ebp
push eax
push 1
push ebp
mov dword [esp + 0x44], eax
call sub.MSVCRT.dll_memset
xor eax, eax
mov byte [esi + ebp + 1], 0
add esp, 0xc
xor ecx, ecx
cmp ax, word [edi + 0x22]
jge 0x4a0737
mov ebx, dword [esp + 0x14]
nop
mov dword [ebx + ecx*4], 0xffffffff
inc ecx
movsx eax, word [edi + 0x22]
cmp ecx, eax
jl 0x4a0720
mov ebx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd4]
xor eax, eax
mov dword [esp + 0xa8], eax
xor cl, cl
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xac], eax
xor al, al
cmp dword [edx], 0
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x23], al
mov byte [esp + 0x1b], cl
mov dword [esp + 0x30], 0
jle 0x4a096e
xor ebp, ebp
mov dword [esp + 0x3c], ebp
mov eax, dword [edx + 4]
push dword [eax + ebp]
lea eax, [esp + 0xac]
push eax
call fcn.00499e00
add esp, 8
test eax, eax
jne 0x4a0a3f
movsx ebx, word [edi + 0x22]
xor esi, esi
test ebx, ebx
jle 0x4a0813
mov ecx, dword [esp + 0xd4]
mov edi, dword [edi + 4]
mov eax, dword [ecx + 4]
add eax, ebp
mov dword [esp + 0x48], eax
mov ebp, dword [eax + 4]
mov edi, edi
push ebp
push dword [edi]
call fcn.0043ae40
add esp, 8
test eax, eax
je 0x4a0893
inc esi
add edi, 0x18
cmp esi, ebx
jl 0x4a07f0
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x30]
movsx eax, word [edi + 0x22]
cmp esi, eax
jl 0x4a08f2
cmp dword [esp + 0x28], 0
jne 0x4a0a0a
mov eax, dword [esp + 0xd4]
push str._ROWID_
mov edi, dword [eax + 4]
mov esi, dword [edi + ebp + 4]
push esi
call fcn.0043ae40
add esp, 8
test eax, eax
je 0x4a0876
push str.ROWID
push esi
call fcn.0043ae40
add esp, 8
test eax, eax
je 0x4a0876
push 0x4dcd08
push esi
call fcn.0043ae40
add esp, 8
test eax, eax
jne 0x4a0a0a
mov eax, dword [edi + ebp]
or esi, 0xffffffff
mov edi, dword [esp + 0x10]
mov edx, str.ROWID
mov byte [esp + 0x1b], 1
mov dword [esp + 0x84], eax
jmp 0x4a0906
mov edi, dword [esp + 0x10]
movsx eax, word [edi + 0x20]
cmp esi, eax
jne 0x4a08c5
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
mov byte [esp + 0x1b], 1
mov eax, dword [eax]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x14]
mov dword [eax + esi*4], ebx
jmp 0x4a0817
cmp dword [esp + 0x28], 0
je 0x4a08de
mov ecx, dword [edi + 4]
lea eax, [esi + esi*2]
test byte [ecx + eax*8 + 0x17], 1
je 0x4a08de
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
mov dword [eax + esi*4], ebx
jmp 0x4a0817
test esi, esi
jns 0x4a08fd
mov edx, str.ROWID
jmp 0x4a0906
mov eax, dword [edi + 4]
lea ecx, [esi + esi*2]
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
shl ecx, 4
mov eax, dword [eax + 0x10]
push dword [ecx + eax]
push edx
push dword [edi]
push 0x17
push dword [esp + 0xdc]
call fcn.00477e30
add esp, 0x14
cmp eax, 1
je 0x4a0a3f
cmp eax, 2
jne 0x4a0944
mov eax, dword [esp + 0x14]
mov dword [eax + esi*4], 0xffffffff
mov edx, dword [esp + 0xd4]
inc ebx
add ebp, 0x18
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebp
cmp ebx, dword [edx]
jl 0x4a07b0
mov ebx, dword [esp + 0xcc]
mov al, byte [esp + 0x23]
mov cl, byte [esp + 0x1b]
add al, cl
mov ecx, dword [esp + 0xd0]
mov byte [esp + 0x60], al
movzx eax, al
push eax
push dword [esp + 0x18]
mov dword [ecx + 0x48], 0
push edi
push ebx
mov dword [ecx + 0x4c], 0
mov dword [esp + 0x80], eax
call fcn.00486ca0
mov edi, dword [edi + 8]
add esp, 0x10
xor ebp, ebp
mov dword [esp + 0x50], eax
test edi, edi
je 0x4a0a8d
cmp byte [esp + 0x60], 0
jne 0x4a0a59
test eax, eax
jne 0x4a0a59
cmp dword [edi + 0x24], eax
jne 0x4a0a59
cmp edi, dword [esp + 0x28]
je 0x4a0a59
movzx esi, word [edi + 0x2e]
xor ebx, ebx
xor edx, edx
test esi, esi
jle 0x4a0a63
mov ecx, dword [edi + 4]
lea esp, [esp]
mov esi, dword [esp + 0x14]
movsx eax, word [ecx]
cmp dword [esi + eax*4], ebx
movzx esi, word [edi + 0x2e]
jge 0x4a0a4a
inc edx
add ecx, 2
cmp edx, esi
jl 0x4a09f0
jmp 0x4a0a63
mov ebp, dword [esp + 0xd4]
lea ecx, [ebx + ebx*2]
mov ebx, dword [esp + 0xcc]
mov eax, dword [ebp + 4]
push dword [eax + ecx*8 + 4]
push str.no_such_column:__s
push ebx
call fcn.00481160
mov edi, dword [esp + 0x30]
add esp, 0xc
mov byte [ebx + 0x11], 1
xor ecx, ecx
jmp 0x4a2427
mov edi, dword [esp + 0x24]
xor ecx, ecx
jmp 0x4a2420
mov eax, dword [esp + 0xcc]
inc dword [eax + 0x48]
mov ebx, dword [eax + 0x48]
jmp 0x4a0a5f
inc dword [ebx + 0x48]
mov ebx, dword [ebx + 0x48]
test ebx, ebx
jne 0x4a0a6c
mov eax, dword [esp + 0x64]
mov byte [eax + ebp + 1], 0
mov eax, dword [esp + 0x80]
mov dword [eax + ebp*4], ebx
inc ebp
mov edi, dword [edi + 0x14]
mov ebx, dword [esp + 0xcc]
mov eax, dword [esp + 0x50]
test edi, edi
jne 0x4a09b3
mov edi, dword [ebx + 8]
mov dword [esp + 0x3c], edi
test edi, edi
jne 0x4a0b67
mov esi, dword [ebx]
push edi
push 0xd0
push esi
call fcn.0047f320
mov edi, eax
mov dword [esp + 0x48], eax
add esp, 0xc
test edi, edi
je 0x4a0aef
push 0xd0
push 0
push edi
call sub.MSVCRT.dll_memset
mov dword [edi], esi
add esp, 0xc
mov eax, dword [esi + 4]
test eax, eax
je 0x4a0ad3
mov dword [eax + 0x30], edi
mov eax, dword [esi + 4]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
mov dword [esi + 4], edi
mov dword [edi + 0x28], 0x26bceaa5
mov dword [edi + 0x18], ebx
jmp 0x4a0af5
xor edi, edi
mov dword [esp + 0x3c], edi
mov dword [ebx + 8], edi
test edi, edi
je 0x4a0b4a
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4a0b16
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x4a0b4a
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov word [eax + ecx*4], 0x9e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebx + 0x198], 0
jne 0x4a0b5f
mov eax, dword [ebx]
test byte [eax + 0x3c], 8
jne 0x4a0b5f
mov byte [ebx + 0x17], 1
test edi, edi
je 0x4a23c3
cmp byte [ebx + 0x12], 0
jne 0x4a0b71
or dword [edi + 0x58], 4
mov edx, dword [ebx + 0x198]
mov ebp, dword [esp + 0xcc]
test edx, edx
je 0x4a0b86
mov ebx, edx
jmp 0x4a0b88
mov edx, ebp
mov ecx, dword [esp + 0x44]
mov esi, 1
mov eax, dword [edx + 0x14c]
shl esi, cl
test esi, eax
jne 0x4a0bcb
or eax, esi
add ecx, ecx
mov dword [edx + 0x14c], eax
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [edx + ecx*4 + 0x150], eax
cmp ecx, 1
jne 0x4a0bcb
push edx
call fcn.00492d50
add esp, 4
or dword [ebx + 0x148], esi
mov esi, dword [esp + 0x10]
or byte [ebx + 0x14], 1
test byte [esi + 0x2a], 0x10
je 0x4a0c26
push dword [esp + 0xdc]
push dword [esp + 0xdc]
push dword [esp + 0x1c]
push dword [esp + 0x90]
push dword [esp + 0xe4]
push esi
push dword [esp + 0xe8]
push ebp
call fcn.004b52f0
mov edi, dword [esp + 0x44]
add esp, 0x20
mov ebp, dword [esp + 0xd4]
xor ebx, ebx
xor esi, esi
xor ecx, ecx
jmp 0x4a2435
mov ebx, dword [ebp + 0x48]
mov ecx, dword [esp + 0x4c]
inc ebx
cmp byte [esp + 0x23], 0
mov dword [esp + 0x7c], ebx
lea edx, [ebx + 1]
mov dword [esp + 0x5c], edx
mov dword [ebp + 0x48], edx
mov dword [esp + 0x2c], edx
jne 0x4a0c53
test ecx, ecx
jne 0x4a0c53
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4a0c6a
lea eax, [edx + 1]
mov dword [esp + 0x90], eax
movsx eax, word [esi + 0x22]
add eax, edx
mov dword [ebp + 0x48], eax
mov eax, dword [esp + 0x50]
cmp byte [esp + 0x60], 0
jne 0x4a0c79
test ecx, ecx
jne 0x4a0c79
test eax, eax
je 0x4a0c83
inc dword [ebp + 0x48]
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x5c], eax
mov ecx, dword [ebp + 0x48]
lea eax, [ecx + 1]
mov dword [esp + 0x98], eax
movsx eax, word [esi + 0x22]
add eax, ecx
cmp dword [esp + 0x68], 0
mov ecx, dword [esp + 0xd8]
mov dword [ebp + 0x48], eax
je 0x4a0cd6
push dword [esp + 0x1c]
mov eax, dword [ebp + 0x1e8]
push ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
push esi
push ebp
mov dword [esp + 0xb0], ebp
mov dword [ebp + 0x1e8], eax
call fcn.00492230
mov ecx, dword [esp + 0xe8]
add esp, 0x10
push ecx
lea eax, [esp + 0xac]
push eax
call fcn.00499e00
add esp, 8
test eax, eax
jne 0x4a23bd
test byte [esi + 0x2a], 0x20
jne 0x4a0d83
push dword [esp + 0x2c]
push ebx
push eax
push 0x1a
push edi
call fcn.004a3e30
push dword [esp + 0x6c]
push 4
push 0
push 0
push dword [esp + 0xfc]
push dword [esp + 0xf8]
push ebp
call fcn.004afcc0
mov esi, eax
add esp, 0x30
test esi, esi
je 0x4a23bd
push dword [esp + 0x2c]
mov ecx, dword [esi + 0x3c]
push dword [esp + 0x20]
movzx eax, byte [esi + 0x26]
mov dword [esp + 0xac], ecx
mov ecx, dword [esi + 0x40]
push 0x68
push edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
call fcn.004a3dc0
add esp, 0x10
cmp dword [esp + 0x44], 0
jne 0x4a0d78
push dword [esp + 0x2c]
push ebx
push 0x81
push edi
call fcn.004a3dc0
add esp, 0x10
push esi
call fcn.004b1ee0
jmp 0x4a0f4c
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x48]
mov esi, dword [esp + 0xcc]
movzx eax, word [eax + 0x2e]
movsx ebx, ax
lea ebp, [ecx + 1]
push ebp
push 0
push 0x1a
lea eax, [ebx + 1]
mov dword [esp + 0xa0], ebp
add eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x84], eax
inc eax
push edi
mov dword [esi + 0x44], eax
call fcn.004a3dc0
push ebx
push dword [esp + 0x8c]
push 0x39
push edi
call fcn.004a3dc0
push dword [esp + 0x48]
mov dword [esp + 0x54], eax
push esi
call fcn.004ad1b0
push dword [esp + 0x80]
push 4
push 0
push 0
push dword [esp + 0x110]
push dword [esp + 0x10c]
push esi
call fcn.004afcc0
add esp, 0x44
mov dword [esp + 0x9c], eax
test eax, eax
je 0x4a23bd
mov ecx, dword [eax + 0x3c]
xor esi, esi
mov dword [esp + 0xa4], ecx
mov ecx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
test ebx, ebx
jle 0x4a0e61
lea eax, [esi + ebp]
push eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
push edi
call fcn.00482360
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x4a0e37
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a0eb7
mov eax, dword [esp + 0x30]
cmp eax, dword [edi + 0x20]
jge 0x4a0eaa
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push dword [edi]
call fcn.00452320
xor eax, eax
add esp, 0xc
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov byte [esi], 0x9f
mov eax, dword [edi + 0x20]
dec eax
cmp dword [esp + 0x30], eax
jne 0x4a0eaa
mov dword [edi + 0x20], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x40], ebp
jmp 0x4a0f39
push dword [esp + 0x28]
push edi
call fcn.0048eea0
mov ecx, dword [edi + 0x18]
add esp, 8
mov esi, dword [edi + 0x20]
mov ebp, eax
cmp dword [ecx + 0x54], esi
jg 0x4a0ee7
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
je 0x4a0ee7
mov esi, 1
jmp 0x4a0f1a
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x94]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push ebx
push ebp
push esi
push edi
call fcn.004a4260
push dword [esp + 0x50]
push dword [esp + 0x8c]
push 0x6f
push edi
call fcn.004a3dc0
add esp, 0x20
push dword [esp + 0x9c]
call fcn.004b1ee0
mov ebp, dword [esp + 0xd0]
mov eax, dword [esp + 0x28]
add esp, 4
test byte [eax + 0x18], 0x80
je 0x4a0f7d
cmp dword [ebp + 0x19c], 0
jne 0x4a0f7d
inc dword [ebp + 0x48]
mov eax, dword [ebp + 0x48]
push eax
push 0
push 0x17
push edi
mov dword [esp + 0x9c], eax
call fcn.004a3dc0
add esp, 0x10
mov esi, dword [edi + 0x18]
mov ebx, dword [esi + 0x6c]
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea eax, [ebx - 1]
test ebx, eax
jne 0x4a0fd5
mov ebp, dword [esi + 0x70]
lea eax, [ebx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
push ebp
push ecx
mov dword [esp + 0xac], ecx
call fcn.0047f4e0
add esp, 0x10
mov dword [esp + 0x94], eax
test eax, eax
jne 0x4a0fd2
push ebp
push dword [esp + 0xa0]
call fcn.0047f2c0
mov eax, dword [esp + 0x9c]
add esp, 8
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4a0fe3
mov dword [eax + ebx*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x30], ecx
test ebx, ebx
jne 0x4a1080
cmp dword [esp + 0xdc], 5
jne 0x4a101b
push dword [esp + 0x38]
mov ebp, dword [esp + 0x68]
push 1
push ebp
call sub.MSVCRT.dll_memset
mov ecx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4a1037
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4a1033
cmp byte [eax + 0x32], 5
je 0x4a1002
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4a1026
mov ebp, dword [esp + 0x64]
cmp dword [esp + 0x44], 0
mov esi, dword [esp + 0x34]
je 0x4a1061
mov eax, dword [esp + 0xa4]
test eax, eax
js 0x4a1053
sub eax, esi
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x48]
test eax, eax
js 0x4a1061
sub eax, esi
mov byte [eax + ebp], 0
push 0
push 0
push ebp
mov ebp, dword [esp + 0xd8]
push esi
push 0x37
push ecx
push ebp
call fcn.00492b80
mov ecx, dword [esp + 0x4c]
add esp, 0x1c
jmp 0x4a108b
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x44], 0
je 0x4a111f
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
sub eax, esi
cmp byte [eax + edx], 0
je 0x4a10c2
test ebx, ebx
mov ebx, dword [esp + 0x40]
jne 0x4a10c6
push dword [esp + 0x74]
push ebx
push ecx
push edx
push 0x45
push edi
call fcn.004a3f40
add esp, 0x18
jmp 0x4a10c6
mov ebx, dword [esp + 0x40]
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
jne 0x4a10d9
mov ebx, dword [esp + 0x2c]
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4a10f7
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x4a12a5
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x4a1298
cmp dword [esp + 0x28], 0
je 0x4a11fe
push edi
call fcn.004ab090
mov ecx, dword [edi + 0x18]
add esp, 4
mov esi, dword [edi + 0x20]
mov ebx, eax
mov dword [esp + 0x38], ebx
cmp dword [ecx + 0x54], esi
jg 0x4a1153
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x4a1187
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x6c], esi
cmp dword [eax + 0x54], esi
jg 0x4a11af
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
je 0x4a11af
mov dword [esp + 0x6c], 1
jmp 0x4a11e3
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x66
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push dword [esp + 0x44]
push ebx
push dword [esp + 0x28]
push 0x45
push edi
call fcn.004a3f40
add esp, 0x18
jmp 0x4a12a5
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
mov dword [esp + 0x38], ebx
cmp dword [eax + 0x54], ebx
jg 0x4a1227
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
je 0x4a1227
mov ebx, 1
mov dword [esp + 0x38], ebx
jmp 0x4a125b
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x82
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4a1275
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x4a12a5
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 3], 0
cmp byte [esp + 0x1b], 0
je 0x4a1340
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a12cf
cmp byte [eax], 0x9f
jne 0x4a12cf
mov ebx, dword [esp + 0x5c]
push ebx
push dword [eax + 0x1c]
push 0x1f
push dword [ebp + 8]
jmp 0x4a12ee
mov ebx, dword [esp + 0x5c]
push ebx
push eax
push ebp
call fcn.00482af0
add esp, 0xc
cmp eax, ebx
je 0x4a12f6
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4a12f6
push ebx
push eax
push 0x20
push ecx
call fcn.004a3dc0
add esp, 0x10
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4a1310
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x4a1340
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov word [eax + ecx*4], 0x26
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x23], 0
jne 0x4a1516
cmp dword [esp + 0x50], 0
jne 0x4a1521
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a1499
xor ebx, ebx
mov eax, dword [esp + 0xdc]
push eax
push dword [esp + 0x14]
push 3
push 0
push dword [esp + 0xe4]
push dword [esp + 0x60]
push ebp
call fcn.0049fc20
mov edx, dword [esp + 0x2c]
or ebx, eax
xor eax, eax
mov dword [esp + 0x64], ebx
add esp, 0x1c
xor esi, esi
cmp ax, word [edx + 0x22]
jge 0x4a1439
xor ebp, ebp
cmp ebx, 0xffffffff
je 0x4a1535
cmp esi, 0x20
jge 0x4a13c1
mov eax, 1
mov ecx, esi
shl eax, cl
test ebx, eax
jne 0x4a1535
mov eax, dword [edx + 4]
test byte [eax + ebp + 0x17], 1
jne 0x4a1535
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
cmp dword [eax + 0x54], ebx
jg 0x4a13ed
push 1
push edi
call fcn.004650f0
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x4a1425
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x20]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x90]
add eax, esi
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov ebx, dword [esp + 0x48]
movsx eax, word [edx + 0x22]
inc esi
add ebp, 0x18
cmp esi, eax
jl 0x4a13a2
cmp byte [esp + 0x1b], 0
jne 0x4a1495
cmp dword [esp + 0x28], 0
jne 0x4a1495
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4a1461
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x4a1495
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xcc]
push ebp
push esi
push 1
push 1
push ecx
push eax
push ebx
call fcn.0049fc20
mov edx, eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x98], edx
add esp, 0x1c
mov dword [esp + 0x48], ecx
cmp ax, word [esi + 0x22]
jge 0x4a16b0
mov eax, dword [esp + 0x98]
mov dword [esp + 0x34], eax
lea esp, [esp]
movsx eax, word [esi + 0x20]
cmp ecx, eax
jne 0x4a1601
mov ebx, dword [edi + 0x18]
mov ebp, dword [edi + 0x20]
cmp dword [ebx + 0x54], ebp
jg 0x4a15bb
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4a1557
add eax, eax
jmp 0x4a155c
cmp dword [esp + 0x50], 0
je 0x4a1362
push dword [esp + 0x10]
push ebp
call fcn.00486b80
add esp, 8
mov ebx, eax
jmp 0x4a1364
mov eax, dword [esp + 0x90]
add eax, esi
push eax
push esi
push dword [esp + 0x24]
push edx
push edi
call fcn.00482360
mov edx, dword [esp + 0x24]
add esp, 0x14
jmp 0x4a1429
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a1681
mov ecx, dword [ebx]
test ecx, ecx
je 0x4a159b
cmp esi, dword [ecx + 0x114]
jb 0x4a159b
cmp esi, dword [ecx + 0x118]
jae 0x4a159b
movzx ecx, word [ecx + 0xf8]
jmp 0x4a15a7
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov dword [edi + 4], esi
mov esi, dword [esp + 0x10]
inc dword [edi + 0x20]
lea ecx, [ebp*4]
mov eax, dword [edi + 4]
add ecx, ebp
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xcc]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a168c
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x4a17a5
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x4a174d
cmp byte [eax], 0x9f
jne 0x4a174d
mov esi, dword [ebx + 8]
mov ebp, dword [eax + 0x1c]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
cmp dword [eax + 0x54], ebx
jg 0x4a1651
push 1
push esi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x4a1681
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x1f
mov edx, dword [esp + 0x34]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
movsx eax, word [esi + 0x22]
inc ecx
inc dword [esp + 0x34]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x48], ecx
cmp ecx, eax
jl 0x4a14f0
mov ebp, dword [esp + 0xdc]
test byte [esp + 0x88], 1
je 0x4a1a28
push dword [esp + 0x98]
push esi
push edi
call fcn.0049f790
mov eax, dword [esp + 0x58]
add esp, 0xc
mov esi, eax
test eax, eax
je 0x4a1721
mov edi, dword [esp + 0x10]
lea ecx, [ecx]
cmp byte [esi + 8], 0x6e
jne 0x4a1716
cmp byte [esi + 9], 1
jne 0x4a1716
push dword [esp + 0xd4]
push dword [esi + 0x10]
call fcn.004477e0
add esp, 8
test eax, eax
je 0x4a1716
push dword [esp + 0x38]
push ebp
push dword [esp + 0x34]
push edi
push esi
push ebx
call fcn.0047d200
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4a16e0
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x28], 0
je 0x4a1973
mov ebp, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [ebp + 0x54], esi
jg 0x4a1893
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x4a1831
add eax, eax
jmp 0x4a1836
mov edx, dword [esp + 0x34]
push edx
push eax
push ebx
call fcn.00482af0
mov ebp, eax
add esp, 0xc
cmp ebp, dword [esp + 0x34]
je 0x4a168c
mov esi, dword [ebx + 8]
test esi, esi
je 0x4a1688
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
cmp dword [eax + 0x54], ebx
jg 0x4a1791
push 1
push esi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x4a1681
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x20
jmp 0x4a1660
test dword [esp + 0x88], 1
je 0x4a1819
cmp ecx, 0x1f
jg 0x4a1819
mov eax, 1
shl eax, cl
test edx, eax
jne 0x4a1819
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4a17e0
push 1
push edi
call fcn.004650f0
add esp, 8
test eax, eax
jne 0x4a1688
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a1688
push dword [esp + 0x34]
push ecx
push dword [esp + 0x24]
push esi
push edi
call fcn.00482360
add esp, 0x14
jmp 0x4a168c
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebp]
call fcn.0047f4e0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4a1958
mov eax, dword [ebp]
test eax, eax
je 0x4a1877
cmp ebx, dword [eax + 0x114]
jb 0x4a1877
cmp ebx, dword [eax + 0x118]
jae 0x4a1877
movzx ecx, word [eax + 0xf8]
jmp 0x4a1883
push ebx
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebp + 0x54], edx
mov dword [edi + 4], ebx
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x45
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 4]
mov ecx, dword [edi]
test edx, edx
je 0x4a1962
cmp byte [ecx + 0x41], 0
jne 0x4a1962
test esi, esi
jns 0x4a18e6
mov esi, dword [edi + 0x20]
dec esi
lea eax, [esi + esi*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
push eax
push ecx
call fcn.00452320
mov eax, dword [esp + 0x80]
add esp, 0xc
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf2
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 0x22]
jge 0x4a1a2c
mov eax, dword [esp + 0x14]
cmp dword [eax + esi*4], 0
jge 0x4a194a
movsx eax, word [ebx + 0x20]
cmp esi, eax
je 0x4a194a
mov eax, dword [esp + 0x98]
add eax, esi
push eax
push esi
push ebp
push ebx
push edi
call fcn.00482360
add esp, 0x14
movsx eax, word [ebx + 0x22]
inc esi
cmp esi, eax
jl 0x4a1922
jmp 0x4a1a2c
mov esi, 1
jmp 0x4a18c7
push dword [esp + 0x74]
push 0xfffffffffffffff2
push ecx
call fcn.00452320
add esp, 0xc
jmp 0x4a190c
mov ebx, dword [edi + 0x18]
mov ebp, dword [edi + 0x20]
cmp dword [ebx + 0x54], ebp
jg 0x4a19e9
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4a1989
add eax, eax
jmp 0x4a198e
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a190c
mov eax, dword [ebx]
test eax, eax
je 0x4a19cd
cmp esi, dword [eax + 0x114]
jb 0x4a19cd
cmp esi, dword [eax + 0x118]
jae 0x4a19cd
movzx ecx, word [eax + 0xf8]
jmp 0x4a19d9
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [ebp*4]
mov eax, dword [edi + 4]
add ecx, ebp
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a1910
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x68], 0
mov ebp, dword [esp + 0xcc]
jne 0x4a1dfb
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0xe4]
xor ebx, ebx
push eax
push dword [esp + 0x6c]
mov dword [esp + 0x78], ebx
push dword [esp + 0x3c]
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x38]
push dword [esp + 0xa0]
push esi
push ebp
call fcn.0048ba20
add esp, 0x2c
cmp dword [esp + 0x50], ebx
je 0x4a1a9b
push dword [esp + 0x70]
push dword [esp + 0x18]
push ebx
push dword [esp + 0x38]
push esi
push ebp
call fcn.00486030
add esp, 0x18
cmp dword [esp + 0x68], ebx
jne 0x4a1aab
cmp byte [esp + 0x60], bl
je 0x4a1c6d
cmp dword [esp + 0x28], ebx
mov ebp, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
je 0x4a1bc0
cmp dword [ebp + 0x54], ebx
jg 0x4a1b2d
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x4a1acb
add eax, eax
jmp 0x4a1ad0
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebp]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a1ba5
mov eax, dword [ebp]
test eax, eax
je 0x4a1b11
cmp esi, dword [eax + 0x114]
jb 0x4a1b11
cmp esi, dword [eax + 0x118]
jae 0x4a1b11
movzx ecx, word [eax + 0xf8]
jmp 0x4a1b1d
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebp + 0x54], edx
mov dword [edi + 4], esi
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x45
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 4]
mov eax, ebx
mov ecx, dword [edi]
test edx, edx
je 0x4a1bac
cmp byte [ecx + 0x41], 0
jne 0x4a1bac
test ebx, ebx
jns 0x4a1b7a
mov eax, dword [edi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
push eax
push ecx
call fcn.00452320
mov eax, dword [esp + 0x80]
add esp, 0xc
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf2
jmp 0x4a1c66
mov ebx, 1
jmp 0x4a1b61
push dword [esp + 0x74]
push 0xfffffffffffffff2
push ecx
call fcn.00452320
add esp, 0xc
jmp 0x4a1c66
cmp dword [ebp + 0x54], ebx
jg 0x4a1c32
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x4a1bd0
add eax, eax
jmp 0x4a1bd5
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebp]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a1cc1
mov eax, dword [ebp]
test eax, eax
je 0x4a1c16
cmp esi, dword [eax + 0x114]
jb 0x4a1c16
cmp esi, dword [eax + 0x118]
jae 0x4a1c16
movzx ecx, word [eax + 0xf8]
jmp 0x4a1c22
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebp + 0x54], edx
mov dword [edi + 4], esi
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ebp, dword [esp + 0xcc]
push dword [esp + 0x80]
push dword [esp + 0x5c]
push dword [esp + 0x24]
push dword [esp + 0x1c]
push ebp
call fcn.0048d910
add esp, 0x14
cmp dword [esp + 0x50], 0
jne 0x4a1ca3
mov al, byte [esp + 0x60]
test al, al
jne 0x4a1ca3
cmp dword [esp + 0x28], 0
je 0x4a1d6d
mov ebp, dword [edi + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x7c], eax
cmp dword [ebp + 0x54], eax
jg 0x4a1d2e
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x4a1cc8
add eax, eax
jmp 0x4a1ccd
mov ebx, 1
jmp 0x4a1c66
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebp]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a1d62
mov eax, dword [ebp]
test eax, eax
je 0x4a1d0e
cmp esi, dword [eax + 0x114]
jb 0x4a1d0e
cmp esi, dword [eax + 0x118]
jae 0x4a1d0e
movzx ecx, word [eax + 0xf8]
jmp 0x4a1d1a
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x7c]
shr edx, 4
mov dword [ebp + 0x54], edx
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x62
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x60]
mov ebp, dword [esp + 0xcc]
cmp dword [esp + 0x68], 0
jne 0x4a1d78
test al, al
je 0x4a1d93
mov edx, dword [edi + 0x20]
cmp edx, ebx
jbe 0x4a1d89
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
cmp dword [esp + 0x50], 0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
je 0x4a1db7
push dword [esp + 0x70]
push esi
push dword [esp + 0x64]
push 0
push ebx
push ebp
call fcn.00486030
add esp, 0x18
push 0
push 0
push 1
push dword [esp + 0x8c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x34]
push ebx
push ebp
call fcn.0047dd50
add esp, 0x24
cmp dword [esp + 0x50], 0
je 0x4a1dfb
push dword [esp + 0x70]
push esi
push dword [esp + 0x34]
push dword [esp + 0xe0]
push ebx
push ebp
call fcn.00485fa0
add esp, 0x18
mov eax, dword [esp + 0x24]
test byte [eax + 0x18], 0x80
je 0x4a1ecd
cmp dword [ebp + 0x19c], 0
jne 0x4a1ecd
mov ebx, dword [edi + 0x18]
mov ebp, dword [edi + 0x20]
cmp dword [ebx + 0x54], ebp
jg 0x4a1e8c
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4a1e2c
add eax, eax
jmp 0x4a1e31
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a1ec9
mov eax, dword [ebx]
test eax, eax
je 0x4a1e70
cmp esi, dword [eax + 0x114]
jb 0x4a1e70
cmp esi, dword [eax + 0x118]
jae 0x4a1e70
movzx ecx, word [eax + 0xf8]
jmp 0x4a1e7c
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [ebp*4]
mov eax, dword [edi + 4]
add ecx, ebp
mov edx, dword [esp + 0x8c]
mov word [eax + ecx*4], 0x25
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
test ebp, ebp
je 0x4a1f27
mov edi, dword [esp + 0xcc]
lea esp, [esp]
cmp byte [ebp + 8], 0x6e
jne 0x4a1f1c
cmp byte [ebp + 9], 2
jne 0x4a1f1c
push dword [esp + 0xd4]
push dword [ebp + 0x10]
call fcn.004477e0
add esp, 8
test eax, eax
je 0x4a1f1c
push dword [esp + 0x38]
push dword [esp + 0xe0]
push dword [esp + 0x34]
push ebx
push ebp
push edi
call fcn.0047d200
add esp, 0x18
mov ebp, dword [ebp + 0x20]
test ebp, ebp
jne 0x4a1ee0
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x44], 0
jne 0x4a20a9
cmp dword [esp + 0x28], 0
je 0x4a1ff9
mov esi, dword [edi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x38]
js 0x4a1f56
mov edx, dword [esi + 0x70]
test edx, edx
je 0x4a1f56
mov eax, dword [edi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [esi + 0x58], eax
mov ebx, dword [edi + 0x18]
mov ebp, dword [edi + 0x20]
cmp dword [ebx + 0x54], ebp
jg 0x4a1fd3
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4a1f73
add eax, eax
jmp 0x4a1f78
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a20a9
mov eax, dword [ebx]
test eax, eax
je 0x4a1fb7
cmp esi, dword [eax + 0x114]
jb 0x4a1fb7
cmp esi, dword [eax + 0x118]
jae 0x4a1fb7
movzx ecx, word [eax + 0xf8]
jmp 0x4a1fc3
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [ebp*4]
mov eax, dword [edi + 4]
add ecx, ebp
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 8
jmp 0x4a2090
mov ebx, dword [edi + 0x18]
mov ebp, dword [edi + 0x20]
cmp dword [ebx + 0x54], ebp
jg 0x4a206f
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4a200f
add eax, eax
jmp 0x4a2014
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a20a9
mov eax, dword [ebx]
test eax, eax
je 0x4a2053
cmp esi, dword [eax + 0x114]
jb 0x4a2053
cmp esi, dword [eax + 0x118]
jae 0x4a2053
movzx ecx, word [eax + 0xf8]
jmp 0x4a205f
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [ebp*4]
mov eax, dword [edi + 4]
add ecx, ebp
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov byte [eax + ecx*4 + 3], 0
mov edx, dword [edi + 0x18]
or ebx, 0xffffffff
sub ebx, dword [esp + 0x30]
js 0x4a20c2
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4a20c2
mov eax, dword [edi + 0x20]
mov dword [ecx + ebx*4], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov dword [esp + 0x6c], edx
test edx, edx
je 0x4a21d8
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
inc esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x70], esi
lea ecx, [ecx]
cmp byte [esi], 0
je 0x4a21bf
mov ebx, dword [edi + 0x18]
mov ebp, dword [edi + 0x20]
cmp dword [ebx + 0x54], ebp
jg 0x4a2177
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4a210f
add eax, eax
jmp 0x4a2114
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a21b3
mov eax, dword [ebx]
test eax, eax
je 0x4a2153
cmp esi, dword [eax + 0x114]
jb 0x4a2153
cmp esi, dword [eax + 0x118]
jae 0x4a2153
movzx ecx, word [eax + 0xf8]
jmp 0x4a215f
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov edx, dword [esp + 0x6c]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x70]
inc dword [edi + 0x20]
lea ecx, [ebp*4]
mov eax, dword [edi + 4]
add ecx, ebp
mov ebx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a21bb
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0x14]
inc esi
inc eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x3c], eax
test edx, edx
jne 0x4a20f0
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x1c], eax
jge 0x4a2296
mov ebx, dword [edi + 0x18]
mov ebp, dword [edi + 0x20]
cmp dword [ebx + 0x54], ebp
jg 0x4a225c
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4a21fc
add eax, eax
jmp 0x4a2201
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a2296
mov eax, dword [ebx]
test eax, eax
je 0x4a2240
cmp esi, dword [eax + 0x114]
jb 0x4a2240
cmp esi, dword [eax + 0x118]
jae 0x4a2240
movzx ecx, word [eax + 0xf8]
jmp 0x4a224c
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [ebp*4]
mov eax, dword [edi + 4]
add ecx, ebp
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xcc]
cmp byte [eax + 0x12], 0
jne 0x4a22bc
cmp dword [eax + 0x19c], 0
jne 0x4a22bc
push eax
call fcn.00478610
mov eax, dword [esp + 0xd0]
add esp, 4
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x18], 0x80
je 0x4a241a
cmp dword [eax + 0x19c], 0
jne 0x4a241a
cmp byte [eax + 0x12], 0
jne 0x4a241a
mov ebx, dword [edi + 0x18]
mov ebp, dword [edi + 0x20]
cmp dword [ebx + 0x54], ebp
jg 0x4a2357
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4a22f7
add eax, eax
jmp 0x4a22fc
mov eax, 0x33
lea eax, [eax + eax*4]
push 0
shl eax, 2
push eax
push dword [edi + 4]
push dword [ebx]
call fcn.0047f4e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a2394
mov eax, dword [ebx]
test eax, eax
je 0x4a233b
cmp esi, dword [eax + 0x114]
jb 0x4a233b
cmp esi, dword [eax + 0x118]
jae 0x4a233b
movzx ecx, word [eax + 0xf8]
jmp 0x4a2347
push esi
call dword [0x4e2598]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [ebp*4]
mov eax, dword [edi + 4]
add ecx, ebp
mov edx, dword [esp + 0x8c]
mov word [eax + ecx*4], 0x21
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 1
push edi
call fcn.004ad0e0
mov eax, dword [edi]
add esp, 8
cmp byte [eax + 0x41], 0
jne 0x4a23bd
push 0
push 1
push 0xffffffffffffffff
push str.rows_updated
push dword [edi + 0x10]
call fcn.004abce0
add esp, 0x14
mov edi, dword [esp + 0x24]
jmp 0x4a241c
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
jmp 0x4a2439
xor edx, edx
mov ebx, dword [esp + 0xd8]
xor ecx, ecx
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
jmp 0x4a2439
mov ebx, dword [esp + 0xd8]
mov esi, dword [esp + 0xd0]
mov ebp, dword [esp + 0xd4]
jmp 0x4a2439
mov edi, ecx
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd8]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4a244a
mov dword [eax + 0x1e8], ecx
test edx, edx
je 0x4a24f0
test edi, edi
je 0x4a2494
cmp dword [edi + 0x208], 0
je 0x4a246e
push edx
push edi
call fcn.00467960
add esp, 8
jmp 0x4a24f0
cmp edx, dword [edi + 0x114]
jb 0x4a2494
cmp edx, dword [edi + 0x118]
jae 0x4a2494
mov eax, dword [edi + 0x110]
mov dword [edx], eax
dec dword [edi + 0xfc]
mov dword [edi + 0x110], edx
jmp 0x4a24f0
cmp dword [0x4e2568], 0
je 0x4a24e6
mov eax, dword [0x4e4db0]
test eax, eax
je 0x4a24b4
push eax
call dword [0x4e25bc]
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [0x4e2598]
push dword [esp + 0x18]
sub dword [0x4e4c08], eax
dec dword [0x4e4c2c]
call dword [0x4e2590]
mov eax, dword [0x4e4db0]
add esp, 8
test eax, eax
je 0x4a24f0
push eax
call dword [0x4e25c4]
jmp 0x4a24ed
push edx
call dword [0x4e2590]
add esp, 4
push esi
push edi
call fcn.0049e7e0
push ebp
push edi
call fcn.00484860
add esp, 0x10
test ebx, ebx
je 0x4a26be
test dword [ebx + 4], 0x4000
jne 0x4a25ff
push dword [ebx + 0xc]
push edi
call fcn.00483ce0
push dword [ebx + 0x10]
push edi
call fcn.00483ce0
add esp, 0x10
test dword [ebx + 4], 0x10000
je 0x4a25da
mov esi, dword [ebx + 8]
test esi, esi
je 0x4a25da
test edi, edi
je 0x4a2585
cmp dword [edi + 0x208], 0
je 0x4a255f
push esi
push edi
call fcn.00467960
add esp, 8
jmp 0x4a25da
cmp esi, dword [edi + 0x114]
jb 0x4a2585
cmp esi, dword [edi + 0x118]
jae 0x4a2585
mov eax, dword [edi + 0x110]
mov dword [esi], eax
dec dword [edi + 0xfc]
mov dword [edi + 0x110], esi
jmp 0x4a25da
cmp dword [0x4e2568], 0
je 0x4a25d0
mov eax, dword [0x4e4db0]
test eax, eax
je 0x4a25a1
push eax
call dword [0x4e25bc]
add esp, 4
push esi
call dword [0x4e2598]
sub dword [0x4e4c08], eax
dec dword [0x4e4c2c]
push esi
call dword [0x4e2590]
mov eax, dword [0x4e4db0]
add esp, 8
test eax, eax
je 0x4a25da
push eax
call dword [0x4e25c4]
jmp 0x4a25d7
push esi
call dword [0x4e2590]
add esp, 4
test dword [ebx + 4], 0x800
je 0x4a25f3
push 1
push dword [ebx + 0x14]
push edi
call fcn.004485b0
add esp, 0xc
jmp 0x4a25ff
push dword [ebx + 0x14]
push edi
call fcn.00484860
add esp, 8
test dword [ebx + 4], 0x8000
jne 0x4a26be
test edi, edi
je 0x4a265d
cmp dword [edi + 0x208], 0
je 0x4a262e
push ebx
push edi
call fcn.00467960
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
cmp ebx, dword [edi + 0x114]
jb 0x4a265d
cmp ebx, dword [edi + 0x118]
jae 0x4a265d
mov eax, dword [edi + 0x110]
mov dword [ebx], eax
dec dword [edi + 0xfc]
mov dword [edi + 0x110], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
cmp dword [0x4e2568], 0
je 0x4a26b4
mov eax, dword [0x4e4db0]
test eax, eax
je 0x4a2679
push eax
call dword [0x4e25bc]
add esp, 4
push ebx
call dword [0x4e2598]
sub dword [0x4e4c08], eax
dec dword [0x4e4c2c]
push ebx
call dword [0x4e2590]
mov eax, dword [0x4e4db0]
add esp, 8
test eax, eax
je 0x4a26be
push eax
call dword [0x4e25c4]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
push ebx
call dword [0x4e2590]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret