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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 8]
xor ecx, ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
cmp ebx, ecx
je 0x4e4f28
mov esi, dword [ebp + 0xc]
lea esp, [esp]
mov edx, 0x6e
cmp esi, ecx
je 0x4e443c
movzx edx, byte [esi]
lea eax, [edx - 0x13]
mov dword [esp + 0x14], edx
cmp eax, 0x96
ja case.0x4e4455.21
movzx eax, byte [eax + 0x4e51d8]
jmp dword [eax*4 + 0x4e5160]
mov esi, dword [esi + 0xc]
jmp 0x4e4430
movsx ecx, word [esi + 0x22]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
mov edx, dword [eax + 0x1c]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x4e4480
mov eax, dword [ecx + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x4e44a3
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax + 8]
push edi
push ecx
push edx
push 0x5a
push ebx
call fcn.004cc1f0
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
test byte [esi + 4], 8
mov eax, dword [esi + 0x1c]
je 0x4e4520
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call fcn.004e43f0
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x28], eax
movsx eax, word [esi + 0x20]
add esp, 0xc
call fcn.004df6c0
movsx esi, al
cmp esi, 0x41
je 0x4e47ec
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4e44f6
push 0
push edi
push eax
push 0x4f
push ebx
call fcn.004cc1f0
add esp, 0x14
mov dword [esp + 0x1c], edi
push 0xffffffffffffffff
lea edx, [esi*2 + 0x5e4820]
push edx
mov edx, dword [esp + 0x24]
xor eax, eax
push 0x5b
lea ecx, [eax + 1]
mov edi, ebx
call fcn.004cc460
mov eax, dword [esp + 0x28]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ecx
jge 0x4e453e
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x38]
cmp edx, ecx
jge 0x4e453b
movsx eax, word [esi + 0x20]
sub eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edx - 1]
movzx ecx, byte [esi + 0x26]
movsx edx, word [esi + 0x20]
mov ebx, dword [esi + 0x2c]
push ecx
mov ecx, eax
mov eax, dword [ebp + 8]
push edx
call fcn.004e4260
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push edi
push eax
xor ecx, ecx
mov eax, esi
call fcn.004e4050
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
xor edx, edx
cmp byte [ecx + 4], dl
push 0
sete dl
push edi
push edx
push 0x46
push ebx
call fcn.004cc1f0
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 8]
push edi
push 0
push ebx
call fcn.004e3fe0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ebx, dword [eax + 8]
mov dword [ebp + 0xc], esi
mov esi, dword [esp + 0x28]
mov eax, edi
call fcn.004cc2d0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push edi
push 0
push 0x49
push ebx
call fcn.004cc1f0
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 8]
add edi, 2
mov eax, edi
call fcn.004ae490
mov esi, eax
mov eax, dword [ebx]
dec esi
push esi
push eax
call fcn.004af5b0
push 0xfffffffffffffff9
push eax
mov eax, esi
mov esi, dword [ebp + 0x10]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
push 0x4b
xor eax, eax
mov ecx, esi
mov edi, ebx
call fcn.004cc460
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [esi + 0x20]
push 0
push edi
push ecx
push 0x4c
push ebx
mov dword [ebp + 0xc], esi
call fcn.004cc1f0
mov edx, dword [esi + 8]
add esp, 0x14
cmp byte [edx + 1], 0
je 0x4e466d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov edx, esi
movsx esi, word [edx + 0x20]
call fcn.004afae0
mov dword [ecx], 0
or edx, 0xffffffff
mov ecx, ebx
call fcn.004cd000
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call fcn.004e43f0
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x4e46ac
push 0
push edi
push eax
push 0x4f
push ebx
call fcn.004cc1f0
add esp, 0x14
mov dword [esp + 0x1c], edi
mov edx, dword [esi + 8]
xor edi, edi
call fcn.004ecd10
mov edx, dword [ebp + 0x10]
movsx eax, al
push edi
push eax
push edx
push 0x55
push ebx
call fcn.004cc1f0
mov eax, dword [esp + 0x30]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp edx, 0x2d
sete al
mov dword [esp + 0x20], 0x80
add eax, 0x34
mov dword [esp + 0x14], eax
mov ebx, dword [esi + 0xc]
mov ecx, ebx
mov dword [esp + 0x28], ebx
call fcn.004dfcf0
test eax, eax
je 0x4e4722
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
push ecx
push edx
push edi
push eax
mov eax, esi
call fcn.004dfef0
mov eax, dword [esp + 0x2c]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xc]
mov eax, ebx
mov ebx, dword [ebp + 8]
push ecx
mov ecx, ebx
call fcn.004e5330
lea edx, [esp + 0x1c]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x10]
push edx
mov ecx, ebx
call fcn.004e5330
mov ecx, dword [esp + 0x24]
add esp, 4
or ecx, 0x20
push ecx
mov ecx, dword [esp + 0x18]
push edi
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
call fcn.004dfbb0
add esp, 0x18
jmp 0x4e47b4
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xc]
push edx
call fcn.004e5330
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esi + 0x10]
call fcn.004e5330
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
push edi
push ecx
push eax
push edx
push ebx
call fcn.004cc1f0
add esp, 0x14
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4e47d0
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4e47d0
movzx edx, al
mov dword [ebx + edx*4 + 0x90], ecx
inc byte [ebx + 0x13]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4e47ec
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4e47ec
movzx eax, al
mov dword [ebx + eax*4 + 0x90], ecx
inc byte [ebx + 0x13]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
mov cl, byte [eax]
cmp cl, 0x8f
jne 0x4e481c
mov ecx, dword [ebp + 8]
push edi
push ecx
mov ecx, 1
call fcn.004e4050
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp cl, 0x8d
jne 0x4e4839
mov edx, dword [eax + 8]
push edi
push 1
push ebx
call fcn.004e3fe0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x34]
mov byte [esp + 0x34], 0x8f
mov dword [esp + 0x38], 0x4400
mov dword [esp + 0x3c], 0
call fcn.004e5330
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esi + 0xc]
call fcn.004e5330
mov ecx, dword [esp + 0x14]
add esp, 4
push edi
push ecx
push eax
push 0x61
jmp 0x4e47a8
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xc]
push edx
call fcn.004e5330
add esp, 4
push 0
push edi
push eax
mov eax, dword [esp + 0x20]
push eax
jmp 0x4e47a8
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], esi
call fcn.004e5330
mov edx, dword [esi + 0x10]
xor ecx, ecx
mov edi, eax
mov eax, dword [edx + 8]
add esp, 4
cmp byte [eax + 4], cl
sete cl
xor edx, edx
cmp byte [esi + 0x26], 0x2d
mov esi, ebx
sete dl
mov eax, ecx
xor ecx, ecx
xor edx, eax
test eax, eax
sete cl
push edx
push 0x58
mov edx, edi
mov eax, ecx
mov ecx, dword [ebp + 0x10]
call fcn.004cc700
add esp, 8
jmp 0x4e47b1
push 0
push edi
push 1
push 0x46
push ebx
call fcn.004cc1f0
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x20]
add esp, 0x14
push edx
call fcn.004e5330
add esp, 4
push 0
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
push ebx
call fcn.004cc1f0
add esp, 0x14
push 0
push edi
push 0
push 0x46
push ebx
mov esi, eax
call fcn.004cc1f0
add esp, 0x14
mov eax, esi
mov edx, ebx
call fcn.004ccb60
jmp 0x4e47b1
mov eax, dword [esi + 0x28]
mov dword [ebp + 0xc], esi
cmp eax, ecx
jne 0x4e497c
mov ecx, esi
mov edx, dword [ecx + 8]
mov esi, dword [ebp + 8]
push edx
push str.misuse_of_aggregate:__s__
call fcn.004ae670
mov eax, dword [esp + 0x24]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [esi + 0x22]
mov edx, dword [eax + 0x28]
shl ecx, 4
mov eax, dword [ecx + edx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x6000
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
mov al, byte [eax + 0x46]
mov dword [ebp + 0xc], esi
mov dword [esp + 0x20], ecx
mov byte [esp + 0x28], al
mov dword [esp + 0x24], ecx
jne 0x4e49c6
mov eax, dword [esi + 0x30]
cmp eax, ecx
je 0x4e49c6
mov eax, dword [eax + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx + 0x17], cl
je 0x4e49ed
mov eax, esi
call fcn.004e1bc0
test eax, eax
je 0x4e49eb
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push esi
call fcn.004e5270
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
test dword [esi + 4], 0x4000
je 0x4e49fc
mov dword [esp + 0x14], ecx
jmp 0x4e4a09
mov eax, dword [esi + 0x14]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x4e4a09
mov ecx, dword [eax]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
push 0
push edx
mov edx, dword [esp + 0x20]
push ecx
push eax
push edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
call fcn.004f2170
add esp, 0x14
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4e4ce6
cmp dword [eax + 0x14], 0
jne 0x4e4ce6
mov eax, dword [eax + 4]
test eax, 0x200
je 0x4e4ac3
mov eax, ebx
call fcn.004cc760
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push edi
push eax
push ecx
call fcn.004e53f0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, 1
jle 0x4e4aad
add esi, 0x1c
dec eax
mov dword [esp + 0x24], eax
jmp 0x4e4a80
mov edx, dword [esp + 0x18]
push 0
push edx
push edi
push 0x33
push ebx
call fcn.004cc1f0
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
add esp, 0x14
push edi
push eax
push ecx
call fcn.004e53f0
add esp, 0xc
add esi, 0x18
sub dword [esp + 0x24], 1
jne 0x4e4a80
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.004cc7b0
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, 0x400
je 0x4e4ae6
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call fcn.004e43f0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
xor edi, edi
mov dword [esp + 0x10], 1
test ecx, ecx
jle 0x4e4b62
mov edx, dword [esp + 0x14]
add edx, 4
mov dword [esp + 0x1c], edx
cmp edi, 0x20
jge 0x4e4b23
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
call fcn.004e1b70
test eax, eax
je 0x4e4b1f
mov ecx, dword [esp + 0x10]
or dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
test byte [edx + 4], 0x20
je 0x4e4b4e
cmp dword [esp + 0x24], 0
jne 0x4e4b4e
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [ecx]
call fcn.004df870
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x10]
add dword [esp + 0x1c], 0x18
inc edi
rol edx, 1
cmp edi, ecx
mov dword [esp + 0x10], edx
jl 0x4e4b03
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e4bde
cmp dword [esp + 0x20], 0
je 0x4e4b88
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x2c]
lea edi, [edx + 1]
add edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], edi
mov dword [ecx + 0x2c], edx
jmp 0x4e4b9d
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.004e6a70
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
test byte [edi + 4], 0xc0
je 0x4e4bbf
mov ecx, dword [eax + 4]
mov dl, byte [ecx]
cmp dl, 0x9e
je 0x4e4bb6
cmp dl, 0xa0
jne 0x4e4bbf
mov dl, byte [edi + 4]
and dl, 0xc0
mov byte [ecx + 0x26], dl
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
push 3
push 0
push ecx
push edx
call fcn.004e5530
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add esp, 0x10
jmp 0x4e4bea
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], 0
cmp ecx, 2
jl 0x4e4bfa
test byte [esi + 4], 0x80
je 0x4e4bfa
mov eax, dword [eax + 0x1c]
jmp 0x4e4c01
test ecx, ecx
jle 0x4e4c15
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00511360
mov edi, eax
mov dword [esp + 0x34], edi
add esp, 8
test byte [edi + 4], 0x20
je 0x4e4c8a
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x4e4c2a
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
push 0
push 0
push 0
push 0x52
push ebx
call fcn.004cc1f0
mov ecx, dword [ebx]
add esp, 0x14
cmp byte [ecx + 0x49], 0
je 0x4e4c51
mov eax, esi
mov edx, 0xfffffffe
call fcn.004cccf0
jmp 0x4e4c8a
test eax, eax
jge 0x4e4c5c
mov eax, dword [ebx + 0x88]
dec eax
mov edx, dword [ebx + 0x58]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
lea eax, [edx + ecx*4]
je 0x4e4c7f
push esi
push eax
mov eax, 0xfffffffe
mov ecx, ebx
call fcn.004cce90
add esp, 8
jmp 0x4e4c8a
test esi, esi
je 0x4e4c8a
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
neg edx
sbb edx, edx
push 0xfffffffffffffff8
push eax
mov eax, dword [ebp + 0x10]
add edx, 0x3f
push edx
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov edi, ebx
call fcn.004cc460
movzx dx, byte [esp + 0x18]
add esp, 0xc
mov ecx, ebx
call fcn.004ccb40
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4e4cdc
cmp dword [esp + 0x20], 0
jne 0x4e4cdc
mov eax, dword [ebp + 8]
mov edx, esi
call fcn.004e6ac0
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
push eax
push str.unknown_function:__s__
call fcn.004ae670
mov eax, dword [esp + 0x24]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x7f
jne 0x4e4d35
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx]
cmp eax, 1
je 0x4e4d35
mov esi, dword [ebp + 8]
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
call fcn.004ae670
mov eax, dword [esp + 0x28]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push 0
push 0
push esi
push eax
call fcn.004e2a60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], esi
cmp dword [eax + 0x1c], ecx
jne 0x4e4d71
mov ecx, dword [ebp + 8]
push 0
push 0
push eax
push ecx
call fcn.004e2a60
mov edx, dword [esi + 0xc]
add esp, 0x10
mov dword [edx + 0x1c], eax
xor ecx, ecx
mov edi, dword [esi + 0x1c]
cmp edi, ecx
je 0x4e4d99
mov ecx, dword [esi + 0xc]
call fcn.004dfd40
cmp edi, eax
je 0x4e4d99
mov esi, dword [ebp + 8]
push eax
push edi
push str._d_columns_assigned__d_values
call fcn.004ae670
mov esi, dword [ebp + 0xc]
add esp, 0xc
movsx eax, word [esi + 0x20]
mov ecx, dword [esi + 0xc]
add eax, dword [ecx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
call fcn.004cc760
mov dword [esp + 0x24], eax
mov eax, ebx
call fcn.004cc760
push 0
push edi
push 0
push 0x49
push ebx
mov dword [esp + 0x2c], eax
call fcn.004cc1f0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 8]
add esp, 0x14
push edx
push eax
push esi
push ecx
call fcn.004e3170
push 0
push edi
push 1
push 0x46
push ebx
call fcn.004cc1f0
mov edx, dword [esp + 0x48]
add esp, 0x24
mov ecx, ebx
call fcn.004cc7b0
push 0
push 0
push edi
push 0x53
push ebx
call fcn.004cc1f0
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov ecx, ebx
call fcn.004cc7b0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
push 0
push 0
push edi
push esi
call fcn.004e56a0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
movsx edx, word [eax + 0x2a]
inc edx
imul edx, dword [esi + 0x1c]
mov dword [esp + 0x28], eax
movsx eax, word [esi + 0x20]
push 0
push edi
lea ecx, [edx + eax + 1]
push ecx
push 0x96
push ebx
call fcn.004cc1f0
movzx eax, word [esi + 0x20]
add esp, 0x14
test ax, ax
jl 0x4e47ec
movsx edx, ax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
shl edx, 4
cmp byte [edx + ecx + 0xd], 0x45
jne 0x4e47ec
push 0
push 0
push edi
push 0x54
push ebx
call fcn.004cc1f0
mov eax, dword [esp + 0x30]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push str.row_value_misused
call fcn.004ae670
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
push 0
push 0
push eax
push 0x15
push ebx
call fcn.004cc1f0
mov edx, dword [esi + 0xc]
add esp, 0x14
push edi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.004e43f0
mov esi, dword [esp + 0x34]
mov edi, eax
add esp, 0xc
mov eax, esi
mov edx, ebx
mov dword [esp + 0x1c], edi
call fcn.004ccb60
mov edx, edi
mov eax, esi
mov ecx, ebx
call fcn.004ccb10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], ecx
jne 0x4e4f31
push str.RAISE___may_only_be_used_within_a_trigger_program
mov esi, eax
call fcn.004ae670
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x4e4f3e
mov ecx, eax
call fcn.004f1300
mov al, byte [esi + 1]
push 0
cmp al, 4
jne 0x4e4fa2
mov esi, dword [esi + 8]
push 4
push 0
push 0x45
push ebx
call fcn.004cc1f0
mov ecx, dword [ebx]
add esp, 0x14
cmp byte [ecx + 0x49], 0
je 0x4e4f75
mov eax, esi
xor edx, edx
call fcn.004cccf0
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jge 0x4e4f80
mov eax, dword [ebx + 0x88]
dec eax
mov edx, dword [ebx + 0x58]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
push esi
push eax
xor eax, eax
mov ecx, ebx
call fcn.004cce90
mov eax, dword [esp + 0x24]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
push 0
push ecx
movsx edi, al
mov eax, dword [ebp + 8]
push 0x713
call fcn.004f1320
mov eax, dword [esp + 0x2c]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
mov dword [esp + 0x10], eax
mov eax, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
call fcn.004cc760
mov esi, dword [esi + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x4e504e
lea eax, [esp + 0x30]
mov ecx, 0xd
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
push eax
lea eax, [esp + 0x10]
call fcn.004e42e0
mov cl, byte [esp + 0x34]
and dword [esp + 0x38], 0xffffefff
add esp, 4
push 0x34
lea edx, [esp + 0x68]
push 0
push edx
mov byte [esp + 0x62], cl
mov byte [esp + 0x3c], 0xa4
mov dword [esp + 0x58], eax
call fcn.00589f50
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x70]
add esp, 0xc
mov byte [esp + 0x64], 0x35
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 1]
test eax, eax
jle 0x4e50ff
mov ecx, dword [esp + 0x10]
dec eax
add ecx, 4
shr eax, 1
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x18], 0
je 0x4e5083
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x74], eax
jmp 0x4e508d
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov eax, ebx
call fcn.004cc760
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [esp + 0x24]
push 0x10
push esi
push eax
push ecx
call fcn.004e5b70
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call fcn.004e53f0
mov edx, dword [esp + 0x44]
add esp, 0x1c
push 0
push edx
push 0
push 0xb
push ebx
call fcn.004cc1f0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x40]
add esp, 0x14
test eax, eax
je 0x4e50eb
mov edx, dword [ebx + 0x88]
lea ecx, [esi*4 + 4]
sub eax, ecx
mov dword [eax], edx
add dword [esp + 0x20], 0x30
sub dword [esp + 0x2c], 1
jne 0x4e5070
mov ecx, dword [esp + 0x14]
test cl, 1
je 0x4e511f
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax*8 - 0x14]
mov eax, dword [ebp + 8]
push edi
push edx
push eax
call fcn.004e53f0
add esp, 0xc
jmp 0x4e512f
push 0
push edi
push 0
push 0x49
push ebx
call fcn.004cc1f0
add esp, 0x14
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4e47ec
mov ecx, dword [esp + 0x28]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebx + 0x88]
pop edi
sub eax, edx
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
pop ebx
mov esp, ebp
pop ebp
ret