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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov esi, edx
mov edi, ecx
mov ecx, edx
call fcn.00477dc0
cmp eax, 0x5b
mov dword [ebp - 0xa8], eax
jne 0x482f1f
mov dword [ebp - 0x1c], edi
mov edi, dword [esi]
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], eax
movsd xmm0, qword [edi]
movsd qword [ebp - 0x28], xmm0
mov ecx, esi
call fcn.00477eb0
test al, al
mov dword [ebp - 0x10], edi
je 0x482940
mov ecx, esi
call fcn.00478020
mov ebx, dword [edi]
mov edi, dword [esi + 8]
cmp ebx, edi
je 0x482943
mov ecx, esi
call fcn.00477dc0
mov ebx, dword [ebp - 0x10]
cmp eax, 0x5e
mov dword [ebp - 0xb0], eax
jne 0x4829fd
mov ecx, esi
call fcn.00477eb0
test al, al
je 0x4828d3
mov ecx, esi
call fcn.00478020
cmp dword [ebx], edi
jne 0x4829fd
mov eax, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x28]
mov ecx, dword [esi + 4]
test edi, edi
mov dword [ebp - 0x7c], eax
movsd qword [ebp - 0x84], xmm0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x70], eax
movsd xmm0, qword [ebx]
movsd qword [ebp - 0x78], xmm0
je 0x482ea4
mov ebx, dword [ebp - 0x1c]
js 0x482f58
mov esi, edi
mov edi, dword [0x56bbf8]
mov eax, dword [edi]
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x482925
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x48293b
mov dword [edi], eax
push esi
push 0
push eax
call sub.kernel32.dll_HeapAlloc
mov ecx, dword [ebp - 0x10]
mov edi, eax
test eax, eax
jne 0x482eae
push 1
push esi
jmp 0x48299e
mov ebx, dword [esi + 8]
mov eax, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov esi, dword [esi + 4]
test ebx, ebx
mov dword [ebp - 0x7c], eax
movsd qword [ebp - 0x84], xmm0
mov eax, dword [ecx + 8]
mov dword [ebp - 0x70], eax
movsd xmm0, qword [ecx]
movsd qword [ebp - 0x78], xmm0
je 0x4829a8
js 0x482f4a
mov edi, dword [0x56bbf8]
mov eax, dword [edi]
test eax, eax
jne 0x48298c
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x48299b
mov dword [edi], eax
push ebx
push 0
push eax
call sub.kernel32.dll_HeapAlloc
mov edi, eax
test eax, eax
jne 0x4829ad
push 1
push ebx
call fcn.004085f0
add esp, 8
ud2
mov edi, 1
push ebx
push esi
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm1, qword [ebp - 0x7c]
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x84]
movsd xmm2, qword [ebp - 0x74]
movsd qword [eax + 0x4c], xmm1
movsd xmm1, qword [0x51bb10]
movsd qword [eax + 0x44], xmm0
movsd qword [eax + 0x54], xmm2
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], ebx
movsd qword [eax + 0x18], xmm1
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x70], eax
movsd xmm0, qword [ebx]
movsd qword [ebp - 0x78], xmm0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x7c], eax
movsd xmm0, qword [ebx]
movsd qword [ebp - 0xa8], xmm0
movsd xmm0, qword [ebp - 0x74]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x7c]
movsd qword [ebp - 0xa0], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x90], 4
movlps qword [ebp - 0x8c], xmm0
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, esi
call fcn.00477dc0
cmp eax, 0x2d
jne 0x482bbb
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00477dc0
mov ecx, 1
cmp eax, 0x80
jb 0x482aa2
mov ecx, 2
cmp eax, 0x800
jb 0x482aa2
cmp eax, 0x10000
mov ecx, 4
sbb ecx, 0
mov eax, dword [ebp - 0x10]
add esi, ecx
jb 0x482f01
mov edi, dword [eax + 8]
inc edi
je 0x482f08
mov ebx, dword [eax + 4]
mov ecx, dword [ebp - 0x14]
call fcn.00477dc0
xor ecx, ecx
cmp eax, 0xa
mov eax, 1
lea edx, [ebp - 0x80]
sete cl
cmove edi, eax
add ebx, ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
movsd xmm0, qword [ecx]
movsd qword [edx], xmm0
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0x2d
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x84], 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00485d20
add esp, 8
mov ecx, dword [ebp - 0x14]
call fcn.00477eb0
mov esi, dword [ebp - 0x14]
test al, al
je 0x482b43
mov ecx, esi
call fcn.00478020
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
cmp dword [ecx], eax
jne 0x482a60
mov ecx, dword [esi + 4]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x28]
test esi, esi
mov dword [ebp - 0x7c], eax
movsd qword [ebp - 0x84], xmm0
mov dword [ebp - 0x70], eax
movsd qword [ebp - 0x78], xmm0
je 0x482e0a
mov ebx, dword [ebp - 0x1c]
js 0x482f51
mov edi, dword [0x56bbf8]
mov eax, dword [edi]
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x482b92
call sub.kernel32.dll_GetProcessHeap
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x482bab
mov dword [edi], eax
mov esi, dword [ebp - 0x18]
push esi
push 0
push eax
call sub.kernel32.dll_HeapAlloc
mov ecx, dword [ebp - 0x10]
mov edi, eax
test eax, eax
jne 0x482e12
push 1
push esi
call fcn.004085f0
add esp, 8
jmp 0x482f56
cmp dword [ebp - 0x88], 0
mov ebx, dword [ebp - 0x1c]
jne 0x482d0e
mov ecx, dword [ebp - 0x14]
call fcn.00477dc0
cmp eax, 0x5d
jne 0x482d0e
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00477dc0
mov ecx, 1
cmp eax, 0x80
jb 0x482c0e
mov ecx, 2
cmp eax, 0x800
jb 0x482c0e
cmp eax, 0x10000
mov ecx, 4
sbb ecx, 0
add esi, ecx
jb 0x482f01
mov eax, esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xac], esi
mov esi, dword [eax + 8]
inc esi
je 0x482f08
mov edi, dword [eax + 4]
mov ecx, dword [ebp - 0x14]
call fcn.00477dc0
mov edx, dword [ebp - 0x10]
xor ecx, ecx
cmp eax, 0xa
mov eax, 1
cmove esi, eax
sete cl
add edi, ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xac]
movsd xmm0, qword [edx]
movsd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0x5d
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x84], 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00485d20
add esp, 8
mov ecx, dword [ebp - 0x14]
call fcn.00477eb0
test al, al
je 0x482cb2
mov ecx, dword [ebp - 0x14]
call fcn.00478020
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx], eax
jne 0x482d0e
mov eax, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x7c], eax
movsd qword [ebp - 0x84], xmm0
test esi, esi
mov eax, dword [ecx + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x14]
movsd xmm0, qword [ecx]
mov eax, dword [eax + 4]
movsd qword [ebp - 0x78], xmm0
je 0x482ef5
mov dword [ebp - 0x10], eax
js 0x482f51
push 1
push esi
call fcn.00401630
add esp, 8
mov edi, eax
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x482efa
jmp 0x482bab
mov eax, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x28]
cmp dword [ebp - 0xb0], 0x5e
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x10]
movsd qword [ebp - 0xc8], xmm0
movsd xmm0, qword [eax]
movsd qword [ebp - 0xbc], xmm0
movsd xmm0, qword [ebp - 0xa8]
mov eax, dword [eax + 8]
movsd qword [ebp - 0x84], xmm0
movsd qword [ebx + 0x1c], xmm0
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa0]
movsd xmm1, qword [ebp - 0xc0]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x70], eax
movsd qword [ebp - 0x78], xmm0
mov eax, dword [ebp - 0x88]
movsd xmm0, qword [ebp - 0x7c]
movsd qword [ebx + 0x24], xmm0
movsd xmm0, qword [ebp - 0x74]
movsd qword [ebx + 0x2c], xmm0
movsd xmm0, qword [ebp - 0xb8]
movsd qword [ebx + 8], xmm1
movsd xmm1, qword [ebp - 0xa0]
movsd qword [ebx + 0x10], xmm0
movsd xmm0, qword [ebp - 0xc8]
movsd qword [ebx], xmm0
movsd xmm0, qword [ebp - 0x90]
mov dword [ebx + 0x98], eax
movsd qword [ebx + 0x80], xmm1
movsd qword [ebx + 0x90], xmm0
movsd xmm0, qword [ebp - 0x98]
movsd qword [ebx + 0x88], xmm0
movsd xmm0, qword [ebp - 0xa8]
movsd qword [ebx + 0x78], xmm0
xorps xmm0, xmm0
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x34], 4
movlps qword [ebx + 0x38], xmm0
sete byte [ebx + 0x74]
jmp 0x4829f2
mov ebx, dword [ebp - 0x1c]
mov edi, 1
push esi
push ecx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm0, qword [ebp - 0x84]
movsd xmm1, qword [ebp - 0x7c]
movsd xmm2, qword [ebp - 0x74]
movsd qword [ebx + 0x44], xmm0
movsd qword [ebx + 0x4c], xmm1
movsd qword [ebx + 0x54], xmm2
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], esi
mov esi, dword [ebp - 0x90]
movsd xmm1, qword [0x51bb10]
imul edi, dword [ebp - 0x88], 0x5c
mov ecx, esi
movsd qword [ebx + 0x18], xmm1
nop word cs:[eax + eax]
nop dword [eax]
test edi, edi
je 0x482e83
lea ebx, [ecx + 0x5c]
add edi, 0xffffffa4
call fcn.00473f90
mov ecx, ebx
jmp 0x482e70
cmp dword [ebp - 0x8c], 0
je 0x4829f2
mov eax, dword [0x56bbf8]
push esi
push 0
push dword [eax]
call sub.kernel32.dll_HeapFree
jmp 0x4829f2
mov ebx, dword [ebp - 0x1c]
mov esi, edi
mov edi, 1
push esi
push ecx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm1, qword [ebp - 0x7c]
movsd xmm0, qword [ebp - 0x84]
movsd xmm2, qword [ebp - 0x74]
movsd qword [ebx + 0x4c], xmm1
movsd xmm1, qword [0x51bb10]
movsd qword [ebx + 0x44], xmm0
movsd qword [ebx + 0x54], xmm2
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], esi
movsd qword [ebx + 0x18], xmm1
jmp 0x4829f2
mov edi, 1
push esi
push eax
jmp 0x482e14
mov eax, 0x51c3bc
jmp 0x482f0d
mov eax, 0x51c3ac
push eax
push 0x2b
push 0x51c2f4
call fcn.00414ad0
add esp, 0xc
jmp 0x482f56
mov dword [ebp - 0x84], 0
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0xa8]
mov edx, 0x51c480
push 0x51c970
push eax
call fcn.00474bc0
add esp, 8
ud2
call fcn.004085b0
ud2
call fcn.004085b0
ud2
call fcn.004085b0
ud2