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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf505
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6300f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebx]
or dword [esi + 0x84], 1
cmp dword [esi + 8], 0x638490
jne 0x514b04
push 0x18
call fcn.005708a6
add esp, 4
test eax, eax
je 0x514aff
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x514af8
mov ecx, dword [eax]
mov byte [ecx], 0
jmp 0x514b01
mov ecx, eax
mov byte [ecx], 0
jmp 0x514b01
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push 0
push edi
call fcn.00411b75
mov edi, dword [ebx + 4]
cmp dword [edi + 0x10], 0
je 0x514b6c
or dword [esi + 0x84], 2
cmp dword [esi + 0xc], 0x638490
jne 0x514b5f
push 0x18
call fcn.005708a6
add esp, 4
test eax, eax
je 0x514b5a
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x514b53
mov ecx, dword [eax]
mov byte [ecx], 0
jmp 0x514b5c
mov ecx, eax
mov byte [ecx], 0
jmp 0x514b5c
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push 0
push edi
call fcn.00411b75
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebx + 0xc], ecx
jle 0x514bde
mov eax, dword [ebx + 0x10]
mov edx, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp ecx, edx
jge 0x514b9f
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x14], eax
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
jmp 0x514bc6
mov eax, dword [esi + 0x1c]
cmp edx, eax
jne 0x514bb0
inc eax
lea ecx, [esi + 0x10]
push eax
call fcn.00507e70
inc dword [esi + 0x18]
call fcn.00507f40
mov edx, dword [esi + 0x14]
mov ecx, eax
mov eax, dword [esi + 0x10]
mov dword [eax + edx*4], ecx
inc dword [esi + 0x14]
push 0xffffffffffffffff
push 0
push dword [ebp - 0x18]
call fcn.00411b75
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebx + 0xc]
jl 0x514b76
xor edi, edi
cmp dword [ebx + 0x14], edi
jle 0x514c8f
nop dword [eax]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x28]
cmp dword [esi + 0x24], eax
jne 0x514c76
lea edx, [eax + 1]
mov ecx, eax
mov dword [ebp - 0x18], edx
cmp ecx, edx
jge 0x514c76
mov eax, dword [esi + 0x20]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ecx + ecx]
cmp eax, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov edx, 4
lea ecx, [ebp - 0x18]
cmovge ecx, eax
mov eax, 0x5cf7f4
cmp dword [ecx], 4
cmovg eax, ecx
xor ecx, ecx
mov eax, dword [eax]
mov dword [esi + 0x28], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005708e7
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x20], edx
test eax, eax
je 0x514c76
mov ecx, dword [esi + 0x24]
shl ecx, 2
push ecx
push eax
push edx
call fcn.00588a70
mov eax, dword [ebp - 0x10]
push eax
call fcn.005708d9
add esp, 0x10
mov ecx, dword [esi + 0x24]
inc edi
mov eax, dword [esi + 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [eax + ecx*4], edx
inc dword [esi + 0x24]
cmp edi, dword [ebx + 0x14]
jl 0x514bf0
xor edi, edi
cmp dword [ebx + 0x1c], edi
jle 0x514d3f
nop word [eax + eax]
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x34]
cmp dword [esi + 0x30], eax
jne 0x514d26
lea edx, [eax + 1]
mov ecx, eax
mov dword [ebp - 0x1c], edx
cmp ecx, edx
jge 0x514d26
mov eax, dword [esi + 0x2c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ecx + ecx]
cmp eax, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov edx, 4
lea ecx, [ebp - 0x1c]
cmovge ecx, eax
mov eax, 0x5cf7f4
cmp dword [ecx], 4
cmovg eax, ecx
xor ecx, ecx
mov eax, dword [eax]
mov dword [esi + 0x34], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005708e7
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x2c], edx
test eax, eax
je 0x514d26
mov ecx, dword [esi + 0x30]
shl ecx, 2
push ecx
push eax
push edx
call fcn.00588a70
mov eax, dword [ebp - 0x10]
push eax
call fcn.005708d9
add esp, 0x10
mov ecx, dword [esi + 0x30]
inc edi
mov eax, dword [esi + 0x2c]
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], edx
inc dword [esi + 0x30]
cmp edi, dword [ebx + 0x1c]
jl 0x514ca0
cmp dword [ebx + 0x24], 0
mov dword [ebp - 0x10], 0
jle 0x514dd5
lea edi, [esi + 0x38]
xor esi, esi
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x514d6c
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x514db8
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x514d7e
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.00507e70
inc dword [edi + 8]
push 0x68
call fcn.005708a6
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x514da4
mov ecx, eax
call fcn.0053efc0
mov edx, eax
jmp 0x514da6
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + ecx*4], edx
inc dword [edi + 4]
mov ecx, dword [ebx + 0x28]
push edx
add ecx, esi
call fcn.00510a40
mov edx, dword [ebp - 0x10]
add esi, 0x40
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x24]
jl 0x514d55
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x2c], 0
mov dword [ebp - 0x10], 0
jle 0x514e70
lea edi, [esi + 0x48]
xor esi, esi
nop dword [eax + eax]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x514e07
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x514e53
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x514e19
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.00507e70
inc dword [edi + 8]
push 0x28
call fcn.005708a6
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x514e3f
mov ecx, eax
call fcn.00541740
mov edx, eax
jmp 0x514e41
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + ecx*4], edx
inc dword [edi + 4]
mov ecx, dword [ebx + 0x30]
push edx
add ecx, esi
call fcn.00512e40
mov edx, dword [ebp - 0x10]
add esi, 0x20
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x2c]
jl 0x514df0
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x34], 0
mov dword [ebp - 0x10], 0
jle 0x514f06
lea edi, [esi + 0x58]
xor esi, esi
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x514e9d
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x514ee9
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x514eaf
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.00507e70
inc dword [edi + 8]
push 0x28
call fcn.005708a6
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x514ed5
mov ecx, eax
call fcn.00542f60
mov edx, eax
jmp 0x514ed7
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + ecx*4], edx
inc dword [edi + 4]
mov ecx, dword [ebx + 0x38]
push edx
add ecx, esi
call fcn.00513bf0
mov edx, dword [ebp - 0x10]
add esi, 0x18
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x34]
jl 0x514e86
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x3c], 0
mov dword [ebp - 0x10], 0
jle 0x514fa0
lea edi, [esi + 0x68]
xor esi, esi
nop dword [eax]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x514f37
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x514f83
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x514f49
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.00507e70
inc dword [edi + 8]
push 0x30
call fcn.005708a6
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x514f6f
mov ecx, eax
call fcn.00540570
mov edx, eax
jmp 0x514f71
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + ecx*4], edx
inc dword [edi + 4]
mov ecx, dword [ebx + 0x40]
push edx
add ecx, esi
call fcn.00511f90
mov edx, dword [ebp - 0x10]
add esi, 0x48
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x3c]
jl 0x514f20
mov esi, dword [ebp + 8]
mov edi, dword [ebx + 0x44]
call fcn.00544c00
cmp edi, eax
je 0x514ff5
mov edi, dword [ebx + 0x44]
or dword [esi + 0x84], 0x200
cmp dword [esi + 0x78], 0
jne 0x514fec
push 0x40
call fcn.005708a6
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x514fe0
mov ecx, eax
call fcn.005449c0
jmp 0x514fe2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x78]
push edi
call fcn.00544e50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4