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

Disassembly:
push 0xffffffffffffffff
push 0x103a0db9
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 0x4e1838
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 0x4e170f
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.004d7baf
mov edx, dword [eax + 0x20]
sub edx, dword [eax + 0x1c]
sar edx, 2
test edx, edx
jbe 0x4e17aa
mov edi, edi
mov ecx, esi
call fcn.004d7baf
push edi
lea ecx, [eax + 0xc]
call fcn.004db72f
lea ecx, [eax + 0xc]
mov eax, dword [esp + 0x94]
cmp dword [esp + 0xa8], ebp
jae 0x4e1779
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 0x4e18d3
inc edi
call fcn.004d7baf
mov ecx, dword [eax + 0x20]
sub ecx, dword [eax + 0x1c]
sar ecx, 2
cmp edi, ecx
jb 0x4e174f
cmp dword [esp + 0xa8], ebp
jb 0x4e17c3
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 0x4e1806
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 0x4e1838
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 0x4e1896
lea ecx, [esp + 0xb8]
call fcn.00645c3f
mov esi, eax
lea ecx, [ebx + 0x38]
mov byte [esp + 0x104], 3
call fcn.004d7baf
push esi
mov ecx, eax
call fcn.00649eff
lea ecx, [esp + 0xb8]
mov byte [esp + 0x104], 2
call fcn.00640b6f
xor esi, esi
lea esp, [esp]
cmp dword [ebx + 0x3c], 0
jne 0x4e197d
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x104], 4
test eax, eax
je 0x4e1970
mov ecx, eax
call fcn.00645c3f
jmp 0x4e1972
call fcn.004d7baf
push edi
lea ecx, [eax + 0xc]
call fcn.004db72f
mov esi, dword [eax + 4]
cmp dword [esp + 0xa8], ebp
jb 0x4e18fd
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 0x4e1935
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 0x4e1ea9
mov eax, dword [esp + 0xc0]
push eax
call fcn.00776c58
add esp, 4
jmp 0x4e1ea9
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 0x4e19e8
test eax, eax
jne 0x4e19c1
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x104], 5
test eax, eax
je 0x4e19b4
mov ecx, eax
call fcn.00645c3f
jmp 0x4e19b6
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.004db72f
add eax, 4
push eax
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x78]
call fcn.004da7df
inc esi
jmp 0x4e189f
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 0x4e1a47
cmp eax, ebp
je 0x4e1a4c
call fcn.00776e71
cmp dword [esp + 0x24], edi
je 0x4e1a62
lea ecx, [esp + 0x20]
inc esi
call fcn.00468daf
mov eax, dword [esp + 0x20]
jmp 0x4e1a3f
test esi, esi
je 0x4e1a78
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x188
jbe 0x4e19ff
jmp 0x4e1a80
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], edx
cmp dword [esp + 0x28], 0
jne 0x4e1ae6
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 0x4e1b1c
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x104], 7
test eax, eax
je 0x4e1b0f
mov ecx, eax
call fcn.00645c3f
jmp 0x4e1b11
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 0x4e1b42
mov ecx, eax
call fcn.0063f12f
jmp 0x4e1b44
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 0x4e1b62
xor ecx, ecx
jmp 0x4e1b6a
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 0x4e1b82
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x4e1ba3
cmp edx, edi
jbe 0x4e1b8b
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 0x4e1be1
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x104], 0xa
test eax, eax
je 0x4e1bd4
mov ecx, eax
call fcn.00645c3f
jmp 0x4e1bd6
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 0x4e1bf1
call fcn.00776e71
mov esi, dword [esi + 0x10]
mov ebp, esi
mov dword [esp + 0x94], edi
test esi, esi
jne 0x4e1c18
call fcn.00776e71
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
ja 0x4e1c23
test esi, esi
je 0x4e1c1c
mov esi, dword [esi]
jmp 0x4e1c1e
mov eax, dword [esi]
jmp 0x4e1c08
xor esi, esi
cmp ecx, dword [esi + 0xc]
jae 0x4e1c28
call fcn.00776e71
lea esi, [edi - 4]
test ebp, ebp
jne 0x4e1cf2
call fcn.00776e71
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4e1c44
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 0x4e1c9f
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 0x4e1d06
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x104], 0xd
test eax, eax
je 0x4e1cfa
mov ecx, eax
call fcn.00645c3f
jmp 0x4e1cfc
mov eax, dword [ebp]
jmp 0x4e1c3a
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 0x4e1d16
call fcn.00776e71
mov esi, dword [esi + 0x10]
xor ebx, ebx
mov ebp, esi
mov dword [esp + 0x94], edi
cmp esi, ebx
jne 0x4e1d3f
call fcn.00776e71
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
ja 0x4e1d4a
cmp esi, ebx
je 0x4e1d43
mov esi, dword [esi]
jmp 0x4e1d45
mov eax, dword [esi]
jmp 0x4e1d2f
xor esi, esi
cmp ecx, dword [esi + 0xc]
jae 0x4e1d4f
call fcn.00776e71
lea esi, [edi - 4]
cmp ebp, ebx
jne 0x4e1e2b
call fcn.00776e71
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4e1d6b
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 0x4e1da4
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 0x4e1ddc
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 0x4e1dff
mov edx, dword [esp + 0x38]
push edx
call fcn.00776c58
add esp, 4
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x3c], ebx
jne 0x4e1e40
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x104], 0xe
cmp eax, ebx
je 0x4e1e33
mov ecx, eax
call fcn.00645c3f
jmp 0x4e1e35
mov eax, dword [ebp]
jmp 0x4e1d61
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 0x4e1e84
push 0x28
call fcn.00776c63
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x104], 0xf
cmp eax, ebx
je 0x4e1e77
mov ecx, eax
call fcn.00645c3f
jmp 0x4e1e79
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