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

Disassembly:
sub esp, 0x60
mov eax, dword [0x63727c]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
mov ebx, ecx
push esi
xor ecx, ecx
mov esi, edx
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
cmp ebx, ecx
je case.default.0x49fe8c
mov eax, dword [ebp + 0x2c]
cmp eax, 0xc
ja case.default.0x49fe8c
jmp dword [eax*4 + 0x4a0db4]
mov ebx, 5
xor edx, edx
cmp edi, ecx
mov dword [esp + 0x1c], ebx
jle 0x49fec4
mov eax, dword [esi + edx*4]
test eax, eax
jne 0x49feae
mov eax, 0x5d3001
mov ecx, eax
call fcn.00495ef0
cmp eax, ebx
jle 0x49febb
mov ebx, eax
inc edx
cmp edx, edi
jl 0x49fea2
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp + 0x14]
lea ecx, [eax + 1]
mov dword [ebp + 0x14], ecx
test eax, eax
jle 0x49fee6
mov eax, dword [ebp + 0x18]
lea edx, [ebp + 0x7e]
push edx
push 0x5e3678
push eax
call fcn.00495cb0
add esp, 0xc
test edi, edi
jle case.default.0x49fe8c
mov ebx, dword [esp + 0x18]
sub esi, ebx
mov eax, dword [ebx]
test eax, eax
jne 0x49ff00
lea eax, [ebp + 0x3dc]
mov edx, dword [esp + 0x1c]
lea ecx, [ebp + 0x7e]
push ecx
mov ecx, dword [esi + ebx]
push eax
mov eax, dword [ebp + 0x18]
push ecx
push edx
push str._s___s_s
push eax
call fcn.00495cb0
add esp, 0x18
add ebx, 4
sub edi, 1
jne 0x49fef4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00584267
add esp, 0x60
ret
cmp eax, 1
jne 0x49ff57
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x1c], eax
lea eax, [ebp + 0x7e]
lea edx, [ebp + 0xbc]
mov dword [esp + 0x2c], eax
jmp 0x49ff6c
mov edx, 0x5e4c68
mov dword [esp + 0x1c], 1
mov dword [esp + 0x2c], 0x5e3518
mov eax, dword [ebp + 0x14]
lea esi, [eax + 1]
mov dword [ebp + 0x14], esi
cmp eax, ecx
jne 0x4a00d5
mov dword [esp + 0x20], ecx
test edi, edi
jle 0x4a0078
mov ecx, dword [esp + 0x14]
lea eax, [ebp + 0x24c]
mov dword [esp + 0x24], eax
mov eax, edx
sub eax, ebx
mov dword [esp + 0x30], eax
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
jmp 0x49ffb0
cmp dword [esp + 0x20], 0x64
jge 0x49ffcc
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
add ecx, edx
mov esi, dword [ecx + eax]
test esi, esi
jne 0x4a0010
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
jne 0x49ffdb
mov eax, 0x5d3001
mov edx, eax
call fcn.00495f10
mov esi, eax
cmp esi, 0xa
jge 0x49ffee
mov esi, 0xa
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax]
test eax, eax
jne 0x4a0003
lea eax, [ebp + 0x3dc]
mov edx, eax
call fcn.00495f10
cmp esi, eax
jge 0x4a0010
mov esi, eax
cmp dword [esp + 0x20], 0x64
jge 0x4a001d
mov ecx, dword [esp + 0x24]
mov dword [ecx], esi
cmp dword [esp + 0x1c], 0
je 0x4a005a
mov edx, dword [esp + 0x14]
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [edx]
call fcn.00495d50
lea eax, [edi - 1]
add esp, 4
cmp dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
je 0x4a0048
mov eax, 0x5d5294
mov ecx, dword [ebp + 0x18]
push eax
push 0x5e3678
push ecx
call fcn.00495cb0
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, 4
add dword [esp + 0x24], ecx
add dword [esp + 0x14], ecx
inc eax
cmp eax, edi
mov dword [esp + 0x20], eax
jl 0x49ffb0
cmp dword [esp + 0x1c], 0
je 0x4a00d5
xor esi, esi
test edi, edi
jle 0x4a00d5
lea ebx, [ebp + 0x24c]
jmp 0x4a0090
cmp esi, 0x64
jge 0x4a009f
mov eax, dword [ebx]
test eax, eax
jge 0x4a00a4
neg eax
jmp 0x4a00a4
mov eax, 0xa
lea ecx, [edi - 1]
cmp esi, ecx
mov ecx, dword [esp + 0x2c]
je 0x4a00b4
mov ecx, 0x5d5294
mov edx, dword [ebp + 0x18]
push ecx
push str.____________________________________________________________________________________________________________________
push eax
push eax
push str.__.s_s
push edx
call fcn.00495cb0
inc esi
add esp, 0x18
add ebx, 4
cmp esi, edi
jl 0x4a0090
mov dword [esp + 0x20], 0
test edi, edi
jle case.default.0x49fe8c
dec edi
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x20]
mov edi, edi
cmp edi, 0x64
jge 0x4a00fe
mov ebx, dword [ebp + edi*4 + 0x24c]
jmp 0x4a0103
mov ebx, 0xa
cmp dword [ebp + 0x2c], 9
jne 0x4a0139
mov eax, dword [esp + 0x18]
mov edx, dword [eax + edi*4]
test edx, edx
je 0x4a0139
mov ecx, edx
mov al, byte [ecx]
xor esi, esi
test al, al
je 0x4a012e
mov edi, edi
and al, 0xc0
inc ecx
cmp al, 0x80
je 0x4a0128
inc esi
mov al, byte [ecx]
test al, al
jne 0x4a0120
cmp esi, ebx
jle 0x4a0139
call fcn.00495f10
mov ebx, eax
cmp edi, 1
jne 0x4a017f
mov ecx, dword [ebp + 0x508]
test ecx, ecx
je 0x4a017f
cmp dword [ebp + 0x500], 0
je 0x4a017f
mov eax, dword [ebp + 0x510]
cmp eax, dword [ebp + 0x50c]
jge 0x4a0179
mov ecx, dword [ecx + eax*4]
mov edx, dword [ebp + 0x18]
push 0x5d3001
push ecx
push str._.s
push edx
call fcn.00495cb0
add esp, 0x10
inc dword [ebp + 0x510]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
test eax, eax
jne 0x4a0190
lea eax, [ebp + 0x3dc]
push ebx
mov ebx, dword [ebp + 0x18]
mov esi, eax
call fcn.00495d50
mov eax, dword [esp + 0x30]
add esp, 4
cmp edi, dword [esp + 0x30]
je 0x4a01ad
mov eax, 0x5d5294
mov ecx, dword [ebp + 0x18]
push eax
push 0x5e3678
push ecx
call fcn.00495cb0
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x78]
jl 0x4a00f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00584267
add esp, 0x60
ret
mov edx, ebx
mov eax, dword [edx]
mov ebx, dword [ebp + 0x18]
mov edi, 0x5e6134
call fcn.0049faf0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00584267
add esp, 0x60
ret
mov eax, dword [ebx]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x13], cl
mov dword [esp + 0x1c], ecx
cmp eax, ecx
je case.default.0x49fe8c
push ecx
push eax
push str.CREATE_VIEW_
call fcn.004b7ea0
add esp, 0xc
test eax, eax
je 0x4a04b4
mov eax, dword [ebx]
push 0
push eax
push str.CREATE_TRIG_
call fcn.004b7ea0
add esp, 0xc
test eax, eax
je 0x4a04b4
mov ecx, ebx
mov edx, dword [ecx]
push edx
push 0x5e3678
call fcn.004d30e0
mov esi, eax
movzx eax, byte [esi]
push eax
xor edi, edi
xor ebx, ebx
call fcn.0058aef1
add esp, 0xc
test eax, eax
je 0x4a0284
movzx ecx, byte [esi + ebx + 1]
inc ebx
push ecx
call fcn.0058aef1
add esp, 4
test eax, eax
jne 0x4a0271
lea eax, [esi + ebx]
mov bl, byte [eax]
test bl, bl
je 0x4a031c
mov dword [esp + 0x28], eax
movzx edx, bl
push edx
call fcn.0058aef1
add esp, 4
test eax, eax
je 0x4a02cc
cmp byte [edi + esi - 1], 0xd
jne 0x4a02b1
mov byte [edi + esi - 1], 0xa
movzx eax, byte [edi + esi - 1]
push eax
call fcn.0058aef1
add esp, 4
test eax, eax
jne 0x4a02f1
cmp byte [edi + esi - 1], 0x28
jne 0x4a02ed
jmp 0x4a02f1
cmp bl, 0x28
je 0x4a02d6
cmp bl, 0x29
jne 0x4a02ed
test edi, edi
jle 0x4a02ed
movzx ecx, byte [edi + esi - 1]
push ecx
call fcn.0058aef1
add esp, 4
test eax, eax
je 0x4a02ed
dec edi
mov byte [edi + esi], bl
inc edi
mov eax, dword [esp + 0x28]
mov bl, byte [eax + 1]
inc eax
mov dword [esp + 0x28], eax
test bl, bl
jne 0x4a0295
test edi, edi
jle 0x4a031c
movzx edx, byte [esi + edi - 1]
push edx
call fcn.0058aef1
add esp, 4
test eax, eax
je 0x4a031c
dec edi
test edi, edi
jg 0x4a0305
mov ecx, esi
mov byte [edi + esi], 0
call fcn.00495ef0
cmp eax, 0x4f
jl 0x4a0487
mov bl, byte [esi]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
test bl, bl
je 0x4a047f
mov ecx, 1
cmp bl, byte [esp + 0x13]
jne 0x4a0359
mov byte [esp + 0x13], 0
jmp 0x4a03d7
cmp bl, 0x22
je 0x4a03d3
cmp bl, 0x27
je 0x4a03d3
cmp bl, 0x60
je 0x4a03d3
cmp bl, 0x5b
jne 0x4a0374
mov byte [esp + 0x13], 0x5d
jmp 0x4a03d7
cmp bl, 0x2d
jne 0x4a0386
cmp byte [esi + eax + 1], bl
jne 0x4a03d7
mov byte [esp + 0x13], 0xa
jmp 0x4a03d7
cmp bl, 0x28
jne 0x4a0391
add dword [esp + 0x14], ecx
jmp 0x4a03d7
cmp bl, 0x29
jne 0x4a03d7
sub dword [esp + 0x14], ecx
cmp dword [esp + 0x1c], 0
jle 0x4a03d7
cmp dword [esp + 0x14], 0
jne 0x4a03d7
cmp dword [esp + 0x18], 0
jle 0x4a03d7
mov eax, dword [ebp + 0x18]
mov edi, dword [esp + 0x18]
push 0x5e3518
push eax
call fcn.0049fb30
add esp, 8
mov dword [esp + 0x18], 0
mov ecx, 1
jmp 0x4a03d7
mov byte [esp + 0x13], bl
mov eax, dword [esp + 0x18]
mov byte [eax + esi], bl
add eax, ecx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], ecx
jne 0x4a046a
cmp byte [esp + 0x13], 0
jne 0x4a046a
cmp bl, 0x28
je 0x4a041b
cmp bl, 0xa
je 0x4a0417
cmp bl, 0x2c
jne 0x4a046a
mov ecx, dword [esp + 0x20]
lea edi, [esi + ecx + 1]
call fcn.0049fb90
test eax, eax
jne 0x4a046a
jmp 0x4a041b
dec dword [esp + 0x18]
mov edx, dword [ebp + 0x18]
mov edi, dword [esp + 0x18]
push 0x5e6110
push edx
call fcn.0049fb30
mov eax, dword [esp + 0x28]
movzx ecx, byte [esi + eax + 1]
inc dword [esp + 0x24]
push ecx
mov dword [esp + 0x24], 0
call fcn.0058aef1
add esp, 0xc
test eax, eax
je 0x4a046a
mov edi, dword [esp + 0x20]
movzx edx, byte [esi + edi + 2]
inc edi
push edx
call fcn.0058aef1
add esp, 4
test eax, eax
jne 0x4a0453
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x20]
mov bl, byte [esi + eax + 1]
inc eax
mov dword [esp + 0x20], eax
test bl, bl
jne 0x4a0344
mov eax, dword [esp + 0x18]
mov byte [eax + esi], 0
mov ebx, dword [ebp + 0x18]
mov edi, 0x5e6134
mov eax, esi
call fcn.0049faf0
push esi
call fcn.004ac9a0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00584267
add esp, 0x60
ret
mov ecx, dword [ebx]
mov edx, dword [ebp + 0x18]
push ecx
push str._s__n
push edx
call fcn.00495cb0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00584267
add esp, 0x60
ret
mov eax, dword [ebp + 0x14]
lea edx, [eax + 1]
mov dword [ebp + 0x14], edx
cmp eax, ecx
jne 0x4a0528
cmp dword [ebp + 0x38], ecx
je 0x4a0528
xor esi, esi
test edi, edi
jle 0x4a0528
mov ebx, dword [esp + 0x14]
lea esp, [esp]
lea eax, [edi - 1]
cmp esi, eax
lea eax, [ebp + 0x7e]
je 0x4a050d
lea eax, [ebp + 0x6a]
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [ebx + esi*4]
push eax
push 0x5e603c
push ecx
call fcn.00495cb0
inc esi
add esp, 0x10
cmp esi, edi
jl 0x4a0500
xor esi, esi
test edi, edi
jle case.default.0x49fe8c
lea ebx, [edi - 1]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + esi*4]
test eax, eax
jne 0x4a0546
lea eax, [ebp + 0x3dc]
push eax
mov eax, dword [ebp + 0x18]
push 0x5e3678
push eax
call fcn.00495cb0
add esp, 0xc
cmp esi, ebx
jge 0x4a056b
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 0x6a]
push ecx
push 0x5e3678
push edx
jmp 0x4a0578
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 0x7e]
push eax
push 0x5e3678
push ecx
call fcn.00495cb0
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4a0535
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00584267
add esp, 0x60
ret
mov eax, dword [ebp + 0x14]
lea edx, [eax + 1]
mov dword [ebp + 0x14], edx
cmp eax, ecx
jne 0x4a0607
cmp dword [ebp + 0x38], ecx
je 0x4a0607
mov eax, dword [ebp + 0x18]
push str._TR_
push eax
call fcn.00589fad
add esp, 8
xor esi, esi
test edi, edi
jle 0x4a05f6
mov ecx, dword [ebp + 0x18]
push str._TH_
push ecx
call fcn.00589fad
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + esi*4]
mov ebx, dword [ebp + 0x18]
call fcn.0049f7f0
mov eax, dword [ebp + 0x18]
push str.__TH__n
push eax
call fcn.00589fad
inc esi
add esp, 0x10
cmp esi, edi
jl 0x4a05c3
mov ecx, dword [ebp + 0x18]
push str.__TR__n
push ecx
call fcn.00589fad
add esp, 8
mov edx, dword [ebp + 0x18]
push str._TR_
push edx
call fcn.00589fad
add esp, 8
xor esi, esi
test edi, edi
jle 0x4a0660
mov edi, edi
mov eax, dword [ebp + 0x18]
push str._TD_
push eax
call fcn.00589fad
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + esi*4]
add esp, 8
test eax, eax
jne 0x4a0642
lea eax, [ebp + 0x3dc]
mov ebx, dword [ebp + 0x18]
call fcn.0049f7f0
mov edx, dword [ebp + 0x18]
push str.__TD__n
push edx
call fcn.00589fad
inc esi
add esp, 8
cmp esi, edi
jl 0x4a0620
mov eax, dword [ebp + 0x18]
push str.__TR__n
push eax
call fcn.00589fad
jmp 0x4a0d9c
mov eax, dword [ebp + 0x14]
lea edx, [eax + 1]
mov dword [ebp + 0x14], edx
cmp eax, ecx
jne 0x4a06e8
cmp dword [ebp + 0x38], ecx
je 0x4a06e8
xor esi, esi
cmp edi, ecx
jle 0x4a06cc
mov ebx, edi
dec ebx
mov edi, edi
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
test eax, eax
jne 0x4a06a0
mov eax, 0x5d3001
mov edi, dword [ebp + 0x18]
push eax
call fcn.0049f6f0
add esp, 4
cmp esi, ebx
jge 0x4a06c5
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 0x6a]
push ecx
push 0x5e3678
push edx
call fcn.00495cb0
add esp, 0xc
inc esi
cmp esi, dword [esp + 0x78]
jl 0x4a0690
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 0x7e]
push eax
push 0x5e3678
push ecx
call fcn.00495cb0
mov edi, dword [esp + 0x84]
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x4a0730
mov ebx, dword [esp + 0x78]
dec ebx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + esi*4]
test eax, eax
jne 0x4a0704
lea eax, [ebp + 0x3dc]
mov edi, dword [ebp + 0x18]
push eax
call fcn.0049f6f0
add esp, 4
cmp esi, ebx
jge 0x4a0729
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 0x6a]
push eax
push 0x5e3678
push ecx
call fcn.00495cb0
add esp, 0xc
inc esi
cmp esi, dword [esp + 0x78]
jl 0x4a06f3
mov eax, dword [ebp + 0x18]
lea edx, [ebp + 0x7e]
push edx
push 0x5e3678
push eax
call fcn.00495cb0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00584267
add esp, 0x60
ret
mov esi, dword [ebp + 0x18]
push esi
call fcn.00586bb9
add esp, 4
push 0x8000
push esi
call fcn.0058b626
add esp, 4
push eax
call fcn.0058b52f
mov eax, dword [ebp + 0x14]
add esp, 8
lea ecx, [eax + 1]
mov dword [ebp + 0x14], ecx
test eax, eax
jne 0x4a07e4
cmp dword [ebp + 0x38], eax
je 0x4a07e4
xor esi, esi
test edi, edi
jle 0x4a07c8
mov ebx, edi
dec ebx
jmp 0x4a07a0
mov edx, dword [esp + 0x14]
mov edi, dword [edx + esi*4]
test edi, edi
jne 0x4a07b0
mov edi, 0x5d3001
xor eax, eax
cmp esi, ebx
setl al
push eax
push ebp
call fcn.0049f8a0
inc esi
add esp, 8
cmp esi, dword [esp + 0x78]
jl 0x4a07a0
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 0x7e]
push ecx
push 0x5e3678
push edx
call fcn.00495cb0
mov edi, dword [esp + 0x84]
add esp, 0xc
test edi, edi
jle 0x4a0827
xor esi, esi
test edi, edi
jle 0x4a0812
mov ebx, dword [esp + 0x78]
dec ebx
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + esi*4]
xor eax, eax
cmp esi, ebx
setl al
push eax
push ebp
call fcn.0049f8a0
inc esi
add esp, 8
cmp esi, dword [esp + 0x78]
jl 0x4a07f3
mov eax, dword [ebp + 0x18]
lea edx, [ebp + 0x7e]
push edx
push 0x5e3678
push eax
call fcn.00495cb0
add esp, 0xc
mov ebp, dword [ebp + 0x18]
push ebp
call fcn.00586bb9
add esp, 4
push 0x4000
push ebp
call fcn.0058b626
add esp, 4
push eax
call fcn.0058b52f
jmp 0x4a0d9c
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x18]
push ecx
push str.INSERT_INTO__s
push edx
call fcn.00495cb0
add esp, 0xc
cmp dword [ebp + 0x38], 0
je 0x4a0905
mov eax, dword [ebp + 0x18]
push 0x5e54a0
push eax
call fcn.00589fad
add esp, 8
xor ebx, ebx
test edi, edi
jle 0x4a08e9
test ebx, ebx
jle 0x4a0897
mov ecx, dword [ebp + 0x18]
push 0x5e546c
push ecx
call fcn.00589fad
add esp, 8
mov edx, esi
mov edi, dword [edx + ebx*4]
call fcn.004962d0
test al, al
mov eax, esi
mov ecx, dword [eax + ebx*4]
push ecx
je 0x4a08d1
push str.__w_
call fcn.004d30e0
mov edx, dword [ebp + 0x18]
mov edi, eax
push edi
push 0x5e3678
push edx
call fcn.00495cb0
push edi
call fcn.004ac9a0
add esp, 0x18
jmp 0x4a08e2
mov edx, dword [ebp + 0x18]
push 0x5e3678
push edx
call fcn.00589fad
add esp, 0xc
inc ebx
cmp ebx, dword [esp + 0x78]
jl 0x4a0882
mov eax, dword [ebp + 0x18]
push 0x5e5468
push eax
call fcn.00589fad
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x20]
add esp, 8
inc dword [ebp + 0x14]
xor esi, esi
test edi, edi
jle 0x4a0ad1
mov eax, dword [esp + 0x7c]
sub eax, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
mov eax, 0x5e546c
test esi, esi
jg 0x4a092e
mov eax, str._VALUES_
mov ecx, dword [ebp + 0x18]
push eax
push ecx
call fcn.00589fad
mov eax, dword [ebx]
add esp, 8
test eax, eax
je 0x4a0aae
cmp dword [esp + 0x7c], 0
je 0x4a0a67
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + ebx]
cmp ecx, 5
je 0x4a0aae
cmp ecx, 3
jne 0x4a098a
test byte [ebp + 0x40], 0x10
mov ecx, dword [ebp + 0x18]
je 0x4a097c
push ecx
call fcn.0049f3d0
add esp, 4
jmp 0x4a0abf
push eax
call fcn.0049f4c0
add esp, 4
jmp 0x4a0abf
cmp ecx, 1
jne 0x4a0995
push eax
jmp 0x4a0a75
cmp ecx, 2
jne 0x4a0a2e
mov eax, dword [ebp + 0x500]
push esi
push eax
call fcn.004c5ae0
fst qword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add esp, 8
test eax, eax
jne 0x4a09fc
cmp ecx, 0x7ff00000
jne 0x4a09db
mov ecx, dword [ebp + 0x18]
fstp st(0)
push str.1e999
push ecx
call fcn.00589fad
jmp 0x4a0abc
test eax, eax
jne 0x4a09fc
cmp ecx, 0xfff00000
jne 0x4a09fc
mov edx, dword [ebp + 0x18]
fstp st(0)
push str._1e999
push edx
call fcn.00589fad
jmp 0x4a0abc
sub esp, 8
fstp qword [esp]
push str.__.20g
lea eax, [esp + 0x44]
push eax
push 0x32
call fcn.004accb0
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x4c]
push ecx
push 0x5e3678
push edx
call fcn.00589fad
add esp, 0x20
jmp 0x4a0abf
cmp ecx, 4
jne 0x4a0a67
mov ecx, dword [ebp + 0x500]
test ecx, ecx
je 0x4a0a67
push esi
push ecx
call fcn.004d5b40
mov edi, eax
mov eax, dword [ebp + 0x500]
push esi
push eax
call fcn.004cfd30
push edi
mov edi, dword [ebp + 0x18]
mov ebx, eax
call fcn.0049f320
mov ebx, dword [esp + 0x30]
add esp, 0x14
jmp 0x4a0abf
xor edi, edi
call fcn.00495df0
test eax, eax
je 0x4a0a88
mov ecx, dword [ebx]
push ecx
mov edx, dword [ebp + 0x18]
push 0x5e3678
push edx
call fcn.00495cb0
add esp, 0xc
jmp 0x4a0abf
test byte [ebp + 0x40], 0x10
je 0x4a0a9e
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebx]
call fcn.0049f3d0
add esp, 4
jmp 0x4a0abf
mov ecx, dword [ebx]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.0049f4c0
add esp, 4
jmp 0x4a0abf
mov edx, dword [ebp + 0x18]
push str.NULL
push edx
call fcn.00495cb0
add esp, 8
inc esi
add ebx, 4
cmp esi, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
jl 0x4a0920
mov eax, dword [ebp + 0x18]
push 0x5e60a8
push eax
call fcn.00589fad
jmp 0x4a0d9c
cmp dword [ebp + 0x14], ecx
jne 0x4a0b2e
cmp dword [ebp + 0x38], ecx
je 0x4a0b2e
xor ebx, ebx
test edi, edi
jle 0x4a0b1d
test ebx, ebx
jle 0x4a0b09
mov ecx, dword [ebp + 0x18]
push 0x5e546c
push ecx
call fcn.00589fad
add esp, 8
mov edx, dword [ebp + 0x18]
mov eax, dword [esi + ebx*4]
push edx
call fcn.0049f3d0
inc ebx
add esp, 4
cmp ebx, edi
jl 0x4a0af4
mov eax, dword [ebp + 0x18]
push 0x5e3518
push eax
call fcn.00589fad
add esp, 8
inc dword [ebp + 0x14]
xor esi, esi
test edi, edi
jle 0x4a0c8a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
sub ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov ebx, eax
nop
test esi, esi
jle 0x4a0b65
mov ecx, dword [ebp + 0x18]
push 0x5e546c
push ecx
call fcn.00589fad
add esp, 8
mov eax, dword [ebx]
test eax, eax
je 0x4a0c67
cmp dword [esp + 0x7c], 0
je 0x4a0c36
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + edx]
cmp ecx, 5
je 0x4a0c67
cmp ecx, 3
jne 0x4a0ba0
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0049f3d0
add esp, 4
jmp 0x4a0c78
cmp ecx, 1
jne 0x4a0bbc
mov edx, dword [ebp + 0x18]
push eax
push 0x5e3678
push edx
call fcn.00495cb0
add esp, 0xc
jmp 0x4a0c78
cmp ecx, 2
jne 0x4a0bfd
mov eax, dword [ebp + 0x500]
push esi
push eax
call fcn.004c5ae0
fstp qword [esp]
push str.__.20g
lea ecx, [esp + 0x44]
push ecx
push 0x32
call fcn.004accb0
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x4c]
push edx
push 0x5e3678
push eax
call fcn.00589fad
add esp, 0x20
jmp 0x4a0c78
cmp ecx, 4
jne 0x4a0c36
mov ecx, dword [ebp + 0x500]
test ecx, ecx
je 0x4a0c36
push esi
push ecx
call fcn.004d5b40
mov ecx, dword [ebp + 0x500]
push esi
push ecx
mov edi, eax
call fcn.004cfd30
push edi
mov edi, dword [ebp + 0x18]
mov ebx, eax
call fcn.0049f320
mov ebx, dword [esp + 0x30]
add esp, 0x14
jmp 0x4a0c78
xor edi, edi
call fcn.00495df0
test eax, eax
je 0x4a0c57
mov edx, dword [ebx]
mov eax, dword [ebp + 0x18]
push edx
push 0x5e3678
push eax
call fcn.00495cb0
add esp, 0xc
jmp 0x4a0c78
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebx]
push ecx
call fcn.0049f3d0
add esp, 4
jmp 0x4a0c78
mov edx, dword [ebp + 0x18]
push str.NULL
push edx
call fcn.00495cb0
add esp, 8
inc esi
add ebx, 4
cmp esi, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
jl 0x4a0b50
mov eax, dword [ebp + 0x18]
push 0x5e3518
push eax
call fcn.00589fad
jmp 0x4a0d9c
mov eax, dword [ebp + 0x14]
lea edx, [eax + 1]
mov dword [ebp + 0x14], edx
cmp eax, ecx
jne 0x4a0d0a
cmp dword [ebp + 0x38], ecx
je 0x4a0d0a
xor esi, esi
test edi, edi
jle 0x4a0cf5
test esi, esi
jle 0x4a0cce
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 0x6a]
push eax
push 0x5e3678
push ecx
call fcn.00495cb0
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [edx + esi*4]
test eax, eax
jne 0x4a0cde
mov eax, 0x5d3001
push eax
mov eax, dword [ebp + 0x18]
push 0x5e3678
push eax
call fcn.00495cb0
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4a0cb5
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 0x7e]
push ecx
push 0x5e3678
push edx
call fcn.00495cb0
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x4a0d4d
test esi, esi
jle 0x4a0d29
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 0x6a]
push eax
push 0x5e3678
push ecx
call fcn.00495cb0
add esp, 0xc
mov eax, dword [ebx + esi*4]
test eax, eax
jne 0x4a0d36
lea eax, [ebp + 0x3dc]
mov edx, dword [ebp + 0x18]
push eax
push 0x5e3678
push edx
call fcn.00495cb0
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4a0d10
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 0x7e]
push eax
push 0x5e3678
push ecx
call fcn.00495cb0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00584267
add esp, 0x60
ret
mov esi, ebx
mov edx, dword [esi + 4]
push edx
call fcn.0058a276
add esp, 4
push eax
mov eax, dword [esi]
push eax
call fcn.0058a276
mov edi, dword [esi + 0xc]
add esp, 4
push eax
mov ebx, ebp
call fcn.0049fbd0
add esp, 8
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00584267
add esp, 0x60
ret