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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, ecx
mov dword [esp + 0x38], edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx + 8]
mov eax, dword [ecx + 0x34]
mov esi, dword [ebx]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], eax
test eax, eax
je 0x4f63b0
cmp dword [eax], esi
je 0x4f63ac
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4f63a1
mov dword [esp + 0x44], eax
movsx eax, word [ecx + 0x22]
mov ecx, dword [ebx + 0x28]
add eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x18], eax
lea eax, [ecx + 1]
mov dword [esp + 0x34], 0
mov dword [ebx + 0x28], eax
mov edx, dword [edi + 0x74]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
cmp dword [edi + 0x78], edx
jg 0x4f63ff
push 0
push dword [esp + 0x20]
mov edx, 0x74
push ecx
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4f6432
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x74
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 + 0x2c]
lea ecx, [eax + 1]
add eax, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x2c], eax
cmp dword [ecx], 1
jle 0x4f6751
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], 0
test byte [eax + 0x1c], 0x80
jne 0x4f64d6
mov edx, dword [ebp + 0x10]
push 0
test edx, edx
je 0x4f647d
push 0
mov ecx, esi
call fcn.004ae5b0
add esp, 8
mov esi, eax
jmp 0x4f6585
mov ecx, dword [ebx]
push 0x34
call fcn.00471a30
mov esi, eax
add esp, 8
test esi, esi
je 0x4f6585
push 0x34
push 0
push esi
call fcn.0054f8e0
add esp, 0xc
mov byte [esi], 0x4b
or eax, 0xffffffff
mov ecx, esi
mov word [esi + 0x22], ax
call fcn.004ad6e0
mov eax, dword [ebx]
mov eax, dword [eax + 0x84]
cmp dword [esi + 0x18], eax
jle 0x4f6585
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.00474c20
add esp, 0xc
jmp 0x4f6585
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x4f64f5
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4f64f1
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4f64e1
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
movzx eax, word [eax]
mov dword [esp + 0x48], eax
cwde
mov eax, dword [ecx + eax*4]
test eax, eax
js 0x4f652e
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4 + 8]
test edx, edx
je 0x4f652a
push 0
push 0
mov ecx, esi
call fcn.004ae5b0
add esp, 8
mov esi, eax
jmp 0x4f6585
xor esi, esi
jmp 0x4f6585
mov ecx, dword [ebx]
push 0
push 0x34
call fcn.00471a30
mov esi, eax
add esp, 8
test esi, esi
je 0x4f6585
push 0x34
push 0
push esi
call fcn.0054f8e0
add esp, 0xc
mov byte [esi], 0x4b
or eax, 0xffffffff
mov ecx, esi
mov word [esi + 0x22], ax
call fcn.004ad6e0
mov eax, dword [ebx]
mov eax, dword [eax + 0x84]
cmp dword [esi + 0x18], eax
jle 0x4f657c
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.00474c20
add esp, 0xc
mov eax, dword [esp + 0x48]
inc eax
mov word [esi + 0x20], ax
mov ecx, dword [ebx]
mov edx, esi
call fcn.004af190
mov esi, eax
xor edx, edx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x30], edx
cmp cx, word [eax + 0x22]
jge 0x4f6715
mov ecx, dword [0x596964]
mov edi, ebx
movups xmm0, xmmword [0x596954]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + edx*4]
test eax, eax
js 0x4f6639
mov edx, dword [ebp + 0xc]
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 + 8]
test edx, edx
je 0x4f65ed
mov ecx, dword [esp + 0x3c]
push 0
push 0
call fcn.004ae5b0
mov ecx, dword [0x596964]
add esp, 8
movups xmm0, xmmword [0x596954]
mov edx, eax
jmp 0x4f65ef
xor edx, edx
test esi, esi
je 0x4f6696
mov eax, dword [esi]
lea ebx, [eax + 1]
cmp dword [esi + 4], ebx
jge 0x4f6622
mov ecx, dword [edi]
push edx
mov edx, esi
call fcn.004af200
mov ecx, dword [0x596964]
add esp, 4
movups xmm0, xmmword [0x596954]
mov esi, eax
jmp 0x4f66f5
lea eax, [eax + eax*4]
mov dword [esi], ebx
movups xmmword [esi + eax*4 + 8], xmm0
mov dword [esi + eax*4 + 0x18], ecx
mov dword [esi + eax*4 + 8], edx
jmp 0x4f66f5
mov ecx, dword [edi]
push 0
push 0x34
call fcn.00471a30
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4f6690
push 0x34
push 0
push ebx
call fcn.0054f8e0
add esp, 0xc
mov byte [ebx], 0x4b
or eax, 0xffffffff
mov ecx, ebx
mov word [ebx + 0x22], ax
call fcn.004ad6e0
mov eax, dword [edi]
mov eax, dword [eax + 0x84]
cmp dword [ebx + 0x18], eax
jle 0x4f6687
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.00474c20
add esp, 0xc
mov eax, dword [esp + 0x30]
inc eax
mov word [ebx + 0x20], ax
test esi, esi
jne 0x4f66ae
mov edx, ebx
mov ecx, dword [edi]
call fcn.004af190
mov ecx, dword [0x596964]
mov esi, eax
movups xmm0, xmmword [0x596954]
jmp 0x4f66f5
mov eax, dword [esi]
lea ecx, [eax + 1]
cmp dword [esi + 4], ecx
jge 0x4f66d6
mov ecx, dword [edi]
mov edx, esi
push ebx
call fcn.004af200
mov ecx, dword [0x596964]
add esp, 4
movups xmm0, xmmword [0x596954]
mov esi, eax
jmp 0x4f66f5
movups xmm0, xmmword [0x596954]
lea eax, [eax + eax*4]
mov dword [esi], ecx
mov ecx, dword [0x596964]
movups xmmword [esi + eax*4 + 8], xmm0
mov dword [esi + eax*4 + 0x18], ecx
mov dword [esi + eax*4 + 8], ebx
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x30], edx
movsx eax, word [eax + 0x22]
cmp edx, eax
jl 0x4f65b4
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub esp, 8
mov ecx, ebx
push dword [ebp + 0x18]
push dword [esp + 0x4c]
push esi
push dword [esp + 0x40]
call fcn.004f34d0
add esp, 0x18
test esi, esi
je 0x4f6741
mov ecx, dword [esp + 0x3c]
mov edx, esi
call fcn.004af5e0
mov dword [esp + 0x48], 0
lea esi, [edi + 0x70]
jmp 0x4f6d10
push 0
push 4
push 0
inc eax
mov edx, ecx
push 0
mov dword [esp + 0x3c], eax
mov ecx, ebx
inc eax
push 0
push dword [ebp + 0x18]
mov dword [esp + 0x48], eax
mov dword [ebx + 0x2c], eax
call fcn.00509bb0
add esp, 0x18
mov dword [esp + 0x34], eax
test eax, eax
je 0x4f6fc8
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp cx, word [eax + 0x22]
jge 0x4f6926
mov ecx, dword [esp + 0xc]
mov esi, 0xfffffffe
mov eax, dword [ebp + 0x14]
sub esi, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
lea edx, [ecx + 2]
mov dword [esp + 0x28], edx
jmp 0x4f67b5
mov esi, dword [esp + 0x38]
mov eax, dword [eax]
test eax, eax
js 0x4f687c
cmp dword [ebx + 8], 0
je 0x4f6874
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*4]
push edx
mov esi, dword [ecx + eax*4 + 8]
mov edx, esi
mov ecx, ebx
call fcn.004b32f0
mov edx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, edx
je 0x4f6874
test esi, esi
je 0x4f6802
test dword [esi + 4], 0x200000
mov eax, 0x4f
jne 0x4f6807
mov eax, 0x50
mov esi, dword [ebx + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f6835
push 0
push edx
push dword [esp + 0x50]
mov edx, eax
mov ecx, esi
call fcn.00495eb0
mov edx, dword [esp + 0x34]
lea esi, [edi + 0x70]
add esp, 0xc
jmp 0x4f68fa
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
xor esi, esi
mov word [eax + ecx*4 + 2], si
mov esi, dword [esp + 0x48]
mov byte [eax + ecx*4], bl
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea esi, [edi + 0x70]
jmp 0x4f68fa
mov ecx, dword [edi + 0x74]
lea eax, [esi + edx]
cmp dword [edi + 0x78], ecx
jg 0x4f68a5
push edx
push eax
push dword [esp + 0x20]
mov edx, 0xae
mov ecx, edi
call fcn.00495eb0
mov edx, dword [esp + 0x34]
lea esi, [edi + 0x70]
add esp, 0xc
jmp 0x4f68dc
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea esi, [edi + 0x70]
mov eax, dword [esi]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x38]
add ebx, edx
mov dword [eax + ecx*4], 0xae
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x74]
mov dword [esp + 0x20], esi
test eax, eax
jle 0x4f68fe
lea ecx, [eax + eax*4]
mov ebx, 1
mov eax, dword [esi]
mov word [eax + ecx*4 - 0x12], bx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 8]
inc edx
mov ecx, dword [esp + 0x38]
add dword [esp + 0x3c], 4
add ecx, edx
mov dword [esp + 0x28], edx
movsx eax, word [eax + 0x22]
cmp ecx, eax
mov eax, dword [esp + 0x3c]
jl 0x4f67b1
mov eax, dword [ebp + 8]
jmp 0x4f692d
lea esi, [edi + 0x70]
mov dword [esp + 0x20], esi
test byte [eax + 0x1c], 0x80
jne 0x4f6a7e
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4f695a
push 0
push dword [esp + 0x10]
mov edx, 0x86
mov ecx, edi
push dword [esp + 0x20]
call fcn.00495eb0
add esp, 0xc
jmp 0x4f698c
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0x10]
inc edx
test eax, eax
je 0x4f6a38
cmp dword [ebx + 8], 0
je 0x4f6b53
push edx
mov edx, eax
mov ecx, ebx
call fcn.004b32f0
mov edx, dword [esp + 0x10]
mov ecx, eax
add esp, 4
mov dword [esp + 0x3c], ecx
lea eax, [edx + 1]
cmp ecx, eax
je 0x4f6b57
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [edx + 4]
mov ebx, dword [ecx + 0x74]
and edx, 0x200000
neg edx
mov dword [esp + 0x48], ebx
sbb edx, edx
add edx, 0x50
cmp dword [ecx + 0x78], ebx
mov ebx, dword [esp + 0x10]
jg 0x4f6a06
push 0
push eax
push dword [esp + 0x44]
call fcn.00495eb0
add esp, 0xc
jmp 0x4f6b53
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x20]
inc eax
mov dword [ecx + 0x74], eax
mov eax, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x3c]
mov byte [eax + ecx*4 + 1], 0
jmp 0x4f6b36
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4f6a5b
push 0
push edx
push dword [esp + 0x20]
mov edx, 0x86
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
jmp 0x4f6b53
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x86
jmp 0x4f6b3f
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4f6a95
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4f6a95
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4f6a85
mov eax, dword [ecx + 4]
mov ecx, dword [edi + 0x74]
movsx edx, word [eax]
mov dword [esp + 0x48], edx
cmp dword [edi + 0x78], ecx
jg 0x4f6ac5
push dword [esp + 0xc]
mov ecx, edi
push edx
push dword [esp + 0x20]
mov edx, 0xae
call fcn.00495eb0
mov edx, dword [esp + 0x54]
add esp, 0xc
jmp 0x4f6af7
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0xae
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 1]
add ecx, 2
add edx, ecx
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4f6b20
push 0
push eax
push edx
mov edx, 0x50
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
jmp 0x4f6b53
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
inc edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x32]
mov dword [esp + 0x48], eax
test eax, eax
je 0x4f6bfd
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4f6ba2
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea esi, [eax + ecx*4]
mov ecx, dword [edi]
call fcn.004969c0
mov word [esi], 0xb6
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x20]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4f6bc6
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x79
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
jmp 0x4f6dfd
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4f6dfd
mov eax, dword [ebx + 0x74]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4f6c2d
push dword [esp + 0x2c]
mov ecx, edi
push dword [esp + 0x20]
push edx
mov edx, 0x60
call fcn.00495eb0
add esp, 0xc
jmp 0x4f6c5f
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4f6c86
push 0
push dword [esp + 0x34]
mov edx, 0x7e
mov ecx, edi
push dword [esp + 0x1c]
call fcn.00495eb0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4f6cbc
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
mov eax, dword [esi]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4f6cde
push dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0x30]
push edx
mov edx, 0x7f
call fcn.00495eb0
add esp, 0xc
jmp 0x4f6d10
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], esi
cmp dword [eax], 1
jne 0x4f6d26
mov ecx, dword [esp + 0x34]
call fcn.0050a800
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x78], ecx
jg 0x4f6d53
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x26
mov ecx, edi
call fcn.00495eb0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4f6d89
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x4f6df9
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x74]
add eax, esi
cmp dword [edi + 0x78], ecx
jg 0x4f6dba
push eax
push esi
push dword [esp + 0x1c]
mov edx, 0x5d
mov ecx, edi
call fcn.00495eb0
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4f6dee
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0xc]
add ebx, esi
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x4f6d91
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.004f9e10
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4f6e2c
push dword [esp + 0xc]
mov edx, 0xa
mov ecx, edi
push dword [esp + 0x20]
push 0
call fcn.00495eb0
add esp, 0xc
mov edx, eax
jmp 0x4f6e62
mov ebx, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4f6ea4
test edx, edx
jns 0x4f6e72
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [esi]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x44]
je 0x4f6e96
push 0xfffffffffffffff4
push ecx
mov edx, eax
mov ecx, edi
call fcn.00496c10
add esp, 8
jmp 0x4f6ea4
test ecx, ecx
je 0x4f6ea4
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf4
inc dword [ecx + 0xc]
mov ecx, dword [edi + 0x74]
test ecx, ecx
jle 0x4f6ecb
mov eax, dword [ebp + 0x1c]
lea ecx, [ecx + ecx*4]
movzx edx, ax
cmp eax, 0xb
mov eax, dword [esi]
mov dword [esp + 0x4c], 2
cmove edx, dword [esp + 0x4c]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx + 0x74]
test eax, eax
cmovne ebx, eax
cmp dword [esp + 0x48], 0
mov byte [ebx + 0x15], 1
jne 0x4f6fbf
mov ebx, dword [esp + 0x24]
mov ecx, dword [edi + 0x74]
lea edx, [ebx + 1]
cmp dword [edi + 0x78], ecx
jg 0x4f6f09
push 0
push edx
push dword [esp + 0x1c]
mov edx, 5
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
jmp 0x4f6f3b
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4f6f4d
mov eax, 0x5d1b70
jmp 0x4f6f5d
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4f6f86
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x79
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
call fcn.0050a800
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret