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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x148
mov eax, dword [0x5599f4]
mov edi, dword [ebp + 8]
mov ebx, ecx
xor eax, ebp
mov dword [esp + 0x140], eax
xor eax, eax
test edx, edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
je 0x4a0416
mov eax, edi
lea edi, [esp + 0x48]
mov ecx, 0xb
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
jmp 0x4a0423
lea eax, [esp + 0x48]
push eax
call fcn.004a24a0
add esp, 4
lea esi, [esp + 0x48]
mov dword [esi + 0x2c], edi
push 5
push ebx
push esi
call fcn.004a234c
add esp, 0xc
test eax, eax
mov dword [esi + 0x30], eax
je 0x4a09d1
xor edi, edi
push 2
push edi
push edi
push eax
push esi
mov dword [esp + 0x18], eax
call fcn.004a2376
add esp, 0x14
test eax, eax
jne 0x4a05ce
push dword [esp + 4]
lea eax, [esp + 0x4c]
push eax
call fcn.004a23ba
add esp, 8
mov esi, 0xffff
mov ecx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
cmp eax, esi
sbb ecx, 0
cmovb edi, edx
cmovb esi, eax
push 0x404
call fcn.0041dc70
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x4a05ce
cmp esi, 5
mov eax, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
sbb eax, 0
jb 0x4a05c5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 8], 4
mov edi, dword [esp + 8]
mov eax, ecx
add edi, 0x400
adc esi, 0
cmp edx, edi
mov dword [esp + 0x2c], edi
sbb eax, esi
mov dword [esp + 0xc], esi
mov eax, 0x404
cmovb esi, ecx
mov ecx, edi
mov edi, dword [esp + 0x28]
cmovb ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 8], ecx
sub edx, ecx
sbb edi, esi
cmp ecx, eax
mov eax, esi
mov esi, 0x404
sbb eax, 0
cmovb esi, ecx
push 0
mov dword [esp + 0x28], edi
push edi
mov dword [esp + 0x1c], edx
push edx
mov edi, dword [esp + 0x10]
push edi
lea eax, [esp + 0x58]
push eax
call fcn.004a2376
add esp, 0x14
test eax, eax
jne 0x4a05c5
push esi
push ebx
push edi
push dword [esp + 0x70]
call dword [esp + 0x5c]
add esp, 0x10
cmp eax, esi
jne 0x4a05c5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
xor eax, eax
cmp esi, 4
mov edi, 0
jl 0x4a0587
add esi, 0xfffffffc
cmp byte [ebx + esi], 0x50
jne 0x4a057c
cmp byte [ebx + esi + 1], 0x4b
jne 0x4a057c
cmp byte [ebx + esi + 2], 6
jne 0x4a057c
cmp byte [ebx + esi + 3], 7
je 0x4a05b0
test esi, esi
lea esi, [esi - 1]
jg 0x4a0561
xor eax, eax
xor edi, edi
cmp dword [esp + 0x2c], edx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edi
sbb dword [esp + 0xc], ecx
jae 0x4a09eb
mov edi, eax
or eax, dword [esp + 0x14]
mov eax, edi
je 0x4a04c7
jmp 0x4a09eb
mov eax, dword [esp + 0x14]
mov edi, esi
sar edi, 0x1f
add eax, esi
mov esi, dword [esp + 0x24]
adc esi, edi
mov edi, esi
jmp 0x4a0587
push ebx
call fcn.0041dcb0
add esp, 4
mov ecx, dword [esp + 0x78]
xor eax, eax
push 2
push eax
push eax
mov dword [esp + 0x1c], ecx
push ecx
lea edi, [esp + 0x58]
push edi
call fcn.004a2376
add esp, 0x14
test eax, eax
jne 0x4a0760
push dword [esp + 0x10]
push edi
call fcn.004a23ba
add esp, 8
mov ebx, 0xffff
xor esi, esi
mov ecx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
cmp eax, ebx
sbb ecx, 0
cmovb esi, edx
cmovb ebx, eax
mov dword [esp + 0x1c], esi
push 0x404
call fcn.0041dc70
add esp, 4
mov esi, eax
test esi, esi
je 0x4a0760
mov eax, dword [esp + 0x1c]
cmp ebx, 5
mov dword [esp + 0x18], ebx
sbb eax, 0
jb 0x4a0753
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov eax, edi
add edx, 0x400
adc ecx, 0
cmp ebx, edx
mov dword [esp + 0x14], edx
sbb eax, ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
cmovb edx, ebx
mov ebx, dword [esp + 0x20]
cmovb ecx, edi
mov edi, 0x404
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, 0x404
sbb ebx, ecx
cmp edx, eax
mov eax, ecx
sbb eax, 0
cmovb edi, edx
push 0
mov dword [esp + 0x28], ebx
push ebx
push dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x58]
push eax
call fcn.004a2376
add esp, 0x14
test eax, eax
jne 0x4a0753
push edi
push esi
push ebx
push dword [esp + 0x70]
call dword [esp + 0x5c]
add esp, 0x10
cmp eax, edi
jne 0x4a0753
mov ebx, dword [esp + 0x18]
xor ecx, ecx
cmp edi, 4
mov edx, 0
jl 0x4a071f
add edi, 0xfffffffc
cmp byte [esi + edi], 0x50
jne 0x4a0714
cmp byte [esi + edi + 1], 0x4b
jne 0x4a0714
cmp byte [esi + edi + 2], 5
jne 0x4a0714
cmp byte [esi + edi + 3], 6
je 0x4a0740
test edi, edi
lea edi, [edi - 1]
jg 0x4a06f9
xor ecx, ecx
xor edx, edx
cmp dword [esp + 0x14], ebx
mov edi, dword [esp + 0x1c]
sbb dword [esp + 0x2c], edi
jae 0x4a0c7b
mov eax, ecx
or eax, edx
je 0x4a0662
jmp 0x4a0c7b
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov eax, edi
sar eax, 0x1f
add ecx, edi
adc edx, eax
jmp 0x4a071f
push esi
call fcn.0041dcb0
add esp, 4
lea edi, [esp + 0x48]
xor esi, esi
xor ecx, ecx
xor edx, edx
dec esi
mov dword [esp + 4], esi
xor eax, eax
lea esi, [esp + 0x88]
mov dword [esi + 0xa8], eax
push eax
mov dword [esp + 0x14], edx
push edx
mov dword [esp + 0x10], ecx
push ecx
push dword [esi - 0x10]
push edi
call fcn.004a2376
add esp, 0x14
mov edx, dword [esi - 0x10]
mov ebx, edi
mov edi, eax
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.004a1ba1
add esp, 4
mov edx, dword [esi - 0x10]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov ecx, ebx
mov esi, ebx
push eax
call fcn.004a1f51
add esp, 4
mov ebx, eax
lea eax, [esp + 0x88]
mov ecx, esi
mov edx, dword [eax - 0x10]
or ebx, edi
lea eax, [esp + 0x3c]
push eax
call fcn.004a1f51
add esp, 4
mov edi, eax
lea eax, [esp + 0x88]
mov ecx, esi
mov edx, dword [eax - 0x10]
lea eax, [esp + 0x44]
or edi, ebx
push eax
call fcn.004a1f51
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x88]
xor edx, edx
or ebx, edi
lea edi, [esp + 0x44]
mov dword [ecx - 4], edx
mov eax, dword [edi]
or ebx, dword [esp + 0xc]
mov dword [ecx - 8], eax
mov edx, dword [ecx - 0x10]
mov ecx, esi
push edi
call fcn.004a1f51
add esp, 4
xor ecx, ecx
lea esi, [esp + 0x88]
lea edx, [esp + 0x3c]
dec ecx
or eax, ebx
mov eax, dword [esp + 4]
mov ebx, edi
mov edi, 0
mov dword [esp + 0x13c], edi
cmovne eax, ecx
lea ecx, [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov dword [esp + 0x138], eax
xor eax, dword [esi - 8]
or ecx, dword [edx]
mov edx, dword [esp + 4]
mov ecx, 0xffffff99
cmovne edx, ecx
or eax, dword [esi - 4]
mov dword [esp + 4], edx
mov edx, dword [esi - 0x10]
lea esi, [esp + 0x48]
mov eax, dword [esp + 4]
cmovne eax, ecx
mov ecx, esi
mov dword [esp + 4], eax
push ebx
call fcn.004a1ba1
add esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
lea ecx, [esp + 0x88]
mov dword [ecx + 0x34], edi
mov dword [ecx + 0x30], eax
mov edx, dword [ecx - 0x10]
mov ecx, esi
push ebx
call fcn.004a1ba1
add esp, 4
mov edi, eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x88]
xor edx, edx
mov ebx, dword [esp + 4]
mov eax, dword [eax]
mov dword [ecx + 0x3c], edx
or edi, dword [esp + 0xc]
mov dword [ecx + 0x38], eax
mov eax, ecx
mov edx, dword [ecx - 0x10]
mov ecx, esi
push eax
call fcn.004a1f51
add esp, 4
or eax, edi
mov eax, 0xffffffff
cmovne ebx, eax
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xbc]
add ecx, dword [esp + 0xc0]
adc eax, dword [esp + 0xc4]
test ebx, ebx
jne 0x4a09c2
cmp dword [esp + 8], ecx
mov edx, dword [esp + 0x10]
sbb edx, eax
jb 0x4a09c2
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x10]
mov edx, esi
mov ebx, edi
sub edx, ecx
sbb ebx, eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ebx
mov dword [esp + 0xb4], edi
xor edi, edi
mov dword [esp + 0xb0], esi
mov dword [esp + 0x128], edi
mov dword [esp + 0x12c], edi
push 0xf0
call fcn.0041dc70
add esp, 4
mov esi, eax
test esi, esi
je 0x4a09d3
push 0xf0
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.004d7b40
add esp, 0xc
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov edx, esi
xor edi, edi
sub edx, 0xffffff80
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
lea eax, [esi + 0xd8]
mov ecx, esi
push edi
push edi
push edi
push edi
push edi
push edi
push eax
call fcn.004a0d85
add esp, 0x1c
xor ecx, ecx
test eax, eax
mov dword [esi + 0x64], edi
mov edi, esi
sete cl
mov dword [esi + 0x60], ecx
jmp 0x4a09d3
push dword [esp + 0x78]
push dword [esp + 0x68]
call dword [esp + 0x64]
add esp, 8
xor edi, edi
mov ecx, dword [esp + 0x140]
xor ecx, ebp
call fcn.004d4bc8
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
mov esi, eax
call fcn.0041dcb0
add esp, 4
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
mov eax, esi
or eax, ecx
je 0x4a05ce
push 0
push ecx
push esi
push ebx
lea eax, [esp + 0x58]
push eax
call fcn.004a2376
add esp, 0x14
test eax, eax
jne 0x4a05ce
lea edi, [esp + 0x30]
lea ecx, [esp + 0x48]
mov edx, ebx
push edi
call fcn.004a1ba1
add esp, 4
test eax, eax
jne 0x4a05ce
lea ecx, [esp + 0x48]
mov edx, ebx
push edi
call fcn.004a1ba1
add esp, 4
or eax, dword [esp + 0x30]
jne 0x4a05ce
lea eax, [esp + 0x138]
lea ecx, [esp + 0x48]
mov edx, ebx
push eax
call fcn.004a1cbd
add esp, 4
test eax, eax
jne 0x4a05ce
lea esi, [esp + 0x48]
mov edx, ebx
mov ecx, esi
push edi
call fcn.004a1ba1
add esp, 4
test eax, eax
jne 0x4a05ce
cmp dword [esp + 0x30], 1
jne 0x4a05ce
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
push 0
mov dword [esp + 0x14], ecx
push ecx
mov dword [esp + 0x10], eax
push eax
push ebx
push esi
call fcn.004a2376
add esp, 0x14
test eax, eax
jne 0x4a05ce
lea ecx, [esp + 0x48]
mov edx, ebx
mov esi, ecx
push edi
call fcn.004a1ba1
add esp, 4
test eax, eax
jne 0x4a05ce
cmp dword [esp + 0x30], 0x6064b50
jne 0x4a05ce
mov eax, dword [esp + 8]
or eax, dword [esp + 0x10]
je 0x4a05ce
lea ebx, [esp + 0x80]
xor eax, eax
mov dword [ebx + 0xb0], 1
push eax
push dword [esp + 0x14]
push dword [esp + 0x10]
push dword [ebx - 8]
push esi
call fcn.004a2376
add esp, 0x14
mov edx, dword [ebx - 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call fcn.004a1ba1
add esp, 4
mov edx, dword [ebx - 8]
mov ebx, esi
mov dword [esp + 4], eax
mov ecx, esi
push edi
call fcn.004a1cbd
add esp, 4
mov esi, eax
lea eax, [esp + 0x80]
mov ecx, ebx
mov edx, dword [eax - 8]
or esi, dword [esp + 0xc]
lea eax, [esp + 0x38]
push eax
call fcn.004a1f51
add esp, 4
mov edi, eax
lea eax, [esp + 0x80]
mov ecx, ebx
mov edx, dword [eax - 8]
lea eax, [esp + 0x38]
or edi, esi
push eax
call fcn.004a1f51
add esp, 4
mov esi, eax
lea eax, [esp + 0x80]
mov ecx, ebx
mov edx, dword [eax - 8]
lea eax, [esp + 0x40]
or esi, edi
push eax
call fcn.004a1ba1
add esp, 4
mov edi, eax
lea eax, [esp + 0x80]
mov ecx, ebx
mov edx, dword [eax - 8]
lea eax, [esp + 0x3c]
or edi, esi
push eax
call fcn.004a1ba1
add esp, 4
mov esi, eax
lea eax, [esp + 0x80]
mov ecx, ebx
mov edx, dword [eax - 8]
or esi, edi
push eax
mov ebx, eax
call fcn.004a1cbd
add esp, 4
mov edi, eax
mov edx, dword [ebx - 8]
lea ecx, [esp + 0x48]
lea eax, [esp + 0x138]
or edi, esi
mov esi, ecx
or edi, dword [esp + 4]
push eax
call fcn.004a1cbd
add esp, 4
xor ebx, ebx
or eax, edi
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [esp + 0x80]
lea edi, [esp + 0x3c]
setne bl
neg ebx
xor ecx, dword [edx + 4]
xor eax, dword [edx]
lea edx, [esp + 0x40]
mov edx, dword [edx]
or edx, dword [edi]
mov edx, 0xffffff99
cmovne ebx, edx
or eax, ecx
lea eax, [esp + 0xb8]
mov ecx, esi
cmovne ebx, edx
mov edx, dword [eax - 0x40]
push eax
call fcn.004a1cbd
add esp, 4
lea esi, [esp + 0xc0]
mov edi, eax
lea ecx, [esp + 0x48]
mov edx, dword [esi - 0x48]
push esi
call fcn.004a1cbd
add esp, 4
xor ecx, ecx
dec ecx
or eax, edi
cmove ecx, ebx
xor eax, eax
mov ebx, ecx
mov dword [esi - 0x38], eax
jmp 0x4a08eb
push esi
mov esi, ecx
mov edi, edx
call fcn.0041dcb0
mov edx, edi
mov ecx, esi
add esp, 4
mov eax, ecx
xor esi, esi
lea edi, [esp + 0x48]
or eax, edx
jne 0x4a0767
jmp 0x4a0760