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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, esp
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xb4], esp
mov dword [esi + 0xc0], 0xffffffff
mov dword [esi + 0xbc], 0x4ba890
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0xb8]
mov dword [esi + 0x88], edx
mov eax, dword fs:[0]
test ebx, ebx
mov dword [esi + 0xb8], eax
mov dword fs:[0], ecx
js 0x4b739f
je 0x4b6d9e
push 1
push ebx
call fcn.0043c290
add esp, 8
mov edi, eax
test eax, eax
jne 0x4b6da3
push 1
push ebx
call fcn.00570650
add esp, 8
ud2
mov edi, 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
push ebx
push dword [ebp + 8]
push edi
call fcn.0054ad50
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
mov dword [esi + 0x38], ebx
je 0x4b6de1
mov dword [esi + 0xc0], 0
lea edx, [esi + 0x30]
push eax
push ebx
push edx
call fcn.0056b770
add esp, 0xc
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x38]
mov eax, dword [ebp + 0x14]
add edi, ebx
push eax
push dword [ebp + 0x10]
push edi
mov edi, eax
call fcn.0054ad50
add esp, 0xc
mov eax, dword [ebp + 0x1c]
add ebx, edi
cmp byte [ebp + 0x18], 0
movsd xmm0, qword [esi + 0x30]
mov ecx, 0xc
mov dword [esi + 0xc0], 1
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], eax
mov eax, dword [ebp + 0x1c]
movsd qword [esi + 0x70], xmm0
lea eax, [eax + 0xc]
cmove ecx, eax
mov dword [esi + 0x84], eax
mov dword [esi + 4], ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c57b0
add esp, 8
mov dword [esi + 0x14], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004c57b0
add esp, 8
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
cmp byte [ebp + 0x18], 0
mov eax, dword [eax + 0x14]
mov dword [esi + 0x10], eax
je 0x4b6eef
lea eax, [esi + 0x30]
mov dword [esi + 0x18], 0x5f0aa8
mov dword [esi + 0x1c], 3
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0x5f0ac0
mov dword [esi + 0x34], 0x42a000
mov dword [esi + 0x38], 0x5f0ac0
mov dword [esi + 0x3c], 0x42a000
mov dword [esi + 0x40], 0x5f0ac0
mov dword [esi + 0x44], 0x42a000
lea ecx, [esi + 0x8c]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x2c], 3
push eax
push ecx
call fcn.004feef0
add esp, 8
movsd xmm0, qword [esi + 0x8c]
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x30]
movsd qword [esi + 0x30], xmm0
mov dword [esi + 0x38], eax
call fcn.004b5e50
mov ebx, eax
cmp bl, 4
jne 0x4b733d
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x78]
add eax, dword [esi + 4]
add eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
mov eax, dword [esi + 0x70]
mov dword [esi + 8], eax
jb 0x4b6f0e
mov ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 4]
jae 0x4b6f3f
mov ecx, eax
lea eax, [esi + 0x30]
push 3
push 0x5f0aa2
mov dword [esi + 0x14], edi
push edi
push ecx
push eax
call fcn.00506f70
add esp, 0x14
lea ecx, [esi + 0x18]
lea edx, [esi + 0x30]
call fcn.004b5510
cmp dword [esi + 0x18], 1
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x14]
jne 0x4b6fb3
lea ecx, [esi + 0x30]
mov edx, eax
push edi
call fcn.004b52b0
add esp, 4
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x38]
mov dword [esi + 0xc0], 2
lea ecx, [esi + 0x18]
sub edi, dword [esi + 4]
mov dword [esi + 4], edx
push edi
push eax
call fcn.004ba6c0
add esp, 8
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4b6f88
push 1
push eax
push dword [esi + 8]
call fcn.0043c2a0
add esp, 0xc
mov eax, dword [esi + 0x20]
movsd xmm0, qword [esi + 0x18]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x34]
movsd qword [esi + 0x70], xmm0
test eax, eax
je 0x4b6fad
push 1
push eax
push dword [esi + 4]
call fcn.0043c2a0
add esp, 0xc
mov eax, dword [esi + 0x70]
mov edi, dword [esi + 0x78]
lea edx, [esi + 0x38]
lea ecx, [esi + 0x18]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 0xa
mov dword [esi + 0x4c], 1
mov dword [esi + 0x50], 0xa
mov dword [esi + 8], eax
mov dword [esi + 0x14], edi
mov word [esi + 0x54], 0
mov dword [esi + 0xc0], 1
call fcn.004b5690
cmp dword [esi + 0x18], 1
jne 0x4b7031
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 8]
sub ecx, edx
add eax, edx
test eax, eax
je 0x4b7070
test ecx, ecx
je 0x4b7056
cmp byte [eax + ecx - 1], 0xd
lea edx, [ecx - 1]
cmovne edx, ecx
jmp 0x4b7058
cmp byte [esi + 0x55], 0
jne 0x4b7070
cmp byte [esi + 0x54], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
jne 0x4b7047
cmp ecx, eax
je 0x4b7070
mov byte [esi + 0x55], 1
sub ecx, eax
add eax, dword [esi + 0x38]
test eax, eax
jne 0x4b7020
jmp 0x4b7070
xor edx, edx
push edx
push eax
push dword [esi + 0xc]
call fcn.004b5f40
add esp, 0xc
mov ebx, eax
cmp bl, 4
jne 0x4b733d
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
add dword [esi + 0x80], 8
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], eax
mov eax, 1
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], 0xa
mov dword [esi + 0x4c], 1
mov dword [esi + 0x50], 0xa
mov word [esi + 0x54], 0
mov dword [esi + 0x58], 1
test eax, eax
je 0x4b7180
nop word cs:[eax + eax]
dec eax
xor ecx, ecx
mov dword [esi + 0x58], 0
mov dword [esi + 0x14], eax
jmp 0x4b70fb
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
add edx, dword [esi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x14]
inc ecx
test edx, edx
je 0x4b7180
cmp ecx, eax
je 0x4b7140
cmp byte [esi + 0x55], 0
jne 0x4b7180
mov eax, dword [esi + 0x38]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x18]
lea edx, [esi + 0x38]
mov dword [esi + 0x10], eax
call fcn.004b5690
cmp dword [esi + 0x18], 1
je 0x4b70e0
cmp byte [esi + 0x55], 0
mov ecx, dword [esi + 4]
jne 0x4b7180
cmp byte [esi + 0x54], 0
mov edx, dword [esi + 0x30]
jne 0x4b7136
cmp dword [esi + 0x34], edx
je 0x4b7180
mov byte [esi + 0x55], 1
add edx, dword [esi + 0x38]
jmp 0x4b70ef
cmp byte [esi + 0x55], 0
mov al, 1
jne 0x4b7183
lea ecx, [esi + 0x18]
lea edx, [esi + 0x38]
call fcn.004b5690
cmp dword [esi + 0x18], 1
jne 0x4b7161
mov eax, dword [esi + 0x20]
mov dword [esi + 0x30], eax
jmp 0x4b7180
cmp byte [esi + 0x55], 0
jne 0x4b7180
cmp byte [esi + 0x54], 0
jne 0x4b7175
mov eax, dword [esi + 0x30]
cmp dword [esi + 0x34], eax
je 0x4b7180
mov byte [esi + 0x55], 1
nop dword [eax]
mov al, byte [esi + 0x55]
test al, al
jne 0x4b7365
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x18]
lea edx, [esi + 0x38]
mov dword [esi + 4], eax
call fcn.004b5690
cmp dword [esi + 0x18], 1
jne 0x4b71c0
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x30]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0x20]
add edi, edx
sub eax, edx
mov dword [esi + 0x30], ecx
test edi, edi
jne 0x4b71ef
jmp 0x4b7365
cmp byte [esi + 0x55], 0
jne 0x4b7365
cmp byte [esi + 0x54], 0
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
jne 0x4b71de
cmp eax, edi
je 0x4b7365
mov byte [esi + 0x55], 1
sub eax, edi
add edi, dword [esi + 0x38]
test edi, edi
je 0x4b7365
test eax, eax
mov dword [esi + 4], edi
je 0x4b7210
cmp byte [edi + eax - 1], 0xd
lea ecx, [eax - 1]
cmovne ecx, eax
mov dword [esi + 0x10], ecx
jmp 0x4b7217
mov dword [esi + 0x10], 0
push 1
push 0x5f0a40
push dword [esi + 0xc]
call fcn.004b5f40
add esp, 0xc
mov ebx, eax
cmp bl, 4
jne 0x4b733d
cmp byte [ebp + 0x18], 0
je 0x4b72e0
lea eax, [esi + 0x18]
mov dword [esi + 0x8c], 0x5f0ac8
mov dword [esi + 0x90], 3
mov dword [esi + 0x94], 0
mov dword [esi + 0x18], 0x5f0ac0
mov dword [esi + 0x1c], 0x42a000
mov dword [esi + 0x20], 0x5f0ac0
mov dword [esi + 0x24], 0x42a000
mov dword [esi + 0x28], 0x5f0ac0
mov dword [esi + 0x2c], 0x42a000
mov dword [esi + 0x9c], eax
lea eax, [esi + 0x8c]
mov dword [esi + 0xa0], 3
push eax
lea eax, [esi + 0xa4]
push eax
call fcn.004feef0
add esp, 8
movsd xmm0, qword [esi + 0xa4]
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x18]
movsd qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
call fcn.004b5e50
jmp 0x4b730e
cmp byte [esi + 0x88], 0
je 0x4b7300
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x84]
call fcn.004b5ff0
jmp 0x4b730e
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x80]
call fcn.004b5ff0
mov ebx, eax
cmp bl, 4
jne 0x4b733d
push dword [esi + 0x10]
push dword [esi + 4]
push dword [esi + 0xc]
call fcn.004b5f40
add esp, 0xc
mov ebx, eax
cmp bl, 4
jne 0x4b733d
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x4b70d0
jmp 0x4b7180
mov eax, dword [esi + 0x74]
mov edi, edx
mov ecx, ebx
shrd ecx, edx, 8
shr edi, 8
test eax, eax
je 0x4b737c
push 1
push eax
push dword [esi + 0x70]
mov dword [esi + 4], ecx
call fcn.0043c2a0
mov ecx, dword [esi + 4]
add esp, 0xc
jmp 0x4b737c
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4b737a
push 1
push eax
push dword [esi + 8]
call fcn.0043c2a0
add esp, 0xc
mov bl, 4
mov edx, dword [esi + 0xb8]
shld edi, ecx, 8
shl ecx, 8
movzx eax, bl
or eax, ecx
mov dword fs:[0], edx
mov edx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004fec10
ud2