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

Disassembly:
push 0xffffffffffffffff
push 0x103a1099
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x105623f8]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x10c]
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
mov ebp, 8
je 0x4e4258
mov ecx, eax
push ecx
lea ecx, [esp + 0xbc]
call fcn.00576e2f
movzx edx, byte [ebx + 0xc1]
xor edi, edi
push edi
push edx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x10c], edi
call fcn.0057748f
xor ecx, ecx
mov word [esp + 0x94], cx
mov ecx, eax
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], edi
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x4e412f
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.0040836f
lea esi, [ebx + 0x38]
mov ecx, esi
mov byte [esp + 0x104], 1
xor edi, edi
call fcn.004d800f
mov edx, dword [eax + 0x20]
sub edx, dword [eax + 0x1c]
sar edx, 2
test edx, edx
jbe 0x4e41ca
mov edi, edi
mov ecx, esi
call fcn.004d800f
push edi
lea ecx, [eax + 0xc]
call fcn.004dbb6f
lea ecx, [eax + 0xc]
mov eax, dword [esp + 0x94]
cmp dword [esp + 0xa8], ebp
jae 0x4e4199
lea eax, [esp + 0x94]
mov edx, dword [esp + 0xa4]
push edx
push eax
mov eax, dword [ecx + 0x14]
push eax
push 0
call fcn.0042f8ef
mov ecx, esi
test eax, eax
je 0x4e42f3
inc edi
call fcn.004d800f
mov ecx, dword [eax + 0x20]
sub ecx, dword [eax + 0x1c]
sar ecx, 2
cmp edi, ecx
jb 0x4e416f
cmp dword [esp + 0xa8], ebp
jb 0x4e41e3
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00776c58
add esp, 4
xor esi, esi
xor edx, edx
mov edi, 7
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], esi
mov word [esp + 0x94], dx
mov dword [esp + 0x104], 0xffffffff
cmp dword [esp + 0xf0], ebp
jb 0x4e4226
mov eax, dword [esp + 0xdc]
push eax
call fcn.00776c58
add esp, 4
xor ecx, ecx
cmp dword [esp + 0xd4], 0x10
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], esi
mov word [esp + 0xdc], cx
jb 0x4e4258
mov edx, dword [esp + 0xc0]
push edx
call fcn.00776c58
add esp, 4
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x1f]
push ecx
lea ecx, [esp + 0x78]
call fcn.004da27f
cmp dword [ebx + 0x3c], 0
mov dword [esp + 0x104], 2
jne 0x4e42b6
lea ecx, [esp + 0xb8]
call fcn.0069f90f
mov esi, eax
lea ecx, [ebx + 0x38]
mov byte [esp + 0x104], 3
call fcn.004d800f
push esi
mov ecx, eax
call fcn.006a288f
lea ecx, [esp + 0xb8]
mov byte [esp + 0x104], 2
call fcn.00695f8f
xor esi, esi
lea esp, [esp]
cmp dword [ebx + 0x3c], 0
jne 0x4e439d
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x104], 4
test eax, eax
je 0x4e4390
mov ecx, eax
call fcn.0069f90f
jmp 0x4e4392
call fcn.004d800f
push edi
lea ecx, [eax + 0xc]
call fcn.004dbb6f
mov esi, dword [eax + 4]
cmp dword [esp + 0xa8], ebp
jb 0x4e431d
mov edx, dword [esp + 0x94]
push edx
call fcn.00776c58
add esp, 4
xor edi, edi
xor eax, eax
mov ebx, 7
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], edi
mov word [esp + 0x94], ax
cmp dword [esp + 0xf0], ebp
jb 0x4e4355
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00776c58
add esp, 4
xor edx, edx
cmp dword [esp + 0xd4], 0x10
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xec], edi
mov word [esp + 0xdc], dx
jb 0x4e48c9
mov eax, dword [esp + 0xc0]
push eax
call fcn.00776c58
add esp, 4
jmp 0x4e48c9
xor eax, eax
mov byte [esp + 0x104], 2
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + 0x20]
sub edx, dword [eax + 0x1c]
sar edx, 2
cmp esi, edx
jae 0x4e4408
test eax, eax
jne 0x4e43e1
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x104], 5
test eax, eax
je 0x4e43d4
mov ecx, eax
call fcn.0069f90f
jmp 0x4e43d6
xor eax, eax
mov byte [esp + 0x104], 2
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x3c]
push esi
lea ecx, [eax + 0xc]
call fcn.004dbb6f
add eax, 4
push eax
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x78]
call fcn.004da7df
inc esi
jmp 0x4e42bf
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0xa6
lea esp, [esp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x78]
call fcn.004d87af
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
xor esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
lea esp, [esp]
test eax, eax
je 0x4e4467
cmp eax, ebp
je 0x4e446c
call fcn.00776e71
cmp dword [esp + 0x24], edi
je 0x4e4482
lea ecx, [esp + 0x20]
inc esi
call fcn.00468daf
mov eax, dword [esp + 0x20]
jmp 0x4e445f
test esi, esi
je 0x4e4498
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x188
jbe 0x4e441f
jmp 0x4e44a0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], edx
cmp dword [esp + 0x28], 0
jne 0x4e4506
push 0x2c
push 0x1046d690
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], 0
mov byte [esp + 0xc4], 0
call fcn.0040517f
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x108], 6
call fcn.004c07cf
push 0x104f2130
lea ecx, [esp + 0x94]
push ecx
call fcn.00776cc8
cmp dword [ebx + 0x3c], 0
jne 0x4e453c
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x104], 7
test eax, eax
je 0x4e452f
mov ecx, eax
call fcn.0069f90f
jmp 0x4e4531
xor eax, eax
mov byte [esp + 0x104], 2
mov dword [ebx + 0x3c], eax
mov esi, dword [ebx + 0x3c]
push 0x2c
call fcn.00776c63
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x104], 8
test eax, eax
je 0x4e4562
mov ecx, eax
call fcn.0067c76f
jmp 0x4e4564
xor eax, eax
mov dword [esp + 0x20], eax
mov edx, dword [esi + 0x1c]
add esi, 0x10
mov byte [esp + 0x104], 9
mov dword [esp + 0x14], eax
test edx, edx
jne 0x4e4582
xor ecx, ecx
jmp 0x4e458a
mov ecx, dword [esi + 0x14]
sub ecx, edx
sar ecx, 2
mov edi, dword [esi + 0x10]
mov ebp, edi
sub ebp, edx
sar ebp, 2
cmp ebp, ecx
jae 0x4e45a2
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x4e45c3
cmp edx, edi
jbe 0x4e45ab
call fcn.00776e71
mov eax, dword [esi]
lea edx, [esp + 0x14]
push edx
push edi
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, esi
call fcn.0047928f
cmp dword [ebx + 0x3c], 0
mov byte [esp + 0x104], 2
jne 0x4e4601
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x104], 0xa
test eax, eax
je 0x4e45f4
mov ecx, eax
call fcn.0069f90f
jmp 0x4e45f6
xor eax, eax
mov byte [esp + 0x104], 2
mov dword [ebx + 0x3c], eax
mov esi, dword [ebx + 0x3c]
mov edi, dword [esi + 0x20]
cmp dword [esi + 0x1c], edi
jbe 0x4e4611
call fcn.00776e71
mov esi, dword [esi + 0x10]
mov ebp, esi
mov dword [esp + 0x94], edi
test esi, esi
jne 0x4e4638
call fcn.00776e71
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
ja 0x4e4643
test esi, esi
je 0x4e463c
mov esi, dword [esi]
jmp 0x4e463e
mov eax, dword [esi]
jmp 0x4e4628
xor esi, esi
cmp ecx, dword [esi + 0xc]
jae 0x4e4648
call fcn.00776e71
lea esi, [edi - 4]
test ebp, ebp
jne 0x4e4712
call fcn.00776e71
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4e4664
call fcn.00776e71
mov ecx, dword [esi]
lea edx, [esp + 0x28]
push edx
call fcn.00605adf
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
call fcn.00576e2f
movzx ecx, byte [ebx + 0xc1]
push 0
push ecx
mov ecx, eax
mov byte [esp + 0x10c], 0xb
call fcn.0057748f
xor edx, edx
mov ecx, eax
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], dx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4e46bf
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0xc0]
call fcn.0040836f
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x3c], 0
mov bl, 0xc
mov byte [esp + 0x104], bl
jne 0x4e4726
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x104], 0xd
test eax, eax
je 0x4e471a
mov ecx, eax
call fcn.0069f90f
jmp 0x4e471c
mov eax, dword [ebp]
jmp 0x4e465a
xor eax, eax
mov byte [esp + 0x104], bl
mov dword [esi + 0x3c], eax
mov esi, dword [esi + 0x3c]
mov edi, dword [esi + 0x20]
cmp dword [esi + 0x1c], edi
jbe 0x4e4736
call fcn.00776e71
mov esi, dword [esi + 0x10]
xor ebx, ebx
mov ebp, esi
mov dword [esp + 0x94], edi
cmp esi, ebx
jne 0x4e475f
call fcn.00776e71
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
ja 0x4e476a
cmp esi, ebx
je 0x4e4763
mov esi, dword [esi]
jmp 0x4e4765
mov eax, dword [esi]
jmp 0x4e474f
xor esi, esi
cmp ecx, dword [esi + 0xc]
jae 0x4e476f
call fcn.00776e71
lea esi, [edi - 4]
cmp ebp, ebx
jne 0x4e484b
call fcn.00776e71
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4e478b
call fcn.00776e71
mov eax, dword [esi]
push 0xffffffffffffffff
lea esi, [eax + 0xc]
push ebx
lea eax, [esp + 0xc0]
push eax
mov ecx, esi
call fcn.0040826f
mov byte [esi + 0x1c], 1
mov esi, 8
cmp dword [esp + 0xd0], esi
jb 0x4e47c4
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.00776c58
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], dx
mov byte [esp + 0x104], 2
cmp dword [esp + 0x68], esi
jb 0x4e47fc
mov eax, dword [esp + 0x54]
push eax
call fcn.00776c58
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], cx
jb 0x4e481f
mov edx, dword [esp + 0x38]
push edx
call fcn.00776c58
add esp, 4
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x3c], ebx
jne 0x4e4860
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x104], 0xe
cmp eax, ebx
je 0x4e4853
mov ecx, eax
call fcn.0069f90f
jmp 0x4e4855
mov eax, dword [ebp]
jmp 0x4e4781
xor eax, eax
mov byte [esp + 0x104], 2
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x20]
sub ecx, dword [eax + 0x1c]
sar ecx, 2
mov dword [esp + 0x1c], ecx
cmp eax, ebx
jne 0x4e48a4
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x104], 0xf
cmp eax, ebx
je 0x4e4897
mov ecx, eax
call fcn.0069f90f
jmp 0x4e4899
xor eax, eax
mov byte [esp + 0x104], 2
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0x3c]
lea edx, [esp + 0x1c]
push edx
call fcn.00605adf
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x70]
mov dword [esp + 0x104], 0xffffffff
call fcn.004dae0f
mov eax, esi
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.00777267
add esp, 0xf4
ret 4