Function at 0x50ff70
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 0x50ffa5
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 0x50ffbc
movzx edx, byte [edi]
lea eax, [edx - 0x13]
mov dword [ebp - 0xc], edx
cmp eax, 0x9f
ja case.0x50ffd4.21
movzx eax, byte [eax + 0x510f50]
jmp dword [eax*4 + 0x510ed8]
mov edi, dword [edi + 0xc]
mov dword [ebp + 0xc], edi
jmp 0x50ffb0
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 0x510005
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x50ffd4.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.0052e0c0
mov eax, dword [ebp + 8]
add esp, 0x14
mov eax, dword [eax + 8]
test eax, eax
js 0x510aaf
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
cmp byte [eax + ecx*4 + 0xd], 0x45
jne 0x510aaf
push ebx
push 0x53
push esi
call fcn.0052e000
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 0x51013f
mov edx, dword [ebp + 0x10]
push edx
push dword [edi + 0xc]
push ebx
call fcn.0050ff70
mov ecx, dword [edi + 0x2c]
add esp, 0xc
mov ebx, eax
test ecx, ecx
je 0x51008c
movsx eax, word [edi + 0x20]
push eax
push ecx
call fcn.0052aa80
add esp, 8
jmp 0x51008f
mov al, byte [edi + 1]
movsx eax, al
cmp eax, 0x41
jle 0x510ecf
mov edx, dword [esi + 0x6c]
lea edi, [eax*2 + 0x58b8dc]
cmp dword [esi + 0x70], edx
jg 0x5100be
push 0
push 1
push ebx
push 0x5a
push esi
call fcn.004efbc0
add esp, 0x14
mov edx, eax
jmp 0x5100ed
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 0x510ecf
test edx, edx
jns 0x510101
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 0x510127
push 0xffffffffffffffff
push edi
push eax
push esi
call fcn.005477a0
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x510ecf
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 0x510215
mov eax, dword [ebx + 0x34]
test eax, eax
jns 0x510212
mov ecx, dword [edi + 0x2c]
movzx edx, word [edi + 0x20]
mov dword [ebp + 8], ecx
movsx ecx, dx
test ecx, ecx
jns 0x51016c
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.0052aad0
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 0x5101ea
test eax, 0x100
je 0x5101b5
push dword [edi]
push str.generated_column_loop_on___s_
push ebx
call fcn.0050e100
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 0x5101d7
push ecx
push edi
push ebx
call fcn.0050edc0
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 0x5101e1
mov ebx, dword [ebp + 0x10]
push ebx
push ecx
push 0x4e
push esi
call fcn.0052e060
push ebx
push 0x53
push esi
call fcn.0052e000
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.0050eed0
add esp, 0x14
cmp byte [ebp + 0xb], 0
je 0x510263
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov ecx, dword [edx + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x51024d
mov ecx, 0x5b6fa4
jmp 0x510256
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
cmp byte [ecx], 0x59
jne 0x510263
movzx eax, byte [ebp + 0xb]
mov word [ecx + 2], ax
cmp dword [edi + 0x2c], 0
jne 0x510aaf
cmp byte [edi + 1], 0x45
jne 0x510aaf
push dword [ebp + 0x10]
push 0x53
push esi
call fcn.0052e000
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.004e2290
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x5102c0
lea esp, [esp]
test dword [edi + 4], 0x1000
je 0x5102c0
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x5102b0
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.0052e060
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.004e2500
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.00537cb0
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 0x510324
xor esi, esi
jmp 0x51033f
mov esi, ecx
lea edx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x510330
sub esi, edx
and esi, 0x3fffffff
mov ebx, dword [ebp - 0x10]
dec esi
push esi
push ecx
push dword [ebx]
call fcn.00518c90
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 0x510377
push 0
push dword [ebp + 0x10]
push edx
push 0x4a
push ebx
call fcn.004efbc0
add esp, 0x14
mov esi, eax
jmp 0x5103a5
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 0x5103c9
test edi, edi
je 0x510aaf
push edi
push eax
call fcn.0050c2a0
mov eax, dword [ebp + 0x10]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jns 0x5103d1
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 0x5103f8
push 0xfffffffffffffff9
push edi
push eax
push ebx
call fcn.005477a0
mov eax, dword [ebp + 0x10]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x510aaf
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.0052e060
mov eax, dword [edi + 8]
add esp, 0x10
cmp byte [eax + 1], 0
je 0x510aaf
mov edx, dword [ebx + 0xd8]
test edx, edx
je 0x510456
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 0x510470
add eax, dword [ecx + 4]
cmp eax, ebx
jl 0x510447
xor ecx, ecx
push 0xffffffffffffffff
push ecx
push esi
mov dword [edx], ecx
call fcn.0052e4b0
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.0052e4b0
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.0050ff70
mov ebx, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x5104c2
push ebx
push eax
push 0x4e
push esi
call fcn.0052e060
add esp, 0x10
mov dword [ebp + 8], ebx
push 0
push dword [edi + 8]
call fcn.00502850
movsx eax, al
push eax
push ebx
push 0x54
push esi
call fcn.0052e060
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 0x510500
xor esi, esi
mov eax, dword [edi + 0xc]
push eax
mov dword [ebp + 8], eax
call fcn.00512250
add esp, 4
test eax, eax
je 0x51052c
push esi
push edx
push dword [ebp + 0x10]
push edi
push ebx
call fcn.004e29d0
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.00510ff0
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [edi + 0x10]
push ebx
call fcn.00510ff0
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.004e1810
add esp, 0x3c
jmp 0x510704
lea eax, [ebp - 8]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00510ff0
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [edi + 0x10]
push ebx
call fcn.00510ff0
mov edx, dword [ebp + 0x10]
push edx
push esi
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0052e0c0
add esp, 0x2c
jmp 0x510704
mov eax, dword [edi + 0xc]
mov cl, byte [eax]
cmp cl, 0x98
jne 0x5105cf
mov esi, dword [ebp + 0x10]
push esi
push 1
push eax
push ebx
call fcn.004e2290
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp cl, 0x96
jne 0x5105ef
mov ebx, dword [ebp + 0x10]
push ebx
push 1
push dword [eax + 8]
push esi
call fcn.004e2500
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.00510ff0
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00510ff0
mov edx, dword [ebp + 0x10]
push edx
push esi
push eax
push 0x6a
push dword [ebp - 0x10]
call fcn.0052e0c0
add esp, 0x2c
jmp 0x510704
lea eax, [ebp - 8]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00510ff0
mov edx, dword [ebp + 0x10]
push edx
push eax
push dword [ebp - 0xc]
push esi
call fcn.0052e060
add esp, 0x1c
jmp 0x510704
lea eax, [ebp - 8]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00510ff0
mov dword [ebp + 8], eax
add esp, 0xc
mov eax, dword [edi + 0x10]
test eax, eax
je 0x510690
nop
test dword [eax + 4], 0x1000
je 0x510690
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x510680
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.0052e200
add esp, 0x18
jmp 0x510704
push dword [ebp + 0x10]
push 1
push 0x45
push esi
call fcn.0052e060
lea eax, [ebp - 8]
push eax
push dword [edi + 0xc]
push ebx
call fcn.00510ff0
push eax
push dword [ebp - 0xc]
push esi
call fcn.0052e000
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x10]
mov esi, eax
push 0
push 0x45
push edi
call fcn.0052e060
push esi
push edi
call fcn.00537940
add esp, 0x40
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x51071f
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x51071f
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x510eb4
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x510eb4
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 0x510774
movzx ecx, word [edi + 0x22]
test cx, cx
js 0x510774
movsx ecx, cx
cmp ecx, dword [eax + 0x2c]
jge 0x510774
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.0050e100
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 0x5107be
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 0x51080c
mov eax, 2
mov dword [ebp - 0x44], fcn.004e9900
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x48]
push edi
push eax
mov dword [ebp - 0x40], 0x5292c0
mov dword [ebp - 0x30], 0
call fcn.0054d870
add esp, 8
cmp word [ebp - 0x34], 0
je 0x510809
push 0xffffffffffffffff
push edi
push ebx
call fcn.0050fdd0
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 0x51081a
mov eax, dword [eax]
jmp 0x51081c
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.00512c80
add esp, 0x14
mov dword [ebp - 8], eax
test eax, eax
je 0x510ab9
cmp dword [eax + 0x14], 0
jne 0x510ab9
mov ecx, dword [eax + 4]
test ecx, 0x400000
je 0x51086f
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
push dword [eax + 8]
push ecx
push ebx
call fcn.004e8940
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, 0x280000
je 0x510882
push eax
push edi
push ebx
call fcn.00511810
add esp, 0xc
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 4], eax
test ecx, ecx
jle 0x510924
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 0x5108e1
mov ecx, dword [ecx]
mov word [ebp - 0x34], dx
mov dword [ebp - 0x44], fcn.004e9900
mov dword [ebp - 0x40], 0x5292c0
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x5108de
push ecx
lea eax, [ebp - 0x48]
push eax
call fcn.0054d870
mov eax, dword [ebp - 4]
add esp, 8
cmp word [ebp - 0x34], 0
je 0x5108e1
bts edi, eax
test byte [esi + 4], 0x20
je 0x510901
cmp dword [ebp - 0xc], 0
jne 0x510901
mov eax, dword [ebp - 0x14]
push dword [eax]
push ebx
call fcn.00511170
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 0x5108a3
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 0x510998
cmp dword [ebp - 0x14], 0
je 0x510947
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 0x510959
push ecx
push ebx
call fcn.00517f60
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 0x510984
mov ebx, dword [edx + 4]
mov bl, byte [ebx]
mov byte [ebp - 0x1d], bl
cmp bl, 0xa4
mov ebx, dword [ebp + 8]
je 0x510979
cmp byte [ebp - 0x1d], 0xa6
jne 0x510984
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.0050ebb0
mov edx, dword [ebp - 0x1c]
add esp, 0x14
jmp 0x51099f
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 2
jl 0x5109c4
test byte [edi + 4], 0x80
je 0x5109c4
push dword [edx + 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.0053bd00
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x5109d0
test eax, eax
jle 0x5109cd
push dword [edx + 4]
jmp 0x5109b0
mov eax, dword [ebp - 8]
test byte [eax + 4], 0x20
je 0x510a7b
cmp dword [ebp - 0xc], 0
jne 0x5109e9
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 0x510a06
push 0
push 0
push 0
push 0x51
push esi
call fcn.004efbc0
add esp, 0x14
mov edx, eax
jmp 0x510a3c
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 0x510a7b
test edx, edx
jns 0x510a4c
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 0x510a6d
push 0xfffffffffffffffe
push dword [ebp - 0xc]
push ecx
push esi
call fcn.005477a0
add esp, 0x10
jmp 0x510a7b
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x510a7b
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.0052de70
add esp, 0x1c
test esi, esi
je 0x510aaf
test edi, edi
jne 0x510aaf
push esi
push dword [ebp - 4]
push ebx
call fcn.005242e0
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.0050e100
mov eax, dword [ebp + 0x10]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x88
jne 0x510aff
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x510aff
push 1
push eax
push ebx
call fcn.0052a950
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.00509960
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 0x510b2e
push edx
push ebx
call fcn.00509960
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 0x510b55
push edx
call fcn.00512a60
add esp, 4
cmp esi, eax
je 0x510b55
push eax
push esi
push str._d_columns_assigned__d_values
push ebx
call fcn.0050e100
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.0052e060
push edi
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0050f020
push dword [ebp + 0x10]
mov ebx, dword [ebp - 0x10]
push 1
push 0x45
push ebx
call fcn.0052e060
push esi
push ebx
call fcn.0053a270
mov esi, dword [ebp + 0x10]
push 0
push esi
push 0x52
push ebx
call fcn.0052e060
add esp, 0x48
push edi
push ebx
call fcn.0053a270
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.004e8820
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.0052aad0
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.0052e060
mov eax, dword [ebp + 8]
add esp, 0x18
test eax, eax
js 0x510eb4
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 + 0xd], 0x45
jne 0x510eb4
push ebx
push 0x53
push esi
call fcn.0052e000
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.0050e100
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.0052e000
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.0050ff70
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.00537940
push dword [ebp + 0x10]
push esi
push ebx
call fcn.0052e5b0
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 0x510d46
push edx
push edx
push edi
push eax
call fcn.004e8ed0
mov edi, eax
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edi
cmp byte [eax + 0x51], 0
je 0x510d17
test edi, edi
je 0x510eb4
push edi
push eax
call fcn.005115e0
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.004e8b70
push eax
push edi
call fcn.004e9fb0
push 0x34
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0048e280
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 0x510dd9
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.005118c0
mov eax, dword [ebp + 8]
push edi
push dword [eax + 0x14]
push ebx
call fcn.0050eb60
push dword [ebp - 0xc]
push esi
call fcn.00537510
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 0x510dbe
push edx
push esi
push ecx
call fcn.004fd7d0
add esp, 0xc
jmp 0x510dc7
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 0x510d60
mov eax, dword [ebp - 4]
push edi
test al, 1
je 0x510df6
mov ecx, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 - 0x10]
push ebx
call fcn.0050eb60
add esp, 0xc
jmp 0x510e03
push 0
push 0x48
push esi
call fcn.0052e060
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x510e16
push eax
push dword [ebp - 0x18]
call fcn.005115e0
add esp, 8
push esi
call fcn.00501910
push dword [ebp - 0xc]
push esi
call fcn.0053a270
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 0x510e55
cmp byte [ebx + 0x12], 0
jne 0x510e55
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.0050e100
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 0x510e6d
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 0x510e92
push ecx
push 0
push 4
push 0
push 0x44
push esi
call fcn.0052e110
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.00518930
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.0052e060
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret