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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [esp + 0xa0], eax
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov dword [esp + 0xc], ebx
mov dword [ebx + 0x50], eax
or byte [ebx + 0x4c], 1
mov eax, dword [esi]
mov edi, dword [eax + 0x28]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov esi, eax
xor ecx, ecx
dec ecx
lea edx, [esp + 0x78]
mov dword [edx + 4], ecx
mov dword [edx], ecx
lea ebx, [esp + 0x70]
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov ecx, dword [eax]
mov dword [esp + 4], eax
mov edi, dword [ecx + 0x14]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
lea eax, [esp + 0x7c]
push eax
call edi
xor esi, esi
mov eax, 0xf4240
push esi
push eax
push dword [ebx + 4]
push dword [ebx]
call fcn.004d9730
xor ebx, ebx
dec ebx
push ebx
push edx
push eax
call fcn.00540eb0
add esp, 0xc
mov edi, eax
push esi
mov eax, 0xf4240
push eax
lea eax, [esp + 0x80]
push dword [eax + 4]
push dword [eax]
call fcn.004d9730
push ebx
push edx
push eax
call fcn.00540eb0
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], edi
mov dword [ecx + 0x68], esi
mov dword [ecx + 0x6c], esi
mov dword [ecx + 0x70], esi
or byte [ecx + 0x4c], 4
lea eax, [esp + 0x68]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea eax, [esp + 0x68]
push eax
call edi
lea esi, [esp + 0x60]
mov eax, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ebx, [esp + 0x58]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [ebp + 8]
push ebx
push esi
call edi
xor eax, eax
dec eax
push eax
push dword [esi]
call fcn.005410c0
add esp, 8
mov edi, eax
inc edi
mov ecx, 0xffffffff
cmove edi, ecx
mov edx, 0x7a120
cmp dword [esi + 4], edx
cmovl edi, eax
push ecx
push dword [ebx]
call fcn.005410c0
add esp, 8
mov esi, eax
inc esi
mov ecx, 0xffffffff
cmove esi, ecx
mov ecx, 0x7a120
cmp dword [ebx + 4], ecx
cmovl esi, eax
lea eax, [esp + 0x68]
mov eax, dword [eax]
mov ecx, eax
sar ecx, 0x1f
mov ebx, dword [esp + 0xc]
lea edx, [ebx + 0x54]
push ecx
push eax
push edx
call fcn.00543df0
add esp, 0xc
mov dword [ebx + 0x58], edi
mov dword [ebx + 0x5c], esi
or byte [ebx + 0x4c], 2
lea ecx, [esp + 0x54]
xor eax, eax
dec eax
mov dword [ecx], eax
lea ecx, [esp + 0x50]
mov dword [ecx], eax
lea ecx, [esp + 0x4c]
mov dword [ecx], eax
lea ecx, [esp + 0x40]
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
lea ebx, [esp + 0x30]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
mov esi, dword [esp + 4]
mov eax, dword [esi]
mov edi, dword [eax + 0x44]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
lea eax, [esp + 0x44]
push eax
lea esi, [esp + 0x54]
push esi
lea ebx, [esp + 0x5c]
push ebx
lea eax, [esp + 0x64]
push eax
call edi
mov ebx, dword [ebx]
mov ecx, ebx
sub ecx, dword [esi]
mov edx, 0x88888889
mov eax, ecx
imul edx
mov edi, edx
mov edx, 0x77777777
mov eax, ebx
imul edx
add edi, ecx
mov eax, edi
shr eax, 0x1f
sar edi, 5
add edi, eax
sub edx, ebx
mov eax, edx
shr eax, 0x1f
sar edx, 5
add edx, eax
lea eax, [esp + 0x54]
mov eax, dword [eax]
mov ebx, dword [esp + 0xc]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
lea eax, [ebx + 0x88]
mov esi, 0x20
lea ecx, [esp + 0x40]
push ecx
push esi
push eax
call fcn.00543f60
add esp, 0xc
lea eax, [ebx + 0xdc]
xor ecx, ecx
mov dword [ebx + 0xd8], ecx
xorps xmm0, xmm0
movups xmmword [ebx + 0xc8], xmm0
lea ecx, [esp + 0x30]
push ecx
push esi
push eax
call fcn.00543f60
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [ebx + 0x11c], xmm0
mov dword [ebx + 0x12c], edi
or byte [ebx + 0x4c], 0x40
lea eax, [esp + 0x24]
xor esi, esi
dec esi
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
push 0x582584
push str.0.8.0
push str.i386
push str.crashpad
push str._s._s__s__s
push eax
call fcn.0049b560
add esp, 0x18
lea eax, [esp + 0x90]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov ebx, eax
mov esi, dword [esp + 4]
mov eax, dword [esi]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
call edi
lea ebx, [esp + 0x80]
xor eax, eax
dec eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov eax, dword [esi]
mov edi, dword [eax + 0x3c]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
call edi
lea edi, [esp + 0x90]
movzx eax, byte [edi + 0xb]
test al, al
jns 0x540b31
mov ecx, dword [esp + 0x94]
jmp 0x540b36
mov ecx, eax
and ecx, 0x7f
test ecx, ecx
je 0x540b4f
movzx ecx, byte [esp + 0x8b]
test cl, cl
jns 0x540b82
mov edx, dword [esp + 0x84]
jmp 0x540b87
mov eax, dword [esp + 0x88]
mov dword [esp + 0x20], eax
movsd xmm0, qword [esp + 0x80]
movsd qword [esp + 0x18], xmm0
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
jmp 0x540bb9
mov edx, ecx
and edx, 0x7f
test edx, edx
je 0x540e77
test cl, cl
jns 0x540b9a
mov ebx, dword [esp + 0x80]
test al, al
jns 0x540ba5
mov edi, dword [esp + 0x90]
lea eax, [esp + 0x18]
push ebx
push edi
push str._s___s
push eax
call fcn.0049b560
add esp, 0x10
mov ebx, dword [ebp + 8]
cmp byte [esp + 0x8b], 0
jns 0x540bd5
push dword [esp + 0x80]
call fcn.004ba1ee
add esp, 4
cmp byte [esp + 0x9b], 0
jns 0x540bee
push dword [esp + 0x90]
call fcn.004ba1ee
add esp, 4
mov edi, dword [esp + 0xc]
or byte [edi + 0x4d], 1
lea eax, [edi + 0x130]
lea esi, [esp + 0x18]
push esi
push 0x104
push eax
call fcn.00543f60
add esp, 0xc
lea eax, [edi + 0x338]
lea ecx, [esp + 0x24]
push ecx
push 0x28
push eax
call fcn.00543f60
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x540c37
push dword [esp + 0x18]
call fcn.004ba1ee
add esp, 4
cmp byte [esp + 0x2f], 0
jns 0x540c4a
push dword [esp + 0x24]
call fcn.004ba1ee
add esp, 4
lea esi, [esp + 0x90]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [ebx]
mov edi, dword [eax + 0x34]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push esi
call edi
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp edx, ecx
je 0x540e52
mov edi, dword [ecx]
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
cmp dword [eax], 2
jne 0x540d39
mov edi, eax
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x2d8]
or ecx, dword [eax + 0x2dc]
je 0x540d39
lea esi, [esp + 0x80]
mov dword [esi], 0xffffffff
push edi
push esi
call fcn.00549520
add esp, 8
mov ecx, dword [esi]
call fcn.00549c50
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x2d8]
mov edi, 0x80000000
or edi, dword [ecx + 0x2dc]
mov dword [esp + 0x10], edi
mov edi, dword [esi]
mov dword [esi], 0
mov ecx, edx
shl ecx, 0x14
sar ecx, 0x1f
mov dword [esp + 4], edx
mov esi, edx
shr esi, 7
test edi, edi
je 0x540d23
mov dword [esp + 8], ecx
mov ecx, dword [edi]
mov ebx, dword [ecx]
mov dword [esp + 0x14], eax
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x14]
and ecx, 0x240
and esi, 0x10
mov dword [esp + 8], esi
mov bl, 1
mov edi, 0x210
jmp 0x540d59
xor edi, edi
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
xor ecx, ecx
mov dword [esp + 8], 0
xor ebx, ebx
mov edx, dword [esp + 0x90]
test edx, edx
je 0x540d88
mov dword [esp + 0x94], edx
push edx
mov esi, eax
mov dword [esp + 0x18], ebx
mov ebx, edi
mov edi, ecx
call fcn.004ba1ee
mov ecx, edi
mov edi, ebx
mov ebx, dword [esp + 0x18]
mov eax, esi
add esp, 4
test bl, bl
je 0x540e14
mov esi, dword [esp + 0xc]
mov dword [esi + 0x388], edi
mov dword [esi + 0x38c], eax
mov eax, dword [esp + 4]
mov dword [esi + 0x390], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x394], eax
xorps xmm0, xmm0
movups xmmword [esi + 0x398], xmm0
movups xmmword [esi + 0x3a8], xmm0
movups xmmword [esi + 0x3b8], xmm0
movups xmmword [esi + 0x3c8], xmm0
movups xmmword [esi + 0x3d8], xmm0
xor eax, eax
mov dword [esi + 0x3ec], eax
mov dword [esi + 0x3e8], eax
mov dword [esi + 0x3f0], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x3f4], ecx
lea ecx, [esi + 0x3f8]
push 0x1a0
push eax
push ecx
call fcn.004bd870
add esp, 0xc
mov byte [esi + 0x59c], 1
cmp byte [esp + 0x3b], 0
jns 0x540e27
push dword [esp + 0x30]
call fcn.004ba1ee
add esp, 4
cmp byte [esp + 0x4b], 0
jns 0x540e3a
push dword [esp + 0x40]
call fcn.004ba1ee
add esp, 4
mov ecx, dword [esp + 0xa0]
xor ecx, ebp
call fcn.004babe3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
xor edi, edi
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
xor ecx, ecx
mov dword [esp + 8], 0
xor ebx, ebx
jmp 0x540d60
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], eax
movsd xmm0, qword [esp + 0x90]
movsd qword [esp + 0x18], xmm0
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
jmp 0x540bb9