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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov ebx, dword [0x69b710]
mov eax, dword [ebx]
test eax, eax
je 0x518ee1
mov eax, dword [esp + 0x60]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
mov ebp, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], esi
cmp dword [ebp + 0x38], edi
jbe 0x519292
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x519292
imul ecx, edi, 0xf0
mov edx, dword [eax + ecx]
xor edx, 3
or edx, dword [eax + ecx + 4]
je 0x519292
add eax, ecx
cmp dword [eax + 0xcc], esi
jne 0x519292
movzx edx, byte [eax + 0xe2]
test dl, dl
je 0x518fb1
mov eax, dword [ebx]
test eax, eax
jne 0x51906f
movzx eax, byte [0x69b27c]
test al, al
je 0x51906f
movzx ecx, al
cmp ecx, 1
je 0x518e2d
cmp ecx, 2
jne 0x51923c
mov al, 2
movzx eax, al
push eax
push dword [0x69b274]
mov ebx, edx
call fcn.005313d0
mov edx, ebx
add esp, 8
test al, al
je 0x51906f
mov eax, dword [0x69b274]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x519331
mov esi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
lea edi, [esp + 0x10]
mov dword [esp + 0x10], 0x627884
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x6274b0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], esi
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], edx
movlps qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], esi
lea esi, [esp + 0x3c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 0x6277fc
mov dword [esp], esi
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
mov ecx, esp
push ecx
push eax
call fcn.00531b00
add esp, 8
mov edx, ebx
jmp 0x51906f
movzx eax, byte [0x69b270]
test al, al
je 0x518da7
movzx ecx, al
cmp ecx, 1
je 0x518f03
cmp ecx, 2
jne 0x519222
mov al, 2
movzx eax, al
push eax
push dword [0x69b268]
call fcn.005313d0
add esp, 8
test al, al
je 0x518da7
mov eax, dword [0x69b268]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x51932a
mov esi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
lea edi, [esp + 0x10]
mov dword [esp + 0x10], 0x6277f4
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x6274b0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], esi
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], edx
movlps qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], esi
lea esi, [esp + 0x3c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 0x6277fc
mov dword [esp], esi
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
mov ecx, esp
push ecx
push eax
call fcn.00531b00
add esp, 8
jmp 0x518da7
mov dword [esp], edi
mov dword [esp + 4], esi
mov ecx, dword [eax]
xor ecx, 3
or ecx, dword [eax + 4]
je 0x5192de
cmp dword [eax + 0xcc], esi
jne 0x5192de
mov ecx, dword [esp + 0x5c]
mov byte [eax + 0xe2], 1
cmp dword [ecx], 0
mov eax, dword [ebx]
je 0x519051
test eax, eax
mov byte [esp + 0xf], dl
je 0x51907c
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
cmp dword [ebp + 0x38], edx
jbe 0x5192de
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x5192de
imul edx, edx, 0xf0
mov ebx, dword [ecx + edx]
xor ebx, 3
or ebx, dword [ecx + edx + 4]
je 0x5192de
add ecx, edx
cmp dword [ecx + 0xcc], eax
jne 0x5192de
mov eax, dword [esp + 0x5c]
movzx edx, byte [esp + 0xf]
mov dword [ecx + 0x70], 1
mov dword [ecx + 0x74], edi
mov dword [ecx + 0x78], esi
jmp 0x519069
test eax, eax
je 0x51914c
mov eax, dword [esp + 0x5c]
mov dword [eax], 1
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
test dl, dl
sete al
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x69b288]
test al, al
je 0x518ff0
movzx ecx, al
cmp ecx, 1
je 0x51909e
cmp ecx, 2
jne 0x51925a
mov al, 2
movzx eax, al
push eax
push dword [0x69b280]
call fcn.005313d0
add esp, 8
test al, al
je 0x518ff0
mov eax, dword [0x69b280]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x519338
mov ebx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x10], 0x627858
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x6274b0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x28]
lea ebx, [esp + 0x3c]
movlps qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
mov ecx, esp
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x6277fc
push ecx
push eax
call fcn.00531b00
add esp, 8
jmp 0x518ff0
movzx eax, byte [0x69b294]
test al, al
je 0x519059
movzx ecx, al
cmp ecx, 1
je 0x51916e
cmp ecx, 2
jne 0x519274
mov al, 2
movzx eax, al
push eax
push dword [0x69b28c]
mov ebx, edx
call fcn.005313d0
mov edx, ebx
add esp, 8
test al, al
je 0x519059
mov eax, dword [0x69b28c]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x51933f
mov ebp, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x10], 0x62782c
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x6274b0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x28]
lea ebp, [esp + 0x3c]
movlps qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
mov ecx, esp
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x6277fc
push ecx
push eax
call fcn.00531b00
add esp, 8
mov edx, ebx
jmp 0x519059
push 0x69b268
call fcn.0059e2f0
add esp, 4
test al, al
jne 0x518f03
jmp 0x518da7
push 0x69b274
mov ebx, edx
call fcn.0059e2f0
mov edx, ebx
add esp, 4
test al, al
jne 0x518e2d
jmp 0x51906f
push 0x69b280
call fcn.0059e2f0
add esp, 4
test al, al
jne 0x51909e
jmp 0x518ff0
push 0x69b28c
mov ebx, edx
call fcn.0059e2f0
mov edx, ebx
add esp, 4
test al, al
jne 0x51916e
jmp 0x519059
lea eax, [esp + 4]
mov dword [esp + 0x10], 0x627788
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0x51bc80
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 1
push 0x627790
push eax
call fcn.005a0aa0
add esp, 8
ud2
lea eax, [esp + 4]
mov dword [esp + 0x10], 0x627788
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0x51bc80
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 1
push 0x6277a0
push eax
call fcn.005a0aa0
add esp, 8
ud2
push 0x6277d4
jmp 0x519344
push 0x627860
jmp 0x519344
push 0x627834
jmp 0x519344
push 0x62780c
push 0x22
push 0x6277b0
call fcn.005a0a40
add esp, 0xc
ud2