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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], 0
mov eax, edx
mov dword [esp + 0xc], esi
push edi
mov dword [esp + 0x40], eax
cmp dword [esi + 0x40], 0
mov ebx, dword [esi]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], ebx
jne 0x4d1109
cmp byte [ebx + 0x1e], 0
jne 0x4d1109
call fcn.004bb730
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x4d1109
mov ecx, dword [edi + 0x40]
mov dword [esp + 0x2c], 0xfff0bdc0
test ecx, ecx
je 0x4d02c4
mov eax, dword [esi]
mov dword [esp + 0x2c], 0
mov edx, dword [eax + 4]
test edx, edx
jle 0x4d02c4
mov eax, dword [eax + 8]
add eax, 0xc
cmp dword [eax], ecx
je 0x4d02c4
inc dword [esp + 0x2c]
add eax, 0x10
cmp dword [esp + 0x2c], edx
jl 0x4d02b3
mov edx, edi
mov ecx, esi
call fcn.004b82d0
test eax, eax
jne 0x4d1109
push ecx
mov edx, edi
mov ecx, esi
call fcn.004bb7f0
add esp, 4
test eax, eax
jne 0x4d1109
mov ecx, dword [edi + 0xc]
shl ecx, 2
cmp byte [ebx + 0x1e], al
je 0x4d0301
mov ebx, dword [ebp + 0xc]
xor edi, edi
xor ecx, ecx
jmp 0x4d1114
cmp byte [ebx + 0xe2], 0
je 0x4d034e
movzx eax, word [ebx + 0xe0]
cmp ecx, eax
jg 0x4d034e
mov edx, dword [ebx + 0xec]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4d034e
mov eax, dword [edx]
mov dword [ebx + 0xec], eax
mov eax, dword [ebx + 0xe4]
inc eax
mov dword [ebx + 0xe4], eax
cmp eax, dword [ebx + 0xe8]
jle 0x4d0346
mov dword [ebx + 0xe8], eax
mov ecx, edx
mov dword [esp + 0x58], ecx
jmp 0x4d0373
push ecx
call fcn.00491390
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x4d0365
mov byte [ebx + 0x1e], 1
mov ecx, edx
mov dword [esp + 0x58], ecx
test edx, edx
je 0x4d1109
xor eax, eax
cmp dword [edi + 0xc], eax
jle 0x4d038d
lea ebx, [ebx]
mov dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [edi + 0xc]
jl 0x4d0380
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x44]
mov dword [esp + 0x20], eax
mov dword [edx + 0x20], eax
mov ecx, dword [esi + 0x44]
inc ecx
mov dword [esi + 0x44], ecx
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4d03bb
lea esp, [esp]
inc ecx
mov dword [esi + 0x44], ecx
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4d03b0
mov eax, dword [ebp + 8]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
cmp dword [eax], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
jle 0x4d0549
xor ebx, ebx
mov esi, eax
mov dword [esp + 0x38], ebx
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x64]
mov edx, dword [edx + ebx]
call fcn.004acfa0
test eax, eax
jne 0x4d1109
mov eax, dword [esp + 0x14]
xor edi, edi
cmp edi, dword [eax + 0xc]
jge 0x4d0501
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + ebx + 4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], eax
mov esi, dword [eax]
mov edx, ecx
mov bl, byte [esi]
test bl, bl
je 0x4d0491
mov al, bl
sub esi, ecx
nop
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x5265d8]
cmp al, byte [ecx + 0x5265d8]
jne 0x4d0491
mov al, byte [edx + esi + 1]
inc edx
mov bl, al
test al, al
jne 0x4d0470
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5265d8]
movzx eax, bl
movzx eax, byte [eax + 0x5265d8]
sub eax, ecx
je 0x4d04cb
mov ecx, dword [esp + 0x14]
inc edi
mov eax, dword [esp + 0x4c]
add eax, 0x18
mov dword [esp + 0x4c], eax
cmp edi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x54]
jl 0x4d0461
mov ebx, dword [esp + 0x38]
mov esi, dword [ebp + 8]
jmp 0x4d04f8
mov eax, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x38]
cmp edi, dword [eax + 8]
jne 0x4d04ed
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], 1
mov eax, dword [ebx + eax]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov dword [ecx + edi*4], eax
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 0xc]
jl 0x4d0525
mov esi, dword [esi + 0xc]
mov edi, dword [esi + ebx + 4]
mov ecx, edi
call fcn.004af0b0
test eax, eax
je 0x4d0578
mov eax, dword [esi + ebx]
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], 1
mov dword [esp + 0x44], eax
mov edi, dword [esp + 0x34]
add ebx, 0x14
inc edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
cmp edi, dword [esi]
jl 0x4d0425
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x14]
xor ecx, ecx
test eax, eax
je 0x4d05f7
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x4d0556
test ecx, ecx
jle 0x4d05f7
shl ecx, 2
cmp byte [ebx + 0x1e], al
je 0x4d0594
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
jmp 0x4d1110
push edi
push str.no_such_column:__s
push dword [esp + 0x18]
call fcn.004936e0
mov ebx, dword [ebp + 0xc]
add esp, 0xc
xor ecx, ecx
jmp 0x4d1110
cmp byte [ebx + 0xe2], 0
je 0x4d05db
movzx eax, word [ebx + 0xe0]
cmp ecx, eax
jg 0x4d05db
mov edx, dword [ebx + 0xec]
mov dword [esp + 0x18], edx
test edx, edx
je 0x4d05db
mov eax, dword [edx]
mov dword [ebx + 0xec], eax
mov eax, dword [ebx + 0xe4]
inc eax
mov dword [ebx + 0xe4], eax
cmp eax, dword [ebx + 0xe8]
jle 0x4d05f9
mov dword [ebx + 0xe8], eax
jmp 0x4d05f9
push ecx
call fcn.00491390
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
test edx, edx
jne 0x4d05f9
mov byte [ebx + 0x1e], 1
jmp 0x4d1109
xor edx, edx
mov edi, dword [edi + 0x14]
test edi, edi
je 0x4d0666
mov ecx, dword [esp + 0x24]
mov eax, edx
mov dword [esp + 0x38], eax
lea ebx, [ebx]
test ecx, ecx
je 0x4d061c
inc dword [esi + 0x48]
mov ebx, dword [esi + 0x48]
jmp 0x4d0656
mov esi, dword [edi + 4]
xor ebx, ebx
xor edx, edx
test esi, esi
jle 0x4d0652
mov ecx, dword [edi + 8]
lea ebx, [ebx]
mov esi, dword [esp + 0x1c]
mov eax, dword [ecx]
cmp dword [esi + eax*4], ebx
mov esi, dword [edi + 4]
jge 0x4d06e9
inc edx
add ecx, 4
cmp edx, esi
jl 0x4d0630
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov dword [eax], ebx
add eax, 4
mov edi, dword [edi + 0x20]
mov dword [esp + 0x38], eax
test edi, edi
jne 0x4d0610
mov esi, dword [esi + 0xc]
mov ebx, dword [esp + 0x10]
test esi, esi
jne 0x4d0685
mov ecx, dword [ebx]
call fcn.004a1540
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
je 0x4d1109
cmp byte [ebx + 0x13], 0
jne 0x4d068f
mov byte [esi + 0x6d], 1
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov edx, edi
call fcn.004bab00
mov eax, dword [ebx + 0x150]
mov edx, dword [esp + 0x14]
bts eax, edi
or byte [ebx + 0x158], 1
mov dword [ebx + 0x150], eax
test byte [edx + 0x22], 0x10
je 0x4d0700
push dword [ebp + 0xc]
mov edi, dword [esp + 0x20]
mov ecx, ebx
push edi
push dword [esp + 0x4c]
push dword [ebp + 8]
push edx
mov edx, dword [esp + 0x54]
call fcn.004d11f0
mov ecx, dword [esp + 0x2c]
add esp, 0x14
xor ebx, ebx
mov dword [esp + 0x40], ebx
jmp 0x4d1114
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
inc dword [esi + 0x48]
mov ebx, dword [esi + 0x48]
jmp 0x4d0656
mov ecx, dword [ebx + 0x48]
inc ecx
cmp dword [esp + 0x24], 0
mov dword [esp + 0x30], ecx
mov dword [ebx + 0x48], ecx
mov dword [esp + 0x28], ecx
je 0x4d071e
inc ecx
mov dword [esp + 0x30], ecx
mov dword [ebx + 0x48], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0xc]
inc eax
add eax, ecx
lea ecx, [esp + 0x64]
mov dword [ebx + 0x48], eax
mov ebx, dword [ebp + 0xc]
mov edx, ebx
call fcn.004acfa0
test eax, eax
jne 0x4d110c
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d0757
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d078f
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0xa
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
mov byte [esi + 0x6e], 0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push 4
push 0
push ebx
call fcn.004d71e0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4d1109
mov al, byte [ebx + 6]
mov edi, dword [esi + 0xc]
mov byte [esp + 0xf], al
cmp dword [esi + 0x10], edi
jg 0x4d07c8
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d0800
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x3c
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 byte [esi + 0x6e], 0
cmp byte [esp + 0xf], 0
jne 0x4d0861
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x48]
inc eax
mov dword [ecx + 0x48], eax
mov edi, dword [esi + 0xc]
mov dword [esp + 0x50], eax
cmp dword [esi + 0x10], edi
jg 0x4d0829
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d0861
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x68
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 byte [esi + 0x6e], 0
mov ecx, ebx
call fcn.004d7bf0
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x10]
test byte [eax + 0xc], 0x80
je 0x4d08d5
cmp dword [ebx + 0x1a4], 0
jne 0x4d08d5
mov eax, dword [ebx + 0x48]
inc eax
mov dword [ebx + 0x48], eax
mov edi, dword [esi + 0xc]
mov dword [esp + 0x48], eax
cmp dword [esi + 0x10], edi
jg 0x4d089d
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d08d5
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 7
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
mov byte [esi + 0x6e], 0
cmp byte [esp + 0xf], 0
mov edi, dword [esp + 0x14]
jne 0x4d08f5
mov edx, dword [esp + 0x20]
mov ecx, ebx
push 0x27
push edi
push dword [esp + 0x34]
call fcn.004beac0
add esp, 0xc
cmp dword [ebp + 0x10], 5
jne 0x4d095a
mov edx, 1
mov dword [esp + 0x38], edx
mov edi, dword [edi + 0x14]
test edi, edi
je 0x4d09f8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
test edx, edx
jne 0x4d092c
cmp dword [eax], edx
jle 0x4d09dd
mov edx, edi
mov ecx, ebx
call fcn.004bac60
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x5c], eax
cmp dword [esi + 0x10], ebx
jg 0x4d0987
mov ecx, esi
call fcn.004a1610
test eax, eax
je 0x4d0987
mov ebx, 1
jmp 0x4d09bf
mov eax, dword [edi + 0x14]
xor edx, edx
mov dword [esp + 0x38], edx
test eax, eax
je 0x4d0904
cmp byte [eax + 0x18], 5
je 0x4d0979
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4d0967
mov edi, dword [edi + 0x14]
jmp 0x4d090f
mov edi, dword [edi + 0x14]
mov edx, 1
mov dword [esp + 0x38], edx
jmp 0x4d090f
mov eax, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff0
push dword [esp + 0x64]
mov edx, ebx
mov ecx, esi
call fcn.004a1c70
mov eax, dword [esp + 0x5c]
add esp, 8
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov edi, dword [edi + 0x20]
add eax, 4
mov ebx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ecx
test edi, edi
jne 0x4d0920
cmp byte [esp + 0xf], 0
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
je 0x4d0ac7
cmp eax, edi
jg 0x4d0a1f
mov ecx, esi
call fcn.004a1610
test eax, eax
je 0x4d0a1f
mov edi, 1
jmp 0x4d0a57
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x4a
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 byte [esi + 0x6e], 0
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x2c], ebx
cmp dword [esi + 0x10], ebx
jg 0x4d0a78
mov ecx, esi
call fcn.004a1610
test eax, eax
je 0x4d0a78
mov dword [esp + 0x2c], 1
jmp 0x4d0ab0
mov eax, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0xc]
mov word [eax + ecx*4], 1
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
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov ebx, dword [esp + 0x2c]
cmp edx, edi
jle 0x4d0b1f
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
jmp 0x4d0b1f
mov ebx, edi
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jg 0x4d0ae7
mov ecx, esi
call fcn.004a1610
test eax, eax
je 0x4d0ae7
mov ebx, 1
mov dword [esp + 0x2c], ebx
jmp 0x4d0b1f
mov eax, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x69
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 byte [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d0b32
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d0b66
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x33
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
mov byte [esi + 0x6e], 0
cmp dword [esp + 0x24], 0
je 0x4d0c2f
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x10]
mov ecx, ebx
mov edx, dword [esp + 0x44]
push edi
call fcn.004b0d20
add esp, 4
mov dword [esp + 0x60], eax
cmp eax, edi
je 0x4d0be4
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x4d0be4
mov ebx, dword [edi + 0xc]
cmp dword [edi + 0x10], ebx
jg 0x4d0baa
mov ecx, edi
call fcn.004a1610
test eax, eax
jne 0x4d0be4
mov eax, dword [edi + 0x14]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x30]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
jmp 0x4d0be8
mov ebx, dword [esp + 0x30]
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d0bfb
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d0c2f
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov word [eax + ecx*4], 0x15
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
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp dword [eax + 0xc], ebx
jle 0x4d0dae
mov edi, edi
cmp ebx, dword [eax + 8]
jne 0x4d0c99
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d0c5c
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d0d9c
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0xa
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
mov byte [esi + 0x6e], 0
jmp 0x4d0d9c
mov eax, dword [esp + 0x58]
mov eax, dword [eax + ebx*4]
test eax, eax
jns 0x4d0d19
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d0cb7
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d0d00
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 0xc], edx
push edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
push ebx
mov byte [esi + 0x6e], 0
call fcn.004d0120
add esp, 8
jmp 0x4d0d9c
mov edx, dword [esp + 0x34]
mov ecx, esi
push edx
mov edx, dword [esp + 0x18]
push ebx
call fcn.004d0120
add esp, 8
jmp 0x4d0d9c
mov edi, dword [esp + 0x34]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 8]
push edi
mov eax, dword [eax + 0xc]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
call fcn.004b0d20
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, edi
je 0x4d0d9c
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4d0d9c
mov eax, dword [edi + 0xc]
mov dword [esp + 0x60], eax
cmp dword [edi + 0x10], eax
jg 0x4d0d64
mov ecx, edi
call fcn.004a1610
test eax, eax
jne 0x4d0d9c
mov eax, dword [esp + 0x60]
inc dword [edi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0xf
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 byte [edi + 0x6e], 0
mov eax, dword [esp + 0x14]
inc ebx
inc dword [esp + 0x34]
cmp ebx, dword [eax + 0xc]
jl 0x4d0c40
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
neg eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sbb eax, eax
and eax, dword [esp + 0x28]
push 0
push ebx
push dword [ebp + 0x10]
push 1
push eax
push dword [esp + 0x2c]
push dword [esp + 0x48]
push dword [esp + 0x3c]
call fcn.004c0640
mov edi, dword [esi + 0xc]
add esp, 0x20
cmp dword [esi + 0x10], edi
jg 0x4d0dfd
mov ecx, esi
call fcn.004a1610
test eax, eax
je 0x4d0dfd
mov edi, 1
jmp 0x4d0e35
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x33
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 byte [esi + 0x6e], 0
push dword [esp + 0x18]
mov edx, dword [esp + 0x18]
push dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
call fcn.004bc140
add esp, 8
cmp dword [esp + 0x24], 0
je 0x4d0ea3
mov ebx, dword [esi + 0xc]
cmp dword [esi + 0x10], ebx
jg 0x4d0e67
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d0e9f
mov eax, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x38
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 byte [esi + 0x6e], 0
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi + 0xc]
cmp edx, edi
jle 0x4d0eb4
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 0x14]
push 0
push 0
push 1
push dword [esp + 0x24]
push dword [esp + 0x40]
push dword [esp + 0x34]
call fcn.004c1210
mov eax, dword [esp + 0x54]
add esp, 0x18
test byte [eax + 0xc], 0x80
je 0x4d0f36
cmp dword [edi + 0x1a4], 0
jne 0x4d0f36
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d0efe
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d0f36
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x14
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 byte [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d0f49
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d0f7d
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
cmp edx, ebx
jle 0x4d0f8e
mov eax, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x4d1024
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], edx
test ecx, ecx
jne 0x4d0fba
cmp dword [edx], ecx
jle 0x4d1011
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d0fd1
mov ecx, esi
call fcn.004a1610
mov edx, dword [esp + 0x50]
test eax, eax
jne 0x4d1009
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edi, dword [esp + 0x44]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov ebx, dword [ebx + 0x20]
add edx, 4
inc eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], eax
test ebx, ebx
jne 0x4d0fb2
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d1037
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d106f
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x2a
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 byte [esi + 0x6e], 0
mov eax, dword [esp + 0x3c]
test byte [eax + 0xc], 0x80
je 0x4d1109
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x1a4], 0
jne 0x4d1109
cmp byte [eax + 0x13], 0
jne 0x4d1109
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4d10a7
mov ecx, esi
call fcn.004a1610
test eax, eax
jne 0x4d10df
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x10
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 byte [esi + 0x6e], 0
mov edx, 1
mov ecx, esi
call fcn.004a2290
mov eax, dword [esi]
cmp byte [eax + 0x1e], 0
jne 0x4d1109
mov ecx, dword [esi + 0x28]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.004a0a60
add esp, 0xc
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x4d1146
test ecx, ecx
je 0x4d1146
cmp ecx, dword [esi + 0xf0]
jb 0x4d1146
cmp ecx, dword [esi + 0xf4]
jae 0x4d1146
mov eax, dword [esi + 0xec]
mov dword [ecx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
jmp 0x4d1153
push ecx
call fcn.00491400
add esp, 4
test esi, esi
je 0x4d117d
test edi, edi
je 0x4d117d
cmp edi, dword [esi + 0xf0]
jb 0x4d117d
cmp edi, dword [esi + 0xf4]
jae 0x4d117d
mov eax, dword [esi + 0xec]
mov dword [edi], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], edi
jmp 0x4d1186
push edi
call fcn.00491400
add esp, 4
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.004ba3d0
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004aedc0
test ebx, ebx
je 0x4d11e7
mov edx, ebx
mov ecx, esi
call fcn.004ade90
cmp word [ebx + 2], 0
jl 0x4d11e7
test esi, esi
je 0x4d11de
cmp ebx, dword [esi + 0xf0]
jb 0x4d11de
cmp ebx, dword [esi + 0xf4]
jae 0x4d11de
mov eax, dword [esi + 0xec]
mov dword [ebx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00491400
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret