Function at 0x4e0a50
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53f258
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x58ab78]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58ab78]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebp, ecx
push 0x20
push 0xe
call fcn.004f6c10
mov ebx, dword [esp + 0xb4]
mov edi, eax
push dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
mov ecx, dword [ebx]
push ecx
push dword [ecx]
call fcn.004f1e60
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 8]
sar eax, 2
shr eax, 1
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x24]
push ecx
push eax
mov dword [esp + 0x30], 0
push dword [eax]
call fcn.004f1e60
mov eax, dword [esp + 0x34]
add esp, 0x20
mov dword [edi + 0x10], eax
mov esi, dword [ebx + 0x18]
mov dword [edi + 0x14], esi
mov edx, dword [ebx + 0x1c]
mov dword [edi + 0x18], edx
mov eax, dword [ebp]
test dword [eax + 0x14], 0x100000
je 0x4e0b45
mov eax, esi
and eax, dword [ebp + 0x40]
cmp eax, dword [ebp + 0x40]
je 0x4e0b21
mov eax, esi
and eax, dword [ebp + 0x44]
cmp eax, dword [ebp + 0x44]
jne 0x4e0b29
mov eax, dword [ebp + 0x48]
or eax, esi
mov dword [edi + 0x14], eax
mov eax, edx
and eax, dword [ebp + 0x40]
cmp eax, dword [ebp + 0x40]
je 0x4e0b3d
mov eax, edx
and eax, dword [ebp + 0x44]
cmp eax, dword [ebp + 0x44]
jne 0x4e0b45
mov eax, dword [ebp + 0x48]
or eax, edx
mov dword [edi + 0x18], eax
mov al, byte [ebx + 0x14]
mov byte [edi + 0x1c], al
mov al, byte [ebx + 0x15]
test al, al
sete al
mov byte [edi + 0x1d], al
mov eax, dword [ebp]
sub edi, dword [eax + 0x138]
mov dword [esp + 0x2c], edi
mov edi, dword [ebx]
mov esi, dword [edi]
cmp esi, edi
je 0x4e0c91
nop
cmp word [esi + 0xe], 0
jne 0x4e0b7e
mov eax, 1
jmp 0x4e0b8a
xor eax, eax
cmp word [esi + 0x10], ax
setne al
add eax, 2
mov ebx, dword [ebp]
lea ecx, [eax + eax]
add ebx, 0x134
mov dword [esp + 0x18], ecx
mov eax, dword [ebx]
sub eax, dword [ebx + 8]
cmp eax, ecx
jae 0x4e0bb2
mov edx, ecx
mov ecx, ebx
sub edx, dword [ebx + 4]
add edx, dword [ebx + 8]
call fcn.005032a0
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [ebx + 8], eax
mov al, byte [ebp + 0xc]
movzx ebx, word [esi + 0xe]
mov edx, dword [ebp + 4]
test al, al
je 0x4e0be4
mov edx, dword [edx]
mov ecx, ebx
mov edx, dword [edx]
call fcn.004f15a0
mov ecx, dword [esp + 0x14]
movzx eax, ax
jmp 0x4e0be6
mov eax, ebx
mov word [ecx], ax
cmp word [esi + 0xe], 0
jne 0x4e0bf7
xor eax, eax
mov word [ecx], ax
jmp 0x4e0c3e
cmp word [esi + 0x10], 0
je 0x4e0c38
mov al, byte [ebp + 0xc]
movzx ebx, word [esi + 0x10]
mov edx, dword [ebp + 4]
test al, al
je 0x4e0c2a
mov edx, dword [edx]
mov ecx, ebx
mov edx, dword [edx]
call fcn.004f15a0
mov ecx, dword [esp + 0x14]
movzx eax, ax
mov word [ecx + 2], ax
xor eax, eax
mov word [ecx + 4], ax
jmp 0x4e0c3e
mov eax, ebx
mov word [ecx + 2], ax
xor eax, eax
mov word [ecx + 4], ax
jmp 0x4e0c3e
xor eax, eax
mov word [ecx + 2], ax
cmp byte [esi + 0xd], 0
jne 0x4e0c82
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4e0c63
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4e0c82
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4e0c57
jmp 0x4e0c82
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4e0c80
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x4e0c80
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4e0c70
mov esi, eax
cmp esi, edi
jne 0x4e0b70
mov ebx, dword [esp + 0xb4]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
cmp esi, edi
je 0x4e1349
nop
mov dx, word [esi]
mov al, byte [ebp + 0xc]
mov bx, word [esi + 2]
mov word [esp + 0x24], dx
mov edx, dword [ebp + 4]
mov word [esp + 0x26], bx
test al, al
je 0x4e0ccd
mov edx, dword [edx]
mov ecx, dword [esp + 0x24]
mov edx, dword [edx]
call fcn.004f15a0
mov word [esp + 0x24], ax
mov cl, byte [ebp + 0xc]
mov edx, dword [ebp + 4]
test cl, cl
je 0x4e0cec
mov edx, dword [edx]
mov ecx, dword [esp + 0x26]
mov edx, dword [edx]
call fcn.004f15a0
mov bx, ax
mov word [esp + 0x26], bx
mov ax, word [esi + 4]
mov cl, byte [ebp + 0xc]
mov dx, word [esi + 6]
mov word [esp + 0x1c], ax
mov eax, dword [ebp + 4]
mov word [esp + 0x1e], dx
test cl, cl
je 0x4e0d1f
mov edx, dword [eax]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx]
call fcn.004f15a0
mov dx, word [esp + 0x1e]
mov word [esp + 0x1c], ax
mov cl, byte [ebp + 0xc]
mov eax, dword [ebp + 4]
test cl, cl
je 0x4e0d3e
mov edx, dword [eax]
mov ecx, dword [esp + 0x1e]
mov edx, dword [edx]
call fcn.004f15a0
mov dx, ax
mov word [esp + 0x1e], dx
xor eax, eax
mov dword [esp + 0x5c], 7
add esi, 8
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov dword [esp + 0xac], eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], eax
mov word [esp + 0x30], ax
mov eax, dword [ebp]
mov byte [esp + 0xac], 1
test dword [eax + 0x14], 0x200000
je 0x4e1084
mov ax, word [esp + 0x24]
lea ecx, [esp + 0x92]
mov word [esp + 0x90], ax
xor eax, eax
mov word [esp + 0x94], ax
mov ax, word [esp + 0x1c]
mov word [esp + 0x98], ax
xor eax, eax
mov word [esp + 0x9c], ax
test bx, bx
lea eax, [esp + 0x94]
mov word [esp + 0x92], bx
cmove eax, ecx
mov word [esp + 0x9a], dx
mov ecx, dword [ebp + 4]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004eeea0
mov ebx, eax
lea eax, [esp + 0x48]
cmp eax, ebx
je 0x4e0e74
cmp dword [esp + 0x5c], 8
jb 0x4e0e11
push dword [esp + 0x48]
call fcn.0047d4a0
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
cmp dword [ebx + 0x14], 8
jae 0x4e0e47
mov eax, dword [ebx + 0x10]
inc eax
je 0x4e0e53
add eax, eax
push eax
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.0049f990
add esp, 0xc
jmp 0x4e0e53
mov eax, dword [ebx]
mov dword [esp + 0x48], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [esp + 0x74], 8
jb 0x4e0e87
push dword [esp + 0x60]
call fcn.0047d4a0
add esp, 4
cmp word [esp + 0x9a], 0
lea ecx, [esp + 0x9a]
lea eax, [esp + 0x9c]
cmove eax, ecx
mov ecx, dword [ebp + 4]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004eeea0
mov ebx, eax
lea eax, [esp + 0x30]
cmp eax, ebx
je 0x4e0f3b
cmp dword [esp + 0x44], 8
jb 0x4e0ed8
push dword [esp + 0x30]
call fcn.0047d4a0
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp dword [ebx + 0x14], 8
jae 0x4e0f0e
mov eax, dword [ebx + 0x10]
inc eax
je 0x4e0f1a
add eax, eax
push eax
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.0049f990
add esp, 0xc
jmp 0x4e0f1a
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [esp + 0x74], 8
jb 0x4e0f4e
push dword [esp + 0x60]
call fcn.0047d4a0
add esp, 4
cmp dword [esp + 0x58], 0
jne 0x4e0fe1
xor eax, eax
mov ecx, 7
cmp dword [esp + 0x5c], 8
mov edx, 1
mov dword [esp + 0x74], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], edx
jb 0x4e0f8c
push dword [esp + 0x48]
call fcn.0047d4a0
mov ecx, dword [esp + 0x78]
add esp, 4
mov edx, dword [esp + 0x70]
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
cmp ecx, 8
jae 0x4e0fd1
lea eax, [edx + 1]
test eax, eax
je 0x4e0fd9
add eax, eax
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0049f990
mov ecx, dword [esp + 0x80]
add esp, 0xc
mov edx, dword [esp + 0x70]
jmp 0x4e0fd9
mov eax, dword [esp + 0x60]
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
cmp dword [esp + 0x40], 0
jne 0x4e11d1
xor eax, eax
mov ecx, 7
cmp dword [esp + 0x44], 8
mov edx, 1
mov dword [esp + 0x74], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], edx
jb 0x4e101f
push dword [esp + 0x30]
call fcn.0047d4a0
mov ecx, dword [esp + 0x78]
add esp, 4
mov edx, dword [esp + 0x70]
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp ecx, 8
jae 0x4e106f
lea eax, [edx + 1]
test eax, eax
je 0x4e1077
add eax, eax
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0049f990
mov ecx, dword [esp + 0x80]
add esp, 0xc
mov edx, dword [esp + 0x70]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
jmp 0x4e11d1
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
jmp 0x4e11d1
lea ecx, [esp + 0x48]
test bx, bx
je 0x4e10e4
push dword [esp + 0x24]
push 1
push 0
call fcn.004335a0
cmp dword [esp + 0x5c], 8
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x58]
cmovae ecx, dword [esp + 0x48]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x48]
cmovae ecx, dword [esp + 0x48]
test eax, eax
jne 0x4e10ce
push dword [esp + 0x26]
lea ecx, [esp + 0x4c]
push 1
push eax
call fcn.004335a0
jmp 0x4e1133
push dword [esp + 0x26]
sub eax, ecx
lea ecx, [esp + 0x4c]
sar eax, 1
push 1
push eax
call fcn.004335a0
jmp 0x4e1133
mov ax, word [esp + 0x24]
mov word [esp + 0x60], ax
xor eax, eax
mov word [esp + 0x62], ax
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 1
mov dword [esp + 0x60], 7
call fcn.0042ffd0
cmp dword [esp + 0x74], 8
jb 0x4e1133
push dword [esp + 0x60]
call fcn.0047d4a0
add esp, 4
cmp word [esp + 0x1e], 0
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x40]
je 0x4e11a3
cmp dword [esp + 0x44], 8
cmovae ecx, dword [esp + 0x30]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x30]
cmovae ecx, dword [esp + 0x30]
test eax, eax
je 0x4e1161
sub eax, ecx
sar eax, 1
push dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push 1
push eax
call fcn.004335a0
cmp dword [esp + 0x44], 8
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x40]
cmovae ecx, dword [esp + 0x30]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x30]
cmovae ecx, dword [esp + 0x30]
test eax, eax
jne 0x4e1199
push dword [esp + 0x1e]
jmp 0x4e11c5
push dword [esp + 0x1e]
sub eax, ecx
sar eax, 1
jmp 0x4e11c5
cmp dword [esp + 0x44], 8
cmovae ecx, dword [esp + 0x30]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x30]
cmovae ecx, dword [esp + 0x30]
test eax, eax
je 0x4e11c1
sub eax, ecx
sar eax, 1
push dword [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x3c]
call fcn.004335a0
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
push dword [esp + 0x58]
cmovae eax, dword [esp + 0x4c]
lea ecx, [esp + 0x34]
push eax
push dword [esp + 0x48]
push 0
call fcn.004322f0
test eax, eax
js 0x4e13c1
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x58]
mov ebx, dword [ebp]
add ebx, 0x134
lea ecx, [eax*2 + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [ebx]
mov edx, dword [ebx + 8]
sub eax, edx
cmp eax, ecx
jae 0x4e1232
sub edx, dword [ebx + 4]
add edx, ecx
mov ecx, ebx
call fcn.005032a0
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
add eax, ecx
mov dword [ebx + 8], eax
lea eax, [esp + 0x48]
cmp dword [esp + 0x5c], 8
mov ecx, dword [esp + 0x58]
cmovae eax, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
lea ecx, [eax + ecx*2]
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
cmp eax, ecx
je 0x4e1284
mov ebx, dword [esp + 0x14]
sub ebx, eax
lea ebx, [ebx]
mov dx, word [eax]
mov word [eax + ebx], dx
add eax, 2
cmp eax, ecx
jne 0x4e1270
mov eax, dword [esp + 0x58]
jmp 0x4e1288
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor edx, edx
mov word [ecx + eax*2], dx
add ecx, 2
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x44]
cmp ebx, 8
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
lea ecx, [eax + ecx*2]
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
cmp eax, ecx
je 0x4e12e4
mov ebx, dword [esp + 0x14]
sub ebx, eax
mov edi, edi
mov dx, word [eax]
mov word [eax + ebx], dx
add eax, 2
cmp eax, ecx
jne 0x4e12d0
mov eax, dword [esp + 0x40]
jmp 0x4e12e8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor edx, edx
mov word [ecx + eax*2], dx
cmp dword [esp + 0x44], 8
jb 0x4e1305
push dword [esp + 0x30]
call fcn.0047d4a0
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
cmp dword [esp + 0x5c], 8
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov dword [esp + 0xac], 0xffffffff
jb 0x4e133a
push dword [esp + 0x48]
call fcn.0047d4a0
add esp, 4
cmp esi, edi
jne 0x4e0ca0
mov ebx, dword [esp + 0xb4]
mov esi, dword [ebx + 0x24]
mov eax, dword [esi]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x4e152c
lea ebx, [ebx]
xor ecx, ecx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], cx
movzx ecx, word [eax + 0x10]
mov dword [esp + 0xac], 2
test cx, cx
je 0x4e1405
mov ax, word [eax + 0xe]
mov word [esp + 0x90], ax
xor eax, eax
mov word [esp + 0x94], ax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
mov word [esp + 0x96], cx
push eax
jmp 0x4e140d
cmp dword [esp + 0x44], 8
jb 0x4e13d4
push dword [esp + 0x30]
call fcn.0047d4a0
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
cmp dword [esp + 0x5c], 8
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
jb 0x4e13fe
push dword [esp + 0x48]
call fcn.0047d4a0
add esp, 4
xor eax, eax
jmp 0x4e153a
lea ecx, [eax + 0xe]
lea eax, [ecx + 2]
push eax
push ecx
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x68]
push eax
call fcn.004eef00
mov edi, eax
lea eax, [esp + 0x78]
cmp eax, edi
je 0x4e145d
cmp dword [esp + 0x8c], 8
jb 0x4e143a
push dword [esp + 0x78]
call fcn.0047d4a0
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], 7
push edi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
call fcn.0042ffd0
cmp dword [esp + 0x74], 8
jb 0x4e1470
push dword [esp + 0x60]
call fcn.0047d4a0
add esp, 4
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4e1564
mov ebx, dword [ebp]
lea ecx, [eax*2 + 2]
add ebx, 0x134
mov dword [esp + 0x18], ecx
mov eax, dword [ebx]
mov edx, dword [ebx + 8]
sub eax, edx
cmp eax, ecx
jae 0x4e14ae
sub edx, dword [ebx + 4]
add edx, ecx
mov ecx, ebx
call fcn.005032a0
mov ecx, dword [esp + 0x18]
mov edi, dword [ebx + 8]
lea eax, [edi + ecx]
mov dword [ebx + 8], eax
lea eax, [esp + 0x78]
push eax
mov ecx, eax
call fcn.00431030
mov ecx, dword [esp + 0x8c]
lea eax, [eax + ecx*2]
push eax
lea ecx, [esp + 0x2c]
call fcn.004277d0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x7c]
call fcn.004320c0
push edi
push dword [esp + 0x28]
push dword [eax]
call fcn.004dc0f0
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.004347c0
xor ecx, ecx
mov word [edi + eax*2], cx
lea ecx, [esp + 0x14]
call fcn.004f4ae0
lea ecx, [esp + 0x78]
mov dword [esp + 0xac], 0xffffffff
call fcn.00429c90
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x4e1360
push dword [esp + 0x2c]
mov ecx, ebp
call fcn.004f9ca0
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0049f3ce
add esp, 0x9c
ret 8
lea ecx, [esp + 0x78]
call fcn.00429c90
xor eax, eax
jmp 0x4e153a