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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x138
mov esi, esp
mov dword [esi + 0x18], ebp
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x98], eax
mov edi, dword [ebp + 0x14]
mov dword [esi + 0x8c], edi
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x94], eax
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x90], edx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x9c], ecx
mov eax, esp
mov dword [esi + 0x124], eax
mov dword [esi + 0x130], 0xffffffff
lea ebx, [esi + 0x128]
mov dword [esi + 0x12c], 0x50c180
mov eax, dword fs:[0]
mov dword [esi + 0x128], eax
mov eax, dword [esi + 0x94]
mov dword fs:[0], ebx
mov dword [esi + 0xf0], edx
mov dword [esi + 0xf4], eax
mov byte [esi + 0xef], 0
mov eax, esp
mov dword [eax], ecx
call fcn.0050a490
mov edx, dword [esi + 0x98]
mov ecx, dword [esi + 0x9c]
mov byte [esi + 0xef], 1
mov eax, esp
mov dword [eax + 0xc], edi
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
lea ecx, [esi + 0xa8]
mov dword [esi + 0xa0], ecx
mov dword [eax], ecx
call fcn.00440f80
mov ecx, dword [esi + 0xa0]
mov dword [esi + 0x130], 0
mov eax, esp
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0xa4], eax
jmp 0x50921a
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax], ecx
call fcn.00550c00
mov dword [esi + 0x88], eax
jmp 0x509233
mov ecx, dword [esi + 0x88]
mov eax, esp
mov dword [eax + 4], ecx
mov dword [eax], 0
call fcn.0052ab30
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], eax
jmp 0x509257
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xb8], eax
mov eax, esp
lea ecx, [esi + 0xb4]
mov dword [eax], ecx
call fcn.0052a300
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], eax
jmp 0x509286
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc0], eax
cmp dword [esi + 0xbc], 0
jne 0x5092b5
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0x74], eax
jmp 0x5092db
mov eax, dword [esi + 0xc0]
mov dword [esi + 0x6c], eax
mov dword [esi + 0xf8], eax
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0x70], eax
jmp 0x50939a
mov eax, dword [esi + 0x74]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov eax, esp
mov dword [eax], ecx
call fcn.0050ac40
mov dword [esi + 0x68], eax
jmp 0x5092f1
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0x64], eax
jmp 0x509305
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov edx, eax
sub edx, ecx
mov dword [esi + 0x60], edx
cmp eax, ecx
jb 0x50932f
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440ea0
mov dword [esi + 0x5c], eax
jmp 0x509340
mov eax, esp
mov dword [eax], 0x60266c
call fcn.005f7090
jmp 0x50933e
ud2
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x5c]
mov eax, dword [eax]
mov dword [eax + 8], ecx
mov byte [esi + 0xef], 0
mov eax, dword [esi + 0xb0]
mov dword [esi + 0xe8], eax
movsd xmm0, qword [esi + 0xa8]
movsd qword [esi + 0xe0], xmm0
mov eax, esp
lea ecx, [esi + 0xe0]
mov dword [eax], ecx
call fcn.004e5fc0
jmp 0x50937f
mov byte [esi + 0xef], 0
mov eax, dword [esi + 0x128]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0050a780
mov dword [esi + 0x58], eax
jmp 0x5093b3
mov eax, dword [esi + 0x58]
cmp byte [eax], 0x80
jne 0x50926f
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0x54], eax
jmp 0x5093d3
mov edx, dword [esi + 0x6c]
mov edi, dword [esi + 0x8c]
mov eax, dword [esi + 0x54]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.005088d0
mov dword [esi + 0x50], eax
jmp 0x5093f5
mov eax, dword [esi + 0x50]
mov dword [esi + 0xfc], eax
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440ea0
mov dword [esi + 0x4c], eax
jmp 0x509412
mov edx, dword [esi + 0x90]
mov ebx, dword [esi + 0x6c]
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x4c]
mov edi, dword [ecx]
mov eax, dword [eax + 0x14]
mov ecx, esp
mov dword [ecx + 8], ebx
mov dword [ecx + 4], edi
mov dword [ecx], edx
call eax
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], eax
jmp 0x50943d
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x100], ecx
mov dword [esi + 0x104], eax
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0x40], eax
jmp 0x509463
mov edx, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.005098f0
mov dword [esi + 0x3c], eax
jmp 0x509482
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x108], eax
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0x38], eax
jmp 0x50949f
mov edx, dword [esi + 0x3c]
mov edi, dword [esi + 0x8c]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.005088d0
mov dword [esi + 0x34], eax
jmp 0x5094c1
mov eax, dword [esi + 0x34]
mov dword [esi + 0x10c], eax
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0x30], eax
jmp 0x5094de
mov edi, dword [esi + 0x3c]
mov ebx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0x6c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00509b10
mov byte [esi + 0x2f], al
jmp 0x509509
mov al, byte [esi + 0x2f]
movzx ecx, al
and ecx, 1
mov eax, esp
mov dword [eax], ecx
call fcn.0050adf0
mov byte [esi + 0x2e], al
jmp 0x509520
mov al, byte [esi + 0x2e]
test al, 1
jne 0x50953d
jmp 0x509529
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0x28], eax
jmp 0x509554
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0x24], eax
jmp 0x5096a6
mov edx, dword [esi + 0x3c]
mov edi, dword [esi + 0x48]
mov ebx, dword [esi + 0x44]
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax + 0xc], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00509880
mov byte [esi + 0x23], al
jmp 0x509579
mov al, byte [esi + 0x23]
mov byte [esi + 0xc6], al
cmp byte [esi + 0xc6], 0xff
je 0x5095ae
lea eax, [esi + 0xc6]
mov dword [esi + 0x110], eax
lea eax, [0x60267c]
mov dword [esi + 0x114], eax
cmp byte [esi + 0xc6], 0x80
je 0x509608
jmp 0x5095c2
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax], ecx
call fcn.00440d80
mov dword [esi + 0x1c], eax
jmp 0x50962a
mov byte [esi + 0xc7], 0
mov dword [esi + 0xc8], 0
movzx ecx, byte [esi + 0xc7]
mov eax, esp
lea edx, [esi + 0xc8]
mov dword [eax + 0xc], edx
lea edx, [esi + 0xc6]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0x10], 0x602680
mov dword [eax + 8], 0x60267c
call fcn.0047273d
jmp 0x50933e
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x34]
mov edi, dword [esi + 0x8c]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0052ff50
jmp 0x509625
jmp 0x5093fe
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0xff
call fcn.0050ab70
jmp 0x509647
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x118], edx
mov dword [esi + 0x11c], ecx
mov dword [esi + 0x120], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
call fcn.00480ae0
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x8c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sub.VCRUNTIME140.dll_memcpy
jmp 0x50926f
mov edx, dword [esi + 0x6c]
mov edi, dword [esi + 0x48]
mov ebx, dword [esi + 0x44]
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax + 0xc], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00508bf0
jmp 0x5096c8
jmp 0x50926f