Function at 0x4ecb10
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 0x4ecb4d
mov dword [ebp - 0x24], 0x79
jmp 0x4ecb56
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.0x4ecb7c.2
mov ecx, dword [ebp - 0x54]
movzx edx, byte [ecx + 0x4ededc]
jmp dword [edx*4 + 0x4ede64]
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 0x4ecbb6
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xc]
jmp 0x4ede5e
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 1]
test ecx, ecx
je case.0x4ecb7c.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.0050f6e0
add esp, 0x14
mov ecx, dword [ebp - 0x40]
movsx edx, word [ecx + 0x10]
test edx, edx
jge 0x4ecbfa
jmp 0x4ecc29
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 0x4ecc29
mov edx, dword [ebp + 0x10]
push edx
push 0x56
mov eax, dword [ebp - 4]
push eax
call fcn.0050f6a0
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
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 0x4eccc2
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.004ecb10
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x2c], 0
je 0x4ecc87
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.0050bac0
add esp, 8
movsx edx, al
mov dword [ebp - 0x70], edx
jmp 0x4ecc91
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + 1]
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x70], 0x41
jle 0x4eccba
push 0xffffffffffffffff
mov edx, dword [ebp - 0x70]
lea eax, [edx*2 + 0x5b8364]
push eax
push 0
push 1
mov ecx, dword [ebp - 0x44]
push ecx
push 0x5f
mov edx, dword [ebp - 4]
push edx
call fcn.0050f780
add esp, 0x1c
mov eax, dword [ebp - 0x44]
jmp 0x4ede5e
cmp dword [ebp - 0x7c], 0
jge 0x4ece15
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
jge 0x4ece09
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 0x4ecd00
mov edx, dword [ebp + 8]
or eax, 0xffffffff
sub eax, dword [edx + 0x34]
jmp 0x4ede5e
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.0050bb40
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 0x4ecdc1
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0xe]
and eax, 0x100
je 0x4ecd68
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
push edx
push 0x5ebbc4
mov eax, dword [ebp + 8]
push eax
call fcn.004ead00
add esp, 0xc
xor eax, eax
jmp 0x4ede5e
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 0x4ecda3
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.004ebee0
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 0x4ede5e
mov ecx, dword [ebp - 0x20]
movsx edx, byte [ecx + 8]
cmp edx, 0x45
jne 0x4ecdff
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.0050f6c0
add esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
push 0x56
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050f6a0
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
mov eax, dword [ebp - 0x5c]
jmp 0x4ede5e
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.004ebf90
add esp, 0x18
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2c], 0
jne 0x4ece6a
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 1]
cmp eax, 0x45
jne 0x4ece6a
mov ecx, dword [ebp - 0x44]
push ecx
push 0x56
mov edx, dword [ebp - 4]
push edx
call fcn.0050f6a0
add esp, 0xc
mov eax, dword [ebp - 0x44]
jmp 0x4ede5e
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.004b5790
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004f0700
add esp, 4
push eax
push 0x47
mov edx, dword [ebp - 4]
push edx
call fcn.0050f6c0
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
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.004b5910
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
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.0051b110
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0x4a
mov eax, dword [ebp - 4]
push eax
call fcn.0050f6c0
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
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.0050b7f0
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.0040bd20
add esp, 4
push eax
call fcn.004f67c0
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.0050f780
add esp, 0x1c
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
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.0050f6c0
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 0x4ed015
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.0050f170
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.0050fa90
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x1c]
jmp 0x4ede5e
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.004ecb10
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
je 0x4ed066
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.0050f6c0
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.004dc090
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.0050f6c0
add esp, 0x10
mov eax, dword [ebp - 0x10]
jmp 0x4ede5e
cmp dword [ebp - 0x24], 0x2d
jne 0x4ed0a7
mov dword [ebp - 0xac], 0x35
jmp 0x4ed0b1
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.004ef930
add esp, 4
test eax, eax
je 0x4ed0fd
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.004b6230
add esp, 0x14
jmp 0x4ed1dd
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004edf80
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.004edf80
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.0050f6c0
add esp, 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
and edx, 0x200
je 0x4ed15c
mov dword [ebp - 0xb0], 1
jmp 0x4ed166
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.00510060
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.004b4df0
add esp, 0x24
cmp dword [ebp - 0x60], 0x80
jne 0x4ed1c3
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x47
mov edx, dword [ebp - 4]
push edx
call fcn.0050f6c0
add esp, 0x10
jmp 0x4ed1dd
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.0050f6e0
add esp, 0x14
jmp 0x4ede3b
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.004edf80
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.004edf80
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.0050f6e0
add esp, 0x14
jmp 0x4ede3b
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 0x4ed271
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.004b5790
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax]
cmp ecx, 0x99
jne 0x4ed2a2
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.004b5910
add esp, 0x10
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
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.004edf80
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.004edf80
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.0050f6e0
add esp, 0x14
jmp 0x4ede3b
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.004edf80
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.0050f6c0
add esp, 0x10
jmp 0x4ede3b
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.004edf80
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
call fcn.004f0700
add esp, 4
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 2]
cmp edx, 0x2d
jne 0x4ed38e
mov dword [ebp - 0xb4], 1
jmp 0x4ed398
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xb8], 0
jne 0x4ed3b9
mov dword [ebp - 0xbc], 1
jmp 0x4ed3c3
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.0050f830
add esp, 0x18
jmp 0x4ede3b
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0x47
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050f6c0
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.004edf80
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.0050f6a0
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.0050f6c0
add esp, 0x10
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0051ad40
add esp, 8
jmp 0x4ede3b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x84], 0
je 0x4ed498
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 0x22]
test ecx, ecx
jl 0x4ed498
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x22]
mov ecx, dword [ebp - 0x84]
cmp eax, dword [ecx + 0x2c]
jl 0x4ed4af
mov edx, dword [ebp + 0xc]
push edx
push str.misuse_of_aggregate:__T__
mov eax, dword [ebp + 8]
push eax
call fcn.004ead00
add esp, 0xc
jmp 0x4ed4cb
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 0x4ede5e
jmp 0x4ede3b
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 0x4ed50b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x38]
jmp 0x4ede5e
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x17]
test eax, eax
je 0x4ed53d
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004ef7e0
add esp, 4
test eax, eax
je 0x4ed53d
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ec930
add esp, 0xc
jmp 0x4ede5e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x4ed559
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
jmp 0x4ed563
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.004f0950
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4ed5a8
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
je 0x4ed5c2
mov ecx, dword [ebp + 0xc]
push ecx
push str.unknown_function:__T__
mov edx, dword [ebp + 8]
push edx
call fcn.004ead00
add esp, 0xc
jmp 0x4ede3b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
and ecx, 0x400000
je 0x4ed5f2
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.004bc5a0
add esp, 0x10
jmp 0x4ede5e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
and edx, 0x280000
je 0x4ed614
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004eeb50
add esp, 0xc
mov dword [ebp - 0x30], 0
jmp 0x4ed626
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x1c]
jge 0x4ed68a
cmp dword [ebp - 0x30], 0x20
jge 0x4ed65c
imul edx, dword [ebp - 0x30], 0x14
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx + 8]
push ecx
call fcn.004ef7c0
add esp, 4
test eax, eax
je 0x4ed65c
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 0x4ed688
cmp dword [ebp - 0x4c], 0
jne 0x4ed688
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.004ee0e0
add esp, 8
mov dword [ebp - 0x4c], eax
jmp 0x4ed61d
cmp dword [ebp - 0x18], 0
je 0x4ed73b
cmp dword [ebp - 0x50], 0
je 0x4ed6b7
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 0x4ed6ca
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f5330
add esp, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
and edx, 0xc0
je 0x4ed721
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 0x4ed703
movzx eax, byte [ebp - 0x11]
cmp eax, 0xa9
jne 0x4ed721
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.004ebcb0
add esp, 0x14
jmp 0x4ed742
mov dword [ebp - 8], 0
cmp dword [ebp - 0x1c], 2
jl 0x4ed77e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
and eax, 0x80
je 0x4ed77e
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.00520290
add esp, 0x10
mov dword [ebp - 0xc], eax
jmp 0x4ed7ab
cmp dword [ebp - 0x1c], 0
jle 0x4ed7ab
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.00520290
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
and eax, 0x20
je 0x4ed7df
cmp dword [ebp - 0x4c], 0
jne 0x4ed7c5
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.0050f780
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.0050f590
add esp, 0x1c
cmp dword [ebp - 0x1c], 0
je 0x4ed827
cmp dword [ebp - 0x50], 0
jne 0x4ed827
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005051a0
add esp, 0xc
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
movzx eax, byte [edx + 0x57]
test eax, eax
je 0x4ed845
xor eax, eax
jmp 0x4ede5e
cmp dword [ebp - 0x24], 0x8a
jne 0x4ed88d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
and edx, 0x800
je 0x4ed88d
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 0x4ed88d
push 1
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0050b880
add esp, 0xc
jmp 0x4ed8a2
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e4da0
add esp, 8
jmp 0x4ede5e
jmp 0x4ede3b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
cmp dword [eax + 0x1c], 0
jne 0x4ed8cf
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e4da0
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.004f0780
add esp, 4
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
cmp eax, dword [ebp - 0xc8]
je 0x4ed911
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.004ead00
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 0x4ede5e
mov eax, dword [ebp + 8]
push eax
call fcn.0051b140
add esp, 4
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0051b140
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.0050f6c0
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.004ec1b0
add esp, 0x10
mov edx, dword [ebp + 0x10]
push edx
push 1
push 0x47
mov eax, dword [ebp - 4]
push eax
call fcn.0050f6c0
add esp, 0x10
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0051dc60
add esp, 8
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0x55
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050f6c0
add esp, 0x10
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0051dc60
add esp, 8
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
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.004bc440
add esp, 0x14
mov eax, dword [ebp + 0x10]
jmp 0x4ede5e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp + 0xc], edx
jmp 0x4ecb3e
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.0050bb40
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.0050f6c0
add esp, 0x10
cmp dword [ebp - 0x88], 0
jl 0x4edaa6
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 0x4edaa6
mov eax, dword [ebp + 0x10]
push eax
push 0x56
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050f6a0
add esp, 0xc
jmp 0x4ede3b
push str.row_value_misused
mov edx, dword [ebp + 8]
push edx
call fcn.004ead00
add esp, 8
jmp 0x4ede3b
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.0050f6a0
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.004ecb10
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.0051ad40
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.0050fc20
add esp, 0xc
jmp 0x4ede3b
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.0051b140
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 0x4edc3a
push 0
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004ee970
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x68]
movzx eax, byte [edx + 0x57]
test eax, eax
je 0x4edbe3
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.004ee850
add esp, 8
jmp 0x4ede3b
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004bc890
add esp, 0xc
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004bdf40
add esp, 8
push 0x34
push 0
lea ecx, [ebp - 0x130]
push ecx
call fcn.00572370
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 0x4edc4c
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 0x4edd0b
cmp dword [ebp - 0x90], 0
je 0x4edc7c
imul eax, dword [ebp - 0x38], 0x14
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x120], edx
jmp 0x4edc8f
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.0051b140
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.004eec00
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.004ebbe0
add esp, 0xc
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0051a470
add esp, 8
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0051dc60
add esp, 8
jmp 0x4edc43
mov edx, dword [ebp - 0x9c]
and edx, 1
je 0x4edd3f
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.004ebbe0
add esp, 0xc
jmp 0x4edd53
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0x4a
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050f6c0
add esp, 0x10
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.004ee850
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call fcn.004daaa0
add esp, 4
mov edx, dword [ebp - 0xdc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0051dc60
add esp, 8
jmp 0x4ede3b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x4eddb3
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
test eax, eax
jne 0x4eddb3
push str.RAISE___may_only_be_used_within_a_trigger_program
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ead00
add esp, 8
xor eax, eax
jmp 0x4ede5e
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 1]
cmp eax, 2
jne 0x4eddcb
mov ecx, dword [ebp + 8]
push ecx
call fcn.004fae10
add esp, 4
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + 1]
cmp eax, 4
jne 0x4eddf6
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.0050f780
add esp, 0x1c
jmp 0x4ede3b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
je 0x4ede0b
mov dword [ebp - 0xe0], 0x713
jmp 0x4ede15
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.004f6490
add esp, 0x18
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005051e0
add esp, 8
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005051e0
add esp, 8
mov eax, dword [ebp - 0x10]
pop esi
mov esp, ebp
pop ebp
ret