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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov dword [esp + 0x5c], edx
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
cmp dword [edi + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x70], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x3c], 0
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x40], eax
jne 0x4c0797
cmp byte [eax + 0x51], 0
jne 0x4c0797
call fcn.004bfae0
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x4c0797
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x44], edx
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4bff01
mov edx, esi
mov ecx, edi
call fcn.004daff0
mov dword [esp + 0x44], eax
xor edx, edx
jmp 0x4bff03
xor eax, eax
mov ecx, eax
test eax, eax
je 0x4bff27
nop dword [eax]
cmp byte [ecx + 8], 0x7e
jne 0x4bff1c
movzx eax, byte [ecx + 9]
or edx, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4bff10
mov eax, dword [esp + 0x44]
xor ecx, ecx
test edx, edx
cmovne ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
test ecx, ecx
jne 0x4bff57
push ecx
push ecx
mov edx, esi
mov ecx, edi
call fcn.004c5de0
add esp, 8
mov dword [esp + 0x14], 0
test eax, eax
je 0x4bff5f
mov dword [esp + 0x14], 1
mov edx, esi
mov ecx, edi
call fcn.004bb8c0
test eax, eax
jne 0x4c0797
cmp dword [esp + 0x60], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.004bfbf0
add esp, 4
test eax, eax
jne 0x4c0797
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x40]
call fcn.004cfcb0
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
add ecx, ecx
mov edx, 9
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.004b8240
add esp, 0xc
mov dword [esp + 0x48], eax
cmp eax, 1
je 0x4c0797
mov ecx, dword [esp + 0x5c]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], edx
mov dword [ecx + 0x34], eax
inc dword [edi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x4c0000
nop dword [eax + eax]
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4bfff0
mov dword [esp + 0x54], edx
cmp dword [esp + 0x68], 0
je 0x4c001f
mov eax, dword [edi + 0xf4]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], edi
mov dword [edi + 0xf4], eax
jmp 0x4c002f
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x64], esi
test esi, esi
jne 0x4c0060
cmp dword [edi + 0x74], esi
jne 0x4c004b
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x4c004b
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00495690
mov esi, eax
mov dword [esp + 0x64], eax
test esi, esi
je 0x4c03b7
cmp byte [edi + 0x12], 0
jne 0x4c006d
or dword [esi + 0x98], 0x10
push dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.004be6c0
add esp, 4
cmp dword [esp + 0x68], 0
je 0x4c00ab
push dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, edi
push 0
push 0
push dword [ebp + 8]
call fcn.004bfc40
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x80]
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
call fcn.004ab0f0
test eax, eax
jne 0x4c03b7
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4c011f
cmp byte [edi + 0x12], 0
jne 0x4c011f
cmp dword [edi + 0x78], 0
jne 0x4c011f
inc dword [edi + 0x2c]
mov edx, 0x45
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x60], eax
call fcn.00495b60
add esp, 8
cmp dword [esp + 0x48], 0
jne 0x4c01d6
cmp dword [ebp + 8], 0
jne 0x4c01d6
cmp dword [esp + 0x14], 0
jne 0x4c01d6
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x38], 0
jne 0x4c01d6
push dword [eax]
mov edx, dword [esp + 0x20]
mov ecx, edi
push 1
push dword [eax + 0x1c]
call fcn.004b82d0
mov ecx, dword [esp + 0x18]
add esp, 0xc
test byte [ecx + 0x24], 0x80
jne 0x4c0197
mov edx, dword [esp + 0x58]
or eax, 0xffffffff
push 0xffffffffffffffff
push dword [ecx]
test edx, edx
cmovne eax, edx
mov edx, 0x89
push eax
push dword [esp + 0x28]
push dword [ecx + 0x1c]
mov ecx, esi
call fcn.00495e50
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov eax, dword [ecx + 8]
mov dword [esp + 0x60], eax
test eax, eax
je 0x4c073d
mov edi, eax
nop dword [eax + eax]
push dword [esp + 0x1c]
mov edx, 0x89
mov ecx, esi
push dword [edi + 0x2c]
call fcn.00495b60
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x4c01b0
mov edi, dword [esp + 0x10]
jmp 0x4c073d
test byte [esp + 0x98], 0x40
mov eax, 1
cmove eax, dword [esp + 0x14]
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x41c
movzx eax, ax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x80
jne 0x4c0233
inc dword [edi + 0x2c]
mov edx, 0x48
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x74], eax
call fcn.00495b60
add esp, 8
jmp 0x4c0285
mov ecx, eax
call fcn.004b94b0
mov dword [esp + 0x14], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x1c], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x50], edx
mov ecx, esi
mov edx, dword [edi + 0x28]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x3c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x64
mov dword [edi + 0x28], eax
call fcn.00495b60
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.004969b0
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x5c]
inc eax
push eax
push dword [esp + 0x4c]
push 0
push 0
push dword [ebp + 8]
call fcn.004ed370
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x4c03b7
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 0x2e]
mov dword [esp + 0x28], eax
cmp eax, 1
je 0x4c02db
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4c02f5
push 1
push eax
mov edx, 0x52
mov ecx, esi
call fcn.00495b60
add esp, 8
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4c0355
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cwde
mov dword [esp + 0x34], ecx
test eax, eax
jle 0x4c034b
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
add eax, ecx
push eax
mov eax, dword [edx + 4]
mov edx, edi
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x20]
call fcn.004b03b0
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x1c]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x4c0310
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
jmp 0x4c0378
inc dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0xc]
push eax
push 0xffffffffffffffff
push dword [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.004b03b0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x4c045d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
movzx eax, ax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
add eax, 2
cdq
push edx
push eax
call fcn.00476a20
mov ecx, eax
add esp, 8
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x4c03ff
mov ecx, dword [esp + 0x44]
call fcn.004ede70
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4c03c9
mov dword [eax + 0xf4], ecx
mov esi, dword [esp + 0x40]
mov ecx, esi
mov edx, dword [esp + 0x5c]
call fcn.004bdf40
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c03e8
mov edx, eax
mov ecx, esi
call fcn.004ac4d0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4c03f9
mov edx, eax
mov ecx, esi
call fcn.00476790
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x54]
inc eax
push eax
push 1
push ecx
call fcn.005cc450
mov eax, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x78]
test eax, eax
js 0x4c042f
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x48]
test eax, eax
js 0x4c043d
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c044e
mov edx, eax
mov ecx, esi
call fcn.004967b0
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x74], eax
jmp 0x4c04ee
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4c04c9
inc dword [edi + 0x2c]
mov edx, ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
movsx esi, ax
push esi
push ecx
mov ecx, dword [edi]
mov dword [esp + 0x3c], 0
call fcn.004c68b0
mov ecx, dword [esp + 0x6c]
add esp, 4
mov edx, 0x5b
push eax
push dword [esp + 0x18]
push esi
push dword [esp + 0x5c]
call fcn.00495e50
add esp, 0x14
mov edx, 0x82
push esi
push dword [esp + 0x50]
mov esi, dword [esp + 0x6c]
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x44]
call fcn.004960f0
add esp, 0x10
jmp 0x4c04e5
push eax
push dword [esp + 0x70]
mov edx, 0x93
mov dword [esp + 0x3c], 1
mov ecx, esi
call fcn.00495b60
add esp, 8
mov ecx, dword [esp + 0x44]
call fcn.004ede70
cmp dword [esp + 0x68], 0
jne 0x4c054e
cmp dword [esp + 0x28], 2
mov dword [esp + 0x24], 0
jne 0x4c0514
mov edx, 0x11
mov ecx, esi
call fcn.00495aa0
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push dword [esp + 0x58]
push dword [esp + 0x24]
push 8
push 0x61
call fcn.004ca470
mov eax, dword [esp + 0x40]
add esp, 0x18
cmp eax, 2
jne 0x4c0552
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.00496500
jmp 0x4c0556
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4c059a
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
cmp dword [ecx + 0x38], 0
jne 0x4c061a
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x18]
cmp byte [eax + edx], 0
je 0x4c0610
mov eax, dword [esp + 0x34]
mov ecx, esi
cwde
push eax
push dword [esp + 0x14]
push dword [esp + 0x7c]
push edx
mov edx, 0x1d
call fcn.004960f0
add esp, 0x10
jmp 0x4c0608
cmp dword [esp + 0x14], 0
mov ecx, esi
je 0x4c05ed
push dword [esp + 0x38]
mov edx, 0x25
call fcn.00495b00
mov dword [esp + 0x40], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x10]
cmp dword [eax + 0x38], 0
je 0x4c05da
push 0
push dword [esp + 0x40]
mov edx, 0x59
call fcn.00495a30
jmp 0x4c0605
push dword [esp + 0x3c]
mov edx, 0x7e
call fcn.00495b60
add esp, 8
jmp 0x4c0608
push dword [esp + 0x10]
mov edx, 0x2a
push 0
push dword [esp + 0x74]
call fcn.00495a30
mov dword [esp + 0x48], eax
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x38], 0
je 0x4c06b2
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4c063f
mov ecx, dword [esp + 0x40]
nop dword [eax]
cmp dword [eax], ecx
je 0x4c063b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4c0630
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xc]
mov ecx, edi
call fcn.004e1fb0
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
cmp dword [esp + 0x28], 1
mov byte [ecx + 0x15], 1
jne 0x4c067c
push dword [esp + 0x18]
mov edx, 0x74
mov ecx, esi
call fcn.00495b00
add esp, 4
cmp dword [edi + 0x74], 0
jne 0x4c067c
mov byte [edi + 0x14], 0
push 0xfffffffffffffff4
push dword [esp + 0x28]
mov edx, 0xa
mov ecx, esi
push dword [esp + 0x18]
push 1
push 0
call fcn.00495e50
mov eax, dword [esi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4c06ec
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4c06ec
push dword [esp + 0x48]
cmp byte [edi + 0x12], 0
mov ecx, edi
push dword [esp + 0x2c]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x44]
push dword [esp + 0x24]
push dword [esp + 0x88]
push edx
push dword [esp + 0x80]
mov edx, dword [esp + 0x30]
call fcn.004c07b0
add esp, 0x24
cmp dword [esp + 0x28], 0
mov ecx, esi
je 0x4c0709
mov edx, dword [esp + 0x74]
call fcn.00496260
mov ecx, dword [esp + 0x44]
call fcn.004ede70
jmp 0x4c073d
cmp dword [esp + 0x14], 0
je 0x4c0729
mov eax, dword [esp + 0x3c]
mov edx, 5
inc eax
push eax
push dword [esp + 0x3c]
call fcn.00495b60
add esp, 8
jmp 0x4c0732
mov edx, dword [esp + 0x3c]
call fcn.00495bd0
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.004964d0
cmp byte [edi + 0x12], 0
jne 0x4c0756
cmp dword [edi + 0x78], 0
jne 0x4c0756
cmp dword [edi + 0x70], 0
je 0x4c0756
mov ecx, edi
call fcn.004c6fb0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4c03b7
push 1
push eax
mov edx, 0x50
mov ecx, esi
call fcn.00495b60
mov edx, 1
mov ecx, esi
call fcn.00497b40
push 0
push 0x66af30
push 0
xor edx, edx
mov ecx, esi
call fcn.00497bd0
add esp, 0x14
jmp 0x4c03b7
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x4c03bf