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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 2
je 0x496e17
cmp dword [ebp - 0x1c], 2
ja 0x496e11
cmp dword [ebp - 0x1c], 0
je 0x496c36
cmp dword [ebp - 0x1c], 1
jne 0x496e11
mov eax, dword [ebp + 0x50]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x50]
mov edi, dword [eax]
mov eax, dword [ebp + 0x5c]
fld qword [eax]
mov eax, dword [ebp + 0x5c]
fld qword [eax]
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0x44]
mov esi, dword [eax]
mov dword [ebp - 0x38], esi
mov eax, dword [0xb138a0]
shl eax, 0xa
add eax, 0xb138a0
add eax, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 8]
fld qword [eax]
fstp qword [ebp - 0x48]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x2c]
mov esi, dword [eax]
mov dword [ebp - 0x54], esi
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 8]
fld qword [eax]
fstp qword [ebp - 0x68]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 0x54]
fld qword [eax]
fstp qword [ebp - 0x78]
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x64]
fld qword [eax]
fstp qword [ebp - 0x88]
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov eax, dword [ebp + 0x64]
fld qword [eax]
mov eax, dword [ebp + 8]
fld qword [eax]
mov eax, dword [ebp + 0x64]
fld qword [eax]
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x6c]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], edi
fstp qword [esp + 0xa0]
fxch st(5)
fstp qword [esp + 0x98]
fxch st(3)
mov ebx, dword [ebp - 0x2c]
mov dword [esp + 0x94], ebx
mov edi, dword [ebp - 0x30]
mov dword [esp + 0x90], edi
mov ebx, dword [ebp - 0x34]
mov dword [esp + 0x8c], ebx
mov edi, dword [ebp - 0x38]
mov dword [esp + 0x88], edi
mov ebx, dword [ebp - 0x3c]
mov dword [esp + 0x84], ebx
mov edi, dword [ebp - 0x40]
mov dword [esp + 0x80], edi
fstp qword [esp + 0x78]
fld qword [ebp - 0x48]
fstp qword [esp + 0x70]
mov ebx, dword [ebp - 0x50]
mov dword [esp + 0x6c], ebx
mov edi, dword [ebp - 0x54]
mov dword [esp + 0x68], edi
mov ebx, dword [ebp - 0x58]
mov dword [esp + 0x64], ebx
mov edi, dword [ebp - 0x5c]
mov dword [esp + 0x60], edi
mov ebx, dword [ebp - 0x60]
mov dword [esp + 0x5c], ebx
fld qword [ebp - 0x68]
fstp qword [esp + 0x54]
mov edi, dword [ebp - 0x70]
mov dword [esp + 0x50], edi
fld qword [ebp - 0x78]
fstp qword [esp + 0x48]
mov ebx, dword [ebp - 0x80]
mov dword [esp + 0x44], ebx
fld qword [ebp - 0x88]
fstp qword [esp + 0x3c]
fxch st(1)
fstp qword [esp + 0x34]
mov edi, dword [ebp - 0x90]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
fstp qword [esp + 0x24]
fstp qword [esp + 0x1c]
fstp qword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
fstp qword [esp + 4]
mov dword [esp], eax
call sym._StrCpyW
mov dword [ebp - 0x1c], 0
jmp 0x496e12
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x44]
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp + 0x40]
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
mov eax, dword [0xb138a0]
add eax, 0x100
shl eax, 0xa
add eax, 0xb138a0
add eax, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x54]
fld qword [eax]
mov eax, dword [ebp + 0x48]
fld qword [eax]
fstp qword [ebp - 0x50]
mov eax, dword [ebp + 0x44]
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x68]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0x64]
fld qword [eax]
fstp qword [ebp - 0x70]
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp + 0x54]
fld qword [eax]
fstp qword [ebp - 0x80]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov dword [ebp - 0x88], ebx
mov eax, dword [ebp + 0x54]
fld qword [eax]
fstp qword [ebp - 0x90]
mov eax, dword [ebp + 0x5c]
fld qword [eax]
mov eax, dword [ebp + 0x34]
mov edi, dword [eax]
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x64]
fld qword [eax]
mov eax, dword [ebp + 0x5c]
fld qword [eax]
mov eax, dword [ebp + 0x54]
fld qword [eax]
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 0x48]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0xac], esi
mov esi, dword [ebp - 0x2c]
mov dword [esp + 0xa8], esi
fstp qword [esp + 0xa0]
fxch st(5)
fstp qword [esp + 0x98]
fxch st(3)
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x94], esi
mov esi, dword [ebp - 0x34]
mov dword [esp + 0x90], esi
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x8c], esi
mov esi, dword [ebp - 0x3c]
mov dword [esp + 0x88], esi
mov esi, dword [ebp - 0x40]
mov dword [esp + 0x84], esi
mov esi, dword [ebp - 0x48]
mov dword [esp + 0x80], esi
fstp qword [esp + 0x78]
fld qword [ebp - 0x50]
fstp qword [esp + 0x70]
mov esi, dword [ebp - 0x54]
mov dword [esp + 0x6c], esi
mov esi, dword [ebp - 0x58]
mov dword [esp + 0x68], esi
mov esi, dword [ebp - 0x5c]
mov dword [esp + 0x64], esi
mov esi, dword [ebp - 0x60]
mov dword [esp + 0x60], esi
mov esi, dword [ebp - 0x68]
mov dword [esp + 0x5c], esi
fld qword [ebp - 0x70]
fstp qword [esp + 0x54]
mov esi, dword [ebp - 0x78]
mov dword [esp + 0x50], esi
fld qword [ebp - 0x80]
fstp qword [esp + 0x48]
mov esi, dword [ebp - 0x88]
mov dword [esp + 0x44], esi
fld qword [ebp - 0x90]
fstp qword [esp + 0x3c]
fxch st(1)
fstp qword [esp + 0x34]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
fstp qword [esp + 0x24]
fstp qword [esp + 0x1c]
fstp qword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
fstp qword [esp + 4]
mov dword [esp], eax
call sym._StrCpyW
mov dword [ebp - 0x1c], 2
jmp 0x496e12
nop
jmp 0x496a35
nop
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret