Function at 0x4e9bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], 0
cmp dword [ebp + 0xc], 0
jne 0x4e9bfd
mov dword [ebp - 0x24], 0x79
jmp 0x4e9c06
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
sub eax, 0x13
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xa2
ja case.0x4e9c2c.2
mov ecx, dword [ebp - 0x54]
movzx edx, byte [ecx + 0x4eaf8c]
jmp dword [edx*4 + 0x4eaf14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x22]
imul ecx, eax, 0x14
mov edx, dword [ebp - 0x58]
add ecx, dword [edx + 0x1c]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x4e9c66
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xc]
jmp 0x4eaf0e
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 1]
test ecx, ecx
je case.0x4e9c2c.148
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x40]
movsx eax, word [edx + 0x12]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 8]
push edx
push 0x5d
mov eax, dword [ebp - 4]
push eax
call fcn.0050c790
add esp, 0x14
mov ecx, dword [ebp - 0x40]
movsx edx, word [ecx + 0x10]
test edx, edx
jge 0x4e9caa
jmp 0x4e9cd9
mov eax, dword [ebp - 0x40]
movsx ecx, word [eax + 0x10]
shl ecx, 4
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx + 4]
movsx ecx, byte [eax + ecx + 8]
cmp ecx, 0x45
jne 0x4e9cd9
mov edx, dword [ebp + 0x10]
push edx
push 0x56
mov eax, dword [ebp - 4]
push eax
call fcn.0050c750
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
and ecx, 8
je 0x4e9d72
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004e9bc0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x2c], 0
je 0x4e9d37
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x20]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
push ecx
call fcn.00508b70
add esp, 8
movsx edx, al
mov dword [ebp - 0x70], edx
jmp 0x4e9d41
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + 1]
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x70], 0x41
jle 0x4e9d6a
push 0xffffffffffffffff
mov edx, dword [ebp - 0x70]
lea eax, [edx*2 + 0x5b7db4]
push eax
push 0
push 1
mov ecx, dword [ebp - 0x44]
push ecx
push 0x5f
mov edx, dword [ebp - 4]
push edx
call fcn.0050c830
add esp, 0x1c
mov eax, dword [ebp - 0x44]
jmp 0x4eaf0e
cmp dword [ebp - 0x7c], 0
jge 0x4e9ec5
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
jge 0x4e9eb9
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x20]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x74], 0
jge 0x4e9db0
mov edx, dword [ebp + 8]
or eax, 0xffffffff
sub eax, dword [edx + 0x34]
jmp 0x4eaf0e
mov eax, dword [ebp - 0x74]
shl eax, 4
mov ecx, dword [ebp - 0x78]
add eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
movzx edx, word [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x78]
push eax
call fcn.00508bf0
add esp, 8
movsx ecx, ax
mov edx, dword [ebp + 8]
sub ecx, dword [edx + 0x34]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 0xe]
and ecx, 0x60
je 0x4e9e71
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0xe]
and eax, 0x100
je 0x4e9e18
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
push edx
push 0x5eabc4
mov eax, dword [ebp + 8]
push eax
call fcn.004e7db0
add esp, 0xc
xor eax, eax
jmp 0x4eaf0e
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 0xe]
or edx, 0x100
mov eax, dword [ebp - 0x20]
mov word [eax + 0xe], dx
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 0xe]
and edx, 0x80
je 0x4e9e53
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e8f90
add esp, 0x10
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 0xe]
and edx, 0xfffffe7f
mov eax, dword [ebp - 0x20]
mov word [eax + 0xe], dx
mov eax, dword [ebp - 0x5c]
jmp 0x4eaf0e
mov ecx, dword [ebp - 0x20]
movsx edx, byte [ecx + 8]
cmp edx, 0x45
jne 0x4e9eaf
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x50
mov edx, dword [ebp - 4]
push edx
call fcn.0050c770
add esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
push 0x56
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c750
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov eax, dword [ebp - 0x5c]
jmp 0x4eaf0e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
sub eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 2]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x20]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e9040
add esp, 0x18
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2c], 0
jne 0x4e9f1a
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 1]
cmp eax, 0x45
jne 0x4e9f1a
mov ecx, dword [ebp - 0x44]
push ecx
push 0x56
mov edx, dword [ebp - 4]
push edx
call fcn.0050c750
add esp, 0xc
mov eax, dword [ebp - 0x44]
jmp 0x4eaf0e
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b2860
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004ed7b0
add esp, 4
push eax
push 0x47
mov edx, dword [ebp - 4]
push edx
call fcn.0050c770
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004b29e0
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.005181c0
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0x4a
mov eax, dword [ebp - 4]
push eax
call fcn.0050c770
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp + 0xc]
add ecx, dword [edx + 8]
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0xa4]
push eax
call fcn.005088a0
add esp, 4
sub eax, 1
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0040d880
add esp, 4
push eax
call fcn.004f3870
add esp, 0xc
mov dword [ebp - 0xe8], eax
push 0xfffffffffffffff9
mov ecx, dword [ebp - 0xe8]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xa8]
cdq
sub eax, edx
sar eax, 1
push eax
push 0x4c
mov eax, dword [ebp - 4]
push eax
call fcn.0050c830
add esp, 0x1c
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x20]
push eax
push 0x4d
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c770
add esp, 0x10
mov edx, 1
shl edx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
movsx edx, byte [ecx + edx]
test edx, edx
je 0x4ea0c5
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 0x20]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe0]
push eax
call fcn.0050c220
add esp, 8
mov dword [ebp - 0xec], eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe0]
mov dword [edx + ecx], 0
push 0xffffffffffffffff
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0050cb40
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x1c]
jmp 0x4eaf0e
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004e9bc0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
je 0x4ea116
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x50
mov eax, dword [ebp - 4]
push eax
call fcn.0050c770
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
call fcn.004d9140
add esp, 8
movsx ecx, al
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0x57
mov eax, dword [ebp - 4]
push eax
call fcn.0050c770
add esp, 0x10
mov eax, dword [ebp - 0x10]
jmp 0x4eaf0e
cmp dword [ebp - 0x24], 0x2d
jne 0x4ea157
mov dword [ebp - 0xac], 0x35
jmp 0x4ea161
mov dword [ebp - 0xac], 0x34
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x60], 0x80
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004ec9e0
add esp, 4
test eax, eax
je 0x4ea1ad
movzx edx, byte [ebp - 0x60]
push edx
movzx eax, byte [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b3300
add esp, 0x14
jmp 0x4ea28d
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004eb030
add esp, 0xc
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004eb030
add esp, 0xc
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x10]
push edx
push 1
push 0x47
mov eax, dword [ebp - 4]
push eax
call fcn.0050c770
add esp, 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
and edx, 0x200
je 0x4ea20c
mov dword [ebp - 0xb0], 1
jmp 0x4ea216
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0050d110
add esp, 4
add eax, 2
push eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b1ec0
add esp, 0x24
cmp dword [ebp - 0x60], 0x80
jne 0x4ea273
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x47
mov edx, dword [ebp - 4]
push edx
call fcn.0050c770
add esp, 0x10
jmp 0x4ea28d
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0x5b
mov eax, dword [ebp - 4]
push eax
call fcn.0050c790
add esp, 0x14
jmp 0x4eaeeb
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004eb030
add esp, 0xc
mov dword [ebp - 8], eax
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004eb030
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c790
add esp, 0x14
jmp 0x4eaeeb
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx]
cmp edx, 0x9b
jne 0x4ea321
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b2860
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax]
cmp ecx, 0x99
jne 0x4ea352
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004b29e0
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov byte [ebp - 0x164], 0x9b
mov dword [ebp - 0x160], 0x4400
mov dword [ebp - 0x15c], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x164]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004eb030
add esp, 0xc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004eb030
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0x6b
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c790
add esp, 0x14
jmp 0x4eaeeb
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004eb030
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0050c770
add esp, 0x10
jmp 0x4eaeeb
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004eb030
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
call fcn.004ed7b0
add esp, 4
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 2]
cmp edx, 0x2d
jne 0x4ea43e
mov dword [ebp - 0xb4], 1
jmp 0x4ea448
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xb8], 0
jne 0x4ea469
mov dword [ebp - 0xbc], 1
jmp 0x4ea473
mov dword [ebp - 0xbc], 0
mov ecx, dword [ebp - 0xb8]
xor ecx, dword [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0x5a
mov edx, dword [ebp - 4]
push edx
call fcn.0050c8e0
add esp, 0x18
jmp 0x4eaeeb
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0x47
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c770
add esp, 0x10
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004eb030
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0050c750
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0x47
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c770
add esp, 0x10
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00517df0
add esp, 8
jmp 0x4eaeeb
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x84], 0
je 0x4ea548
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 0x22]
test ecx, ecx
jl 0x4ea548
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x22]
mov ecx, dword [ebp - 0x84]
cmp eax, dword [ecx + 0x2c]
jl 0x4ea55f
mov edx, dword [ebp + 0xc]
push edx
push str.misuse_of_aggregate:__T__
mov eax, dword [ebp + 8]
push eax
call fcn.004e7db0
add esp, 0xc
jmp 0x4ea57b
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x22]
imul eax, edx, 0x14
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x28]
mov eax, dword [edx + eax + 8]
jmp 0x4eaf0e
jmp 0x4eaeeb
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov al, byte [edx + 0x54]
mov byte [ebp - 0x29], al
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
and edx, 0x1000000
je 0x4ea5bb
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x38]
jmp 0x4eaf0e
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x17]
test eax, eax
je 0x4ea5ed
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004ec890
add esp, 4
test eax, eax
je 0x4ea5ed
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e99e0
add esp, 0xc
jmp 0x4eaf0e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x4ea609
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
jmp 0x4ea613
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xf8], ecx
push 0
movzx edx, byte [ebp - 0x29]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.004eda00
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4ea658
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
je 0x4ea672
mov ecx, dword [ebp + 0xc]
push ecx
push str.unknown_function:__T__
mov edx, dword [ebp + 8]
push edx
call fcn.004e7db0
add esp, 0xc
jmp 0x4eaeeb
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
and ecx, 0x400000
je 0x4ea6a2
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b9670
add esp, 0x10
jmp 0x4eaf0e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
and edx, 0x280000
je 0x4ea6c4
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004ebc00
add esp, 0xc
mov dword [ebp - 0x30], 0
jmp 0x4ea6d6
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x1c]
jge 0x4ea73a
cmp dword [ebp - 0x30], 0x20
jge 0x4ea70c
imul edx, dword [ebp - 0x30], 0x14
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx + 8]
push ecx
call fcn.004ec870
add esp, 4
test eax, eax
je 0x4ea70c
mov edx, 1
mov ecx, dword [ebp - 0x30]
shl edx, cl
or edx, dword [ebp - 0x50]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
and ecx, 0x20
je 0x4ea738
cmp dword [ebp - 0x4c], 0
jne 0x4ea738
imul edx, dword [ebp - 0x30], 0x14
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004eb190
add esp, 8
mov dword [ebp - 0x4c], eax
jmp 0x4ea6cd
cmp dword [ebp - 0x18], 0
je 0x4ea7eb
cmp dword [ebp - 0x50], 0
je 0x4ea767
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
jmp 0x4ea77a
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f23e0
add esp, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
and edx, 0xc0
je 0x4ea7d1
mov eax, 0x14
imul ecx, eax, 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx + 8]
mov cl, byte [eax]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
cmp edx, 0xa7
je 0x4ea7b3
movzx eax, byte [ebp - 0x11]
cmp eax, 0xa9
jne 0x4ea7d1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
and edx, 0xc0
mov eax, 0x14
imul ecx, eax, 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + ecx + 8]
mov byte [ecx + 2], dl
push 3
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e8d60
add esp, 0x14
jmp 0x4ea7f2
mov dword [ebp - 8], 0
cmp dword [ebp - 0x1c], 2
jl 0x4ea82e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
and eax, 0x80
je 0x4ea82e
mov ecx, 0x14
shl ecx, 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx + 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0051d340
add esp, 0x10
mov dword [ebp - 0xc], eax
jmp 0x4ea85b
cmp dword [ebp - 0x1c], 0
jle 0x4ea85b
mov ecx, 0x14
imul edx, ecx, 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx + 8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0051d340
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
and eax, 0x20
je 0x4ea88f
cmp dword [ebp - 0x4c], 0
jne 0x4ea875
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x4c], edx
push 0xfffffffffffffffe
mov eax, dword [ebp - 0x4c]
push eax
push 0
push 0
push 0
push 0x54
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c830
add esp, 0x1c
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 2]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0050c640
add esp, 0x1c
cmp dword [ebp - 0x1c], 0
je 0x4ea8d7
cmp dword [ebp - 0x50], 0
jne 0x4ea8d7
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00502250
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
movzx eax, byte [edx + 0x57]
test eax, eax
je 0x4ea8f5
xor eax, eax
jmp 0x4eaf0e
cmp dword [ebp - 0x24], 0x8a
jne 0x4ea93d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
and edx, 0x800
je 0x4ea93d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 1
je 0x4ea93d
push 1
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00508930
add esp, 0xc
jmp 0x4ea952
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e1e50
add esp, 8
jmp 0x4eaf0e
jmp 0x4eaeeb
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
cmp dword [eax + 0x1c], 0
jne 0x4ea97f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e1e50
add esp, 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004ed830
add esp, 4
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
cmp eax, dword [ebp - 0xc8]
je 0x4ea9c1
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
push eax
push str._d_columns_assigned__d_values
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e7db0
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x20]
add edx, dword [eax + 0x1c]
mov eax, edx
jmp 0x4eaf0e
mov eax, dword [ebp + 8]
push eax
call fcn.005181f0
add esp, 4
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005181f0
add esp, 4
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0x4a
mov eax, dword [ebp - 4]
push eax
call fcn.0050c770
add esp, 0x10
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e9260
add esp, 0x10
mov edx, dword [ebp + 0x10]
push edx
push 1
push 0x47
mov eax, dword [ebp - 4]
push eax
call fcn.0050c770
add esp, 0x10
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0051ad10
add esp, 8
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0x55
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c770
add esp, 0x10
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0051ad10
add esp, 8
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b9510
add esp, 0x14
mov eax, dword [ebp + 0x10]
jmp 0x4eaf0e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp + 0xc], edx
jmp 0x4e9bee
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x20]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x8c]
movsx edx, word [ecx + 0x22]
add edx, 1
mov eax, dword [ebp + 0xc]
mov esi, edx
imul esi, dword [eax + 0x1c]
movzx ecx, word [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
call fcn.00508bf0
add esp, 8
cwde
lea ecx, [esi + eax + 1]
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xfc]
push eax
push 0x9c
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c770
add esp, 0x10
cmp dword [ebp - 0x88], 0
jl 0x4eab56
mov edx, dword [ebp - 0x88]
shl edx, 4
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 4]
movsx edx, byte [ecx + edx + 8]
cmp edx, 0x45
jne 0x4eab56
mov eax, dword [ebp + 0x10]
push eax
push 0x56
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c750
add esp, 0xc
jmp 0x4eaeeb
push str.row_value_misused
mov edx, dword [ebp + 8]
push edx
call fcn.004e7db0
add esp, 8
jmp 0x4eaeeb
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x17]
mov byte [ebp - 0x2a], cl
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
push eax
push 0x16
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c750
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp + 8]
mov byte [edx + 0x17], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e9bc0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x2a]
mov byte [ecx + 0x17], dl
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517df0
add esp, 8
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050ccd0
add esp, 0xc
jmp 0x4eaeeb
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
add eax, 8
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp + 8]
push eax
call fcn.005181f0
add esp, 4
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 0
je 0x4eacea
push 0
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004eba20
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x68]
movzx eax, byte [edx + 0x57]
test eax, eax
je 0x4eac93
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.004eb900
add esp, 8
jmp 0x4eaeeb
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b9960
add esp, 0xc
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004bb010
add esp, 8
push 0x34
push 0
lea ecx, [ebp - 0x130]
push ecx
call fcn.005768e0
add esp, 0xc
mov byte [ebp - 0x130], 0x35
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x124], edx
lea eax, [ebp - 0x130]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x38], 0
jmp 0x4eacfc
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x9c]
sub edx, 1
cmp dword [ebp - 0x38], edx
jge 0x4eadbb
cmp dword [ebp - 0x90], 0
je 0x4ead2c
imul eax, dword [ebp - 0x38], 0x14
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x120], edx
jmp 0x4ead3f
imul eax, dword [ebp - 0x38], 0x14
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp + 8]
push eax
call fcn.005181f0
add esp, 4
mov dword [ebp - 0xd8], eax
push 0x10
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ebcb0
add esp, 0x10
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
add edx, 1
imul eax, edx, 0x14
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + eax]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e8c90
add esp, 0xc
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00517520
add esp, 8
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0051ad10
add esp, 8
jmp 0x4eacf3
mov edx, dword [ebp - 0x9c]
and edx, 1
je 0x4eadef
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x9c]
sub ecx, 1
imul edx, ecx, 0x14
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + edx + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004e8c90
add esp, 0xc
jmp 0x4eae03
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0x4a
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c770
add esp, 0x10
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.004eb900
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call fcn.004d7b50
add esp, 4
mov edx, dword [ebp - 0xdc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0051ad10
add esp, 8
jmp 0x4eaeeb
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x4eae63
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
test eax, eax
jne 0x4eae63
push str.RAISE___may_only_be_used_within_a_trigger_program
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e7db0
add esp, 8
xor eax, eax
jmp 0x4eaf0e
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 1]
cmp eax, 2
jne 0x4eae7b
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f7ec0
add esp, 4
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 1]
cmp eax, 4
jne 0x4eaea6
push 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
push 0
push 4
push 0
push 0x46
mov eax, dword [ebp - 4]
push eax
call fcn.0050c830
add esp, 0x1c
jmp 0x4eaeeb
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
je 0x4eaebb
mov dword [ebp - 0xe0], 0x713
jmp 0x4eaec5
mov dword [ebp - 0xe0], 1
push 0
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + 1]
push edx
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f3540
add esp, 0x18
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00502290
add esp, 8
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00502290
add esp, 8
mov eax, dword [ebp - 0x10]
pop esi
mov esp, ebp
pop ebp
ret