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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov esi, ecx
mov dword [esp + 0x14], ebp
xor ecx, ecx
mov dword [esp + 0x24], 0x7f000000
and dword [esp + 0x34], ecx
lea edi, [esp + 0x24]
and dword [esp + 0x30], ecx
or edx, 0x7c380425
mov dword [esp + 0x18], ecx
mov ecx, esi
call fcn.005178dd
mov ebx, eax
test ebp, ebx
jne 0x517fde
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x517d1f
cmp dword [esi + 0x88], 0x27031402
jne 0x517d1f
mov edx, 0x250f1500
mov ecx, esi
call fcn.00517c37
mov edi, eax
xor ecx, ecx
mov dword [ebp + 8], edi
mov dword [esp + 0x18], ecx
mov dword [edi + 0x10], ebp
mov ebp, 0x7c380421
jmp 0x517fc9
mov edx, dword [esi + 0x88]
mov ebp, edi
test ebx, 0x3d0
je 0x517de1
mov ecx, dword [edi + 0x10]
mov eax, edx
and eax, 0x7f000000
mov dword [esp + 0x1c], ebp
mov edi, eax
mov eax, dword [ecx]
and eax, 0x7e000000
cmp edi, eax
ja 0x517d5b
cmp edx, dword [ebp]
jne 0x517d6e
cmp edx, 0x4300123a
jne 0x517d6e
mov ebp, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x517ff1
jmp 0x517d43
cmp edx, 0x4001253f
jne 0x517d83
mov eax, 0x4601253f
mov dword [esi + 0x88], eax
mov edx, eax
mov ecx, esi
call fcn.00517c37
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xc], edi
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
test ebx, 0x3c0
je 0x517dc8
mov dword [edi + 8], ebp
mov ebp, 0x7c380425
cmp dword [esi + 0x88], 0x25072000
jne 0x517dd5
mov edx, 0x200000
mov ecx, esi
call fcn.005178dd
and dword [edi], 0x80ffffff
jmp 0x517dcb
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x14]
or ebp, 0x7c3807e1
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x10], edi
jmp 0x517fc9
mov ecx, esi
mov dword [esp + 0x20], ebp
call fcn.00517c37
mov dword [edi + 0xc], eax
mov edi, eax
mov dword [edi + 0x10], ebp
mov ebp, 0x7c380425
mov eax, dword [esi + 0x88]
cmp eax, 0x9022650
je 0x517e0d
cmp eax, 0x902264d
jne 0x517e12
mov ebp, 0xc000020
test ebx, 0x7c380005
je 0x517fc9
mov eax, dword [esp + 0x14]
mov ecx, 0x4000000
mov ebp, eax
or ebp, 0x7c3807f1
cmp ebx, ecx
ja 0x517ef6
je 0x517f78
sub ebx, 1
je 0x517ed3
sub ebx, 3
je 0x517eae
sub ebx, 0x7fffc
je 0x517ea5
sub ebx, 0x80000
je 0x517e78
sub ebx, 0x100000
jne 0x517fc9
mov ebp, eax
mov dword [esp + 0x18], edi
or ebp, 0x7c3807e1
jmp 0x517fc9
mov edx, 0xe141
mov ecx, esi
call fcn.005178dd
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x517e93
mov dword [esi + 0x78], ecx
jmp 0x517fc9
push 2
pop edx
mov ecx, esi
call fcn.00517ca1
mov dword [edi + 8], eax
jmp 0x517fc9
mov ecx, esi
call fcn.00517c8b
jmp 0x517e9d
mov ecx, dword [esi + 0x398]
push 1
push 0x40
pop edx
call fcn.00504abe
pop ecx
mov ecx, dword [esi + 0x90]
mov edx, edi
push eax
call fcn.00517c5b
pop ecx
jmp 0x517fc9
push 2
pop edx
mov ecx, esi
call fcn.00517ca1
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [eax + 0xc], edi
test edi, edi
je 0x517fea
mov dword [edi + 0x10], eax
jmp 0x517fc9
cmp ebx, 0x8000000
je 0x517f78
cmp ebx, 0x10000000
je 0x517f5c
cmp ebx, 0x20000000
je 0x517f1a
cmp ebx, 0x40000000
jne 0x517fc9
push 1
mov dword [edi], 0x2700
mov ecx, dword [esi + 0x398]
push 0x18
pop edx
call fcn.00504abe
mov dword [edi + 8], eax
mov edx, eax
pop ecx
mov ecx, esi
test ebx, 0x40000000
je 0x517f4b
movsd xmm2, qword [esi]
call fcn.005176c4
jmp 0x517fc9
push dword [esi + 0x90]
call fcn.00517648
pop ecx
and ebp, 0xffffffef
jmp 0x517fc9
mov dword [edi], 0x1900
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x40]
call fcn.0051ae96
mov dword [edi + 0xc], eax
jmp 0x517e93
mov dword [edi], 0x2700
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x3c]
call fcn.0051adb8
test eax, eax
je 0x517f9b
mov dword [edi], 0x1800
mov eax, dword [eax + 0x10]
jmp 0x517fa9
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x44]
call fcn.0051ae96
mov dword [edi + 8], eax
test ebx, 0x8000000
je 0x517fc9
or dword [edi], 0xa0000
mov edx, 0x800
mov ecx, esi
call fcn.00517ca1
mov dword [edi + 0xc], eax
mov edx, ebp
mov ecx, esi
call fcn.005178dd
mov ebx, eax
test dword [esp + 0x14], ebx
je 0x517ce7
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, str.Empty_sequence
jmp 0x517ff6
mov edx, str.Unexpected_token
mov ecx, esi
call fcn.005173cb
int3