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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov esi, dword [ebx + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 0
test esi, esi
jne 0x510005
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
lea esp, [esp]
mov edx, 0x77
test edi, edi
je 0x51001c
movzx edx, byte [edi]
lea eax, [edx - 0x13]
mov dword [ebp - 0xc], edx
cmp eax, 0x9f
ja case.0x510034.21
movzx eax, byte [eax + 0x510fb0]
jmp dword [eax*4 + 0x510f38]
mov edi, dword [edi + 0xc]
mov dword [ebp + 0xc], edi
jmp 0x510010
movsx eax, word [edi + 0x22]
mov edx, dword [edi + 0x28]
lea ecx, [eax + eax*2]
cmp byte [edx], 0
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
jne 0x510065
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x510034.164
mov ebx, dword [ebp + 0x10]
mov edi, dword [eax]
push ebx
push dword [eax + 0xc]
push dword [edx + 8]
push 0x59
push esi
call fcn.0052e110
mov eax, dword [ebp + 8]
add esp, 0x14
mov eax, dword [eax + 8]
test eax, eax
js 0x510b0f
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
cmp byte [eax + ecx*4 + 0xd], 0x45
jne 0x510b0f
push ebx
push 0x53
push esi
call fcn.0052e050
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edi + 4], 8
mov ecx, dword [edi + 0x1c]
je 0x51019f
mov edx, dword [ebp + 0x10]
push edx
push dword [edi + 0xc]
push ebx
call fcn.0050ffd0
mov ecx, dword [edi + 0x2c]
add esp, 0xc
mov ebx, eax
test ecx, ecx
je 0x5100ec
movsx eax, word [edi + 0x20]
push eax
push ecx
call fcn.0052aad0
add esp, 8
jmp 0x5100ef
mov al, byte [edi + 1]
movsx eax, al
cmp eax, 0x41
jle 0x510f2f
mov edx, dword [esi + 0x6c]
lea edi, [eax*2 + 0x58ba4c]
cmp dword [esi + 0x70], edx
jg 0x51011e
push 0
push 1
push ebx
push 0x5a
push esi
call fcn.004efc20
add esp, 0x14
mov edx, eax
jmp 0x51014d
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x510f2f
test edx, edx
jns 0x510161
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x510187
push 0xffffffffffffffff
push edi
push eax
push esi
call fcn.00547810
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x510f2f
mov dword [eax + 0x10], edi
pop edi
mov byte [eax + 1], 0xff
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jns 0x510275
mov eax, dword [ebx + 0x34]
test eax, eax
jns 0x510272
mov ecx, dword [edi + 0x2c]
movzx edx, word [edi + 0x20]
mov dword [ebp + 8], ecx
movsx ecx, dx
test ecx, ecx
jns 0x5101cc
pop edi
pop esi
not eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x2c]
lea ecx, [ecx + ecx*4]
push edx
push dword [ebp + 8]
mov eax, dword [eax + 4]
lea edi, [eax + ecx*4]
call fcn.0052ab20
movsx ecx, ax
add esp, 8
sub ecx, dword [ebx + 0x34]
movzx eax, word [edi + 0x10]
mov dword [ebp + 8], ecx
test al, 0x60
je 0x51024a
test eax, 0x100
je 0x510215
push dword [edi]
push str.generated_column_loop_on___s_
push ebx
call fcn.0050e160
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0x100
mov word [edi + 0x10], ax
movzx edx, ax
test al, al
jns 0x510237
push ecx
push edi
push ebx
call fcn.0050ee20
movzx edx, word [edi + 0x10]
add esp, 0xc
mov ecx, dword [ebp + 8]
and edx, 0xfe7f
mov word [edi + 0x10], dx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xd], 0x45
jne 0x510241
mov ebx, dword [ebp + 0x10]
push ebx
push ecx
push 0x4e
push esi
call fcn.0052e0b0
push ebx
push 0x53
push esi
call fcn.0052e050
add esp, 0x1c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [eax - 1]
mov al, byte [edi + 2]
mov edx, dword [ebp + 0x10]
push edx
mov byte [ebp + 0xb], al
movsx eax, word [edi + 0x20]
push eax
push ecx
push dword [edi + 0x2c]
push esi
call fcn.0050ef30
add esp, 0x14
cmp byte [ebp + 0xb], 0
je 0x5102c3
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov ecx, dword [edx + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x5102ad
mov ecx, 0x5b6fa4
jmp 0x5102b6
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
cmp byte [ecx], 0x59
jne 0x5102c3
movzx eax, byte [ebp + 0xb]
mov word [ecx + 2], ax
cmp dword [edi + 0x2c], 0
jne 0x510b0f
cmp byte [edi + 1], 0x45
jne 0x510b0f
push dword [ebp + 0x10]
push 0x53
push esi
call fcn.0052e050
mov eax, dword [ebp + 0x10]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
push esi
push 0
push edi
push ebx
call fcn.004e22e0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x510320
lea esp, [esp]
test dword [edi + 4], 0x1000
je 0x510320
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x510310
mov eax, dword [edi + 8]
xor ecx, ecx
mov ebx, dword [ebp + 0x10]
push ebx
cmp byte [eax + 4], cl
sete cl
push ecx
push 0x45
push esi
call fcn.0052e0b0
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
push ebx
push 0
push dword [edi + 8]
push esi
call fcn.004e2550
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 8]
mov ebx, dword [ebp + 0x10]
push ebx
push esi
call fcn.00537d00
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 8]
add ecx, 2
jne 0x510384
xor esi, esi
jmp 0x51039f
mov esi, ecx
lea edx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x510390
sub esi, edx
and esi, 0x3fffffff
mov ebx, dword [ebp - 0x10]
dec esi
push esi
push ecx
push dword [ebx]
call fcn.00518ce0
mov edi, eax
add esp, 0xc
mov eax, esi
mov esi, dword [ebx + 0x6c]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
cmp dword [ebx + 0x70], esi
jg 0x5103d7
push 0
push dword [ebp + 0x10]
push edx
push 0x4a
push ebx
call fcn.004efc20
add esp, 0x14
mov esi, eax
jmp 0x510405
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x510429
test edi, edi
je 0x510b0f
push edi
push eax
call fcn.0050c300
mov eax, dword [ebp + 0x10]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jns 0x510431
mov esi, dword [ebx + 0x6c]
dec esi
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x510458
push 0xfffffffffffffff9
push edi
push eax
push ebx
call fcn.00547810
mov eax, dword [ebp + 0x10]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x510b0f
mov dword [eax + 0x10], edi
pop edi
pop esi
mov byte [eax + 1], 0xf9
mov eax, dword [ebp + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
movsx eax, word [edi + 0x20]
push eax
push 0x4b
push esi
call fcn.0052e0b0
mov eax, dword [edi + 8]
add esp, 0x10
cmp byte [eax + 1], 0
je 0x510b0f
mov edx, dword [ebx + 0xd8]
test edx, edx
je 0x5104b6
mov ebx, dword [edx + 4]
mov eax, 2
movsx edi, word [edi + 0x20]
cmp dword [edx + eax*4], edi
lea ecx, [edx + eax*4]
je 0x5104d0
add eax, dword [ecx + 4]
cmp eax, ebx
jl 0x5104a7
xor ecx, ecx
push 0xffffffffffffffff
push ecx
push esi
mov dword [edx], ecx
call fcn.0052e500
mov eax, dword [ebp + 0x10]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add ecx, 8
mov dword [edx], 0
push 0xffffffffffffffff
push ecx
push esi
call fcn.0052e500
mov eax, dword [ebp + 0x10]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
push dword [edi + 0xc]
push ebx
call fcn.0050ffd0
mov ebx, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x510522
push ebx
push eax
push 0x4e
push esi
call fcn.0052e0b0
add esp, 0x10
mov dword [ebp + 8], ebx
push 0
push dword [edi + 8]
call fcn.005028b0
movsx eax, al
push eax
push ebx
push 0x54
push esi
call fcn.0052e0b0
mov eax, dword [ebp + 8]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esi, 0x80
cmp edx, 0x2d
mov dword [ebp - 0x14], esi
sete al
lea edx, [eax + 0x34]
mov dword [ebp - 0xc], edx
jmp 0x510560
xor esi, esi
mov eax, dword [edi + 0xc]
push eax
mov dword [ebp + 8], eax
call fcn.005122b0
add esp, 4
test eax, eax
je 0x51058c
push esi
push edx
push dword [ebp + 0x10]
push edi
push ebx
call fcn.004e2a20
mov eax, dword [ebp + 0x10]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push ebx
call fcn.00511050
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [edi + 0x10]
push ebx
call fcn.00511050
mov ecx, eax
mov eax, dword [edi + 4]
shr eax, 9
and eax, 1
push eax
mov eax, dword [ebp - 0x14]
or eax, 0x20
push eax
push dword [ebp + 0x10]
push ecx
push esi
push dword [ebp - 0xc]
push dword [edi + 0x10]
push dword [ebp + 8]
push ebx
call fcn.004e1860
add esp, 0x3c
jmp 0x510764
lea eax, [ebp - 8]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00511050
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [edi + 0x10]
push ebx
call fcn.00511050
mov edx, dword [ebp + 0x10]
push edx
push esi
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0052e110
add esp, 0x2c
jmp 0x510764
mov eax, dword [edi + 0xc]
mov cl, byte [eax]
cmp cl, 0x98
jne 0x51062f
mov esi, dword [ebp + 0x10]
push esi
push 1
push eax
push ebx
call fcn.004e22e0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp cl, 0x96
jne 0x51064f
mov ebx, dword [ebp + 0x10]
push ebx
push 1
push dword [eax + 8]
push esi
call fcn.004e2550
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov byte [ebp - 0x94], 0x98
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x90], 0x4400
push eax
push ebx
mov dword [ebp - 0x8c], 0
call fcn.00511050
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00511050
mov edx, dword [ebp + 0x10]
push edx
push esi
push eax
push 0x6a
push dword [ebp - 0x10]
call fcn.0052e110
add esp, 0x2c
jmp 0x510764
lea eax, [ebp - 8]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00511050
mov edx, dword [ebp + 0x10]
push edx
push eax
push dword [ebp - 0xc]
push esi
call fcn.0052e0b0
add esp, 0x1c
jmp 0x510764
lea eax, [ebp - 8]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00511050
mov dword [ebp + 8], eax
add esp, 0xc
mov eax, dword [edi + 0x10]
test eax, eax
je 0x5106f0
nop
test dword [eax + 4], 0x1000
je 0x5106f0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5106e0
mov eax, dword [eax + 8]
xor ecx, ecx
cmp byte [edi + 2], 0x2d
sete cl
mov dl, byte [eax + 4]
xor eax, eax
test dl, dl
sete al
xor ecx, eax
xor eax, eax
push ecx
test dl, dl
setne al
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
push 0x57
push esi
call fcn.0052e250
add esp, 0x18
jmp 0x510764
push dword [ebp + 0x10]
push 1
push 0x45
push esi
call fcn.0052e0b0
lea eax, [ebp - 8]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00511050
push eax
push dword [ebp - 0xc]
push esi
call fcn.0052e050
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x10]
mov esi, eax
push 0
push 0x45
push edi
call fcn.0052e0b0
push esi
push edi
call fcn.00537990
add esp, 0x40
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x51077f
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x51077f
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x510f14
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x510f14
movzx eax, al
pop edi
pop esi
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov eax, dword [ebp + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x28]
test eax, eax
je 0x5107d4
movzx ecx, word [edi + 0x22]
test cx, cx
js 0x5107d4
movsx ecx, cx
cmp ecx, dword [eax + 0x2c]
jge 0x5107d4
mov eax, dword [eax + 0x28]
add ecx, ecx
pop edi
pop esi
pop ebx
mov eax, dword [eax + ecx*8 + 8]
mov esp, ebp
pop ebp
ret
push dword [edi + 8]
push str.misuse_of_aggregate:__s__
push ebx
call fcn.0050e160
mov eax, dword [ebp + 0x10]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x1000000
mov edx, dword [ebx]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0xc], 0
mov al, byte [edx + 0x4e]
mov byte [ebp - 4], al
je 0x51081e
mov eax, dword [edi + 0x2c]
pop edi
pop esi
pop ebx
mov eax, dword [eax + 0x38]
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x17], 0
je 0x51086c
mov eax, 2
mov dword [ebp - 0x44], fcn.004e9960
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x48]
push edi
push eax
mov dword [ebp - 0x40], 0x529310
mov dword [ebp - 0x30], 0
call fcn.0054d8e0
add esp, 8
cmp word [ebp - 0x34], 0
je 0x510869
push 0xffffffffffffffff
push edi
push ebx
call fcn.0050fe30
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x24]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x51087a
mov eax, dword [eax]
jmp 0x51087c
xor eax, eax
mov ecx, dword [edi + 8]
push 0
push dword [ebp - 4]
mov dword [ebp - 0x18], eax
push eax
push ecx
push edx
mov dword [ebp - 0x28], ecx
call fcn.00512ce0
add esp, 0x14
mov dword [ebp - 8], eax
test eax, eax
je 0x510b19
cmp dword [eax + 0x14], 0
jne 0x510b19
mov ecx, dword [eax + 4]
test ecx, 0x400000
je 0x5108cf
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
push dword [eax + 8]
push ecx
push ebx
call fcn.004e89a0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, 0x280000
je 0x5108e2
push eax
push edi
push ebx
call fcn.00511870
add esp, 0xc
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 4], eax
test ecx, ecx
jle 0x510984
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + 1]
mov esi, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 0x14], ecx
xor edi, edi
cmp eax, 0x20
jae 0x510941
mov ecx, dword [ecx]
mov word [ebp - 0x34], dx
mov dword [ebp - 0x44], fcn.004e9960
mov dword [ebp - 0x40], 0x529310
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x51093e
push ecx
lea eax, [ebp - 0x48]
push eax
call fcn.0054d8e0
mov eax, dword [ebp - 4]
add esp, 8
cmp word [ebp - 0x34], 0
je 0x510941
bts edi, eax
test byte [esi + 4], 0x20
je 0x510961
cmp dword [ebp - 0xc], 0
jne 0x510961
mov eax, dword [ebp - 0x14]
push dword [eax]
push ebx
call fcn.005111d0
mov dword [ebp - 0xc], eax
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
inc eax
add ecx, 0x14
mov dword [ebp - 4], eax
mov edx, 1
mov dword [ebp - 0x14], ecx
cmp eax, dword [ebp - 0x18]
jl 0x510903
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x5109f8
cmp dword [ebp - 0x14], 0
je 0x5109a7
mov eax, dword [ebx + 0x2c]
lea esi, [eax + 1]
add eax, ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x2c], eax
jmp 0x5109b9
push ecx
push ebx
call fcn.00517fc0
mov edx, dword [ebp - 0x1c]
mov ecx, eax
add esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
test al, 0xc0
je 0x5109e4
mov ebx, dword [edx + 4]
mov bl, byte [ebx]
mov byte [ebp - 0x1d], bl
cmp bl, 0xa4
mov ebx, dword [ebp + 8]
je 0x5109d9
cmp byte [ebp - 0x1d], 0xa6
jne 0x5109e4
mov esi, dword [edx + 4]
and al, 0xc0
mov byte [esi + 2], al
mov esi, dword [ebp - 0x10]
push 3
push 0
push ecx
push edx
push ebx
call fcn.0050ec10
mov edx, dword [ebp - 0x1c]
add esp, 0x14
jmp 0x5109ff
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 2
jl 0x510a24
test byte [edi + 4], 0x80
je 0x510a24
push dword [edx + 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.0053bd60
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x510a30
test eax, eax
jle 0x510a2d
push dword [edx + 4]
jmp 0x510a10
mov eax, dword [ebp - 8]
test byte [eax + 4], 0x20
je 0x510adb
cmp dword [ebp - 0xc], 0
jne 0x510a49
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x510a66
push 0
push 0
push 0
push 0x51
push esi
call fcn.004efc20
add esp, 0x14
mov edx, eax
jmp 0x510a9c
mov ebx, dword [ebp + 8]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x51
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 eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x510adb
test edx, edx
jns 0x510aac
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
je 0x510acd
push 0xfffffffffffffffe
push dword [ebp - 0xc]
push ecx
push esi
call fcn.00547810
add esp, 0x10
jmp 0x510adb
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x510adb
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xfe
movzx eax, byte [edi + 2]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
push eax
push dword [ebp - 8]
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
push edi
push ebx
call fcn.0052dec0
add esp, 0x1c
test esi, esi
je 0x510b0f
test edi, edi
jne 0x510b0f
push esi
push dword [ebp - 4]
push ebx
call fcn.00524330
add esp, 0xc
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x28]
push str.unknown_function:__s__
push ebx
call fcn.0050e160
mov eax, dword [ebp + 0x10]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x88
jne 0x510b5f
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x510b5f
push 1
push eax
push ebx
call fcn.0052a9a0
mov eax, dword [ebp + 0x10]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
call fcn.005099c0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x510b8e
push edx
push ebx
call fcn.005099c0
mov ecx, eax
add esp, 8
mov eax, dword [edi + 0xc]
mov dword [eax + 0x1c], ecx
mov edx, dword [edi + 0xc]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x510bb5
push edx
call fcn.00512ac0
add esp, 4
cmp esi, eax
je 0x510bb5
push eax
push esi
push str._d_columns_assigned__d_values
push ebx
call fcn.0050e160
mov edx, dword [edi + 0xc]
add esp, 0x10
movsx eax, word [edi + 0x20]
add eax, dword [edx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x38]
push dword [ebp + 0x10]
dec esi
push 0
push 0x48
push dword [ebp - 0x10]
lea edi, [esi - 1]
mov dword [ebx + 0x38], edi
call fcn.0052e0b0
push edi
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0050f080
push dword [ebp + 0x10]
mov ebx, dword [ebp - 0x10]
push 1
push 0x45
push ebx
call fcn.0052e0b0
push esi
push ebx
call fcn.0053a2d0
mov esi, dword [ebp + 0x10]
push 0
push esi
push 0x52
push ebx
call fcn.0052e0b0
add esp, 0x48
push edi
push ebx
call fcn.0053a2d0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
push 0
push 0
push esi
push edi
push ebx
call fcn.004e8880
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [edi + 0x20]
mov ebx, dword [edi + 0x2c]
push eax
movsx ecx, ax
push ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp + 8], ecx
call fcn.0052ab20
movsx ecx, ax
movsx eax, word [ebx + 0x2a]
inc ecx
mov ebx, dword [ebp + 0x10]
inc eax
imul eax, dword [edi + 0x1c]
push ebx
add eax, ecx
push eax
push 0x94
push esi
call fcn.0052e0b0
mov eax, dword [ebp + 8]
add esp, 0x18
test eax, eax
js 0x510f14
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 + 0xd], 0x45
jne 0x510f14
push ebx
push 0x53
push esi
call fcn.0052e050
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.row_value_misused
push ebx
call fcn.0050e160
mov eax, dword [ebp + 0x10]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x1c]
mov bl, byte [ebx + 0x17]
push 0x15
push esi
call fcn.0052e050
mov edx, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 8]
push edx
mov byte [eax + 0x17], 0
push dword [edi + 0xc]
push eax
call fcn.0050ffd0
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
mov byte [ecx + 0x17], bl
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00537990
push dword [ebp + 0x10]
push esi
push ebx
call fcn.0052e600
mov eax, dword [ebp + 0x10]
add esp, 0x2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x14]
xor edx, edx
mov eax, dword [ebx]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], edx
lea ecx, [esi + 4]
mov dword [ebp - 0x18], eax
mov esi, dword [esi]
dec dword [ebx + 0x38]
mov edi, dword [edi + 0xc]
mov dword [ebp - 4], esi
mov esi, dword [ebx + 0x38]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x14], edi
test edi, edi
je 0x510da6
push edx
push edx
push edi
push eax
call fcn.004e8f30
mov edi, eax
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edi
cmp byte [eax + 0x51], 0
je 0x510d77
test edi, edi
je 0x510f14
push edi
push eax
call fcn.00511640
mov eax, dword [ebp + 0x10]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push edi
push ebx
call fcn.004e8bd0
push eax
push edi
call fcn.004ea010
push 0x34
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0048e2e0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x60]
add esp, 0x20
mov byte [ebp - 0x60], 0x35
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
dec eax
test eax, eax
jle 0x510e39
dec eax
shr eax, 1
inc eax
mov dword [ebp - 0x24], eax
lea esp, [esp]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x14], 0
push 0x10
cmovne eax, ecx
cmove edx, ecx
dec dword [ebx + 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x38]
push eax
push edx
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0x28], eax
call fcn.00511920
mov eax, dword [ebp + 8]
push edi
push dword [eax + 0x14]
push ebx
call fcn.0050ebc0
push dword [ebp - 0xc]
push esi
call fcn.00537560
mov ecx, dword [esi + 0xc]
add esp, 0x24
mov edx, dword [ebp - 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x510e1e
push edx
push esi
push ecx
call fcn.004fd830
add esp, 0xc
jmp 0x510e27
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
add ecx, 0x28
sub dword [ebp - 0x24], 1
mov dword [ebp + 8], ecx
jne 0x510dc0
mov eax, dword [ebp - 4]
push edi
test al, 1
je 0x510e56
mov ecx, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 - 0x10]
push ebx
call fcn.0050ebc0
add esp, 0xc
jmp 0x510e63
push 0
push 0x48
push esi
call fcn.0052e0b0
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x510e76
push eax
push dword [ebp - 0x18]
call fcn.00511640
add esp, 8
push esi
call fcn.00501970
push dword [ebp - 0xc]
push esi
call fcn.0053a2d0
mov eax, dword [ebp + 0x10]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x78], 0
jne 0x510eb5
cmp byte [ebx + 0x12], 0
jne 0x510eb5
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.0050e160
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 1]
cmp al, 2
jne 0x510ecd
mov eax, dword [ebx + 0x74]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [edi + 1]
mov ecx, dword [edi + 8]
push 0
cmp al, 4
jne 0x510ef2
push ecx
push 0
push 4
push 0
push 0x44
push esi
call fcn.0052e160
mov eax, dword [ebp + 0x10]
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x78], 0
push 0
push ecx
movsx eax, al
mov ecx, 0x713
push eax
mov eax, 1
cmovne eax, ecx
push eax
push ebx
call fcn.00518980
add esp, 0x18
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
push ebx
push 0
push 0x48
push esi
call fcn.0052e0b0
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret