Function at 0x5e1880
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6240d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
push 0x12
push 0x137
mov ebx, ecx
mov ecx, dword [ebp + 0x18]
push 0x12a
push eax
push ecx
mov ecx, ebx
mov dword [ebp - 0x18], ebx
call fcn.0041af90
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
mov dword [ebx + 0x5c], edx
mov eax, dword [eax + ecx*4 + 0x1c]
mov dl, byte [ebp + 0x2b]
lea ecx, [ebx + 0x68]
mov dword [ebx + 0x60], eax
push 0
mov dword [ebp - 4], 0
mov byte [ecx], dl
call fcn.00404140
mov al, byte [ebp + 0x2b]
lea ecx, [ebx + 0x7c]
push 0
mov byte [ebp - 4], 1
mov byte [ecx], al
call fcn.00404140
mov al, byte [ebp + 0x28]
test al, al
mov byte [ebp - 4], 2
mov byte [ebx + 0x92], al
mov dword [ebx], method.7.virtual_44
jne 0x5e169e
mov dword [ebp + 0x20], 0xffffffff
mov byte [ebp + 0x24], al
mov eax, dword [ebx + 0x5c]
mov ecx, dword [ebp + 0x20]
lea edx, [eax*8]
mov dword [ebx + 0x8c], ecx
mov ecx, dword [case.0x5b5eb3.158]
sub edx, eax
lea eax, [eax + edx*4]
lea esi, [ecx + eax*4]
mov eax, dword [ebx + 0x34]
test eax, eax
mov dword [ebp + 0x18], esi
mov ecx, 0x1d
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x30]
je 0x5e16e6
mov edx, dword [esi + 0xc]
sub edx, eax
sar edx, 2
cmp edx, 0x1c
jae 0x5e1754
push 0x70
call fcn.00604401
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x1c], eax
mov eax, dword [esi + 8]
add esp, 4
cmp edi, eax
mov dword [ebp - 0x14], eax
je 0x5e1720
mov ecx, dword [ebp + 0x1c]
mov edx, edi
call fcn.00404ba0
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x14]
add edx, 4
add edi, 4
cmp edi, eax
mov dword [ebp + 0x1c], edx
jne 0x5e1703
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00404190
mov eax, dword [esi + 4]
push eax
call fcn.005f8040
mov edi, dword [ebp - 0x10]
lea edx, [edi + 0x70]
add esp, 4
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.00509c00
lea eax, [edi + eax*4]
mov dword [esi + 8], eax
mov dword [esi + 4], edi
push 0x30
call fcn.00604401
add esp, 4
mov dword [ebp + 0x1c], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x5e1792
push 0x800
push 0x671518
push 0xc8
push 0x137
push 0x12a
push 0
push 0
mov ecx, eax
call fcn.0044e690
mov dword [ebp + 0x1c], eax
jmp 0x5e1799
mov dword [ebp + 0x1c], 0
mov edi, dword [ebp + 0x10]
test edi, edi
mov byte [ebp - 4], 2
je 0x5e17b1
mov al, byte [edi + 0x22]
test al, al
jl 0x5e17b1
movsx ecx, al
push ecx
jmp 0x5e17bd
mov ecx, dword [0x67db18]
call fcn.004c5110
push eax
mov ecx, dword [ebp + 0x1c]
call fcn.0044e8a0
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x1c]
push ecx
push 1
push eax
mov ecx, esi
mov dword [ebp + 0x1c], edx
call fcn.004f9e20
mov eax, dword [ebx + 0x5c]
test eax, eax
jl 0x5e1805
cmp eax, 0x96
jg 0x5e1805
mov ecx, dword [case.0x5b5eb3.158]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov edx, dword [ecx + eax*4 + 0x18]
mov dword [ebp + 0x1c], edx
jmp 0x5e180c
mov dword [ebp + 0x1c], 0x676080
push 0x4c
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x5e184b
mov ecx, dword [ebp + 0x1c]
push 8
push 0
push 5
push 0xcb
push 7
push 0x64a178
push ecx
push 0x13
push 0x102
push 0x15
push 0x14
mov ecx, eax
call fcn.005aa840
jmp 0x5e184d
xor eax, eax
lea edx, [ebp + 0x10]
push edx
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004f9e20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + ecx*4 + 0x1c]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x9c]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.005e2aa0
test edi, edi
je 0x5e189b
mov eax, dword [ebx + 0x5c]
lea edx, [ebp - 0xa8]
push edx
push eax
mov ecx, edi
call fcn.004da730
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x54]
push ecx
push eax
mov ecx, ebx
call fcn.005e2d80
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x58]
push ecx
push eax
mov ecx, ebx
call fcn.005e3010
mov eax, dword [ebp - 0x44]
push eax
push eax
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, ebx
call fcn.005e3570
push edi
lea edx, [ebp - 0xa8]
push edx
mov ecx, ebx
call fcn.005e32a0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x4c]
push eax
push edx
mov ecx, ebx
call fcn.005e3810
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x50]
push eax
push edx
mov ecx, ebx
call fcn.005e3d30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push 0
push 0
push eax
push edi
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044a2d0
push 0x44
mov dword [ebx + 0x64], eax
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 5
je 0x5e1982
mov edx, dword [ebx + 0x64]
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x18], edx
push eax
lea edx, [ebp + 0x18]
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 0xfffffffd
mov dword [ebp + 0x1c], 3
call fcn.005e49f0
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
push 0x10
push 0
push 0
push 0
add eax, 3
push eax
push 0x67150c
push 0xdb
push 0x26
push 0x2a
push 0xbd
push 0x17
call fcn.004de6f0
jmp 0x5e1984
xor eax, eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004f9e20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x5c]
push 0
push 0
push 0
push edx
push edi
push eax
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
call fcn.0044a9a0
mov ecx, dword [0x6264b4]
push ecx
push 0
push eax
lea ecx, [ebx + 0x68]
mov byte [ebp - 4], 6
call fcn.00404650
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00404140
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 1
push 0
push edx
push edi
push eax
call fcn.0044a490
push 0x44
mov dword [ebx + 0x78], eax
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 7
je 0x5e1a61
mov ecx, dword [ebx + 0x78]
cmp ecx, 0xfffffffd
mov dword [ebp + 0xc], 0xfffffffd
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], 3
jge 0x5e1a2a
lea ecx, [ebp + 0xc]
jmp 0x5e1a35
cmp ecx, 3
lea ecx, [ebp + 0x1c]
jg 0x5e1a35
lea ecx, [ebp + 0x18]
mov ecx, dword [ecx]
push 0x10
push 0
push 0
push 0
add ecx, 3
push ecx
push str.hallnecr.def
push 0xdc
push 0x26
push 0x2a
push 0xbd
push 0x4d
mov ecx, eax
call fcn.004de6f0
jmp 0x5e1a63
xor eax, eax
lea ecx, [ebp + 0x10]
push ecx
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004f9e20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x5c]
push 0
push 0
push 0
push edx
push edi
push eax
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
call fcn.0044afa0
mov ecx, dword [0x6264b4]
push ecx
push 0
push eax
lea ecx, [ebx + 0x7c]
mov byte [ebp - 4], 8
call fcn.00404650
mov eax, dword [ebp - 0x24]
test eax, eax
mov byte [ebp - 4], 2
je 0x5e1ad7
lea ecx, [eax - 1]
mov al, byte [ecx]
test al, al
je 0x5e1ace
cmp al, 0xff
je 0x5e1ace
dec al
mov byte [ecx], al
jmp 0x5e1ad7
push ecx
call fcn.005f8040
add esp, 4
mov al, byte [ebp + 0x28]
test al, al
je 0x5e1ae5
mov ecx, ebx
call fcn.005e42a0
mov edi, dword [ebp + 0x20]
cmp edi, 0xffffffff
je 0x5e1afb
mov ecx, ebx
call fcn.005e4510
mov byte [ebx + 0x90], 1
mov al, byte [ebp + 0x24]
test al, al
je 0x5e1b12
mov ecx, ebx
call fcn.005e4780
mov byte [ebx + 0x91], 1
jmp 0x5e1b7c
cmp edi, 0xffffffff
jne 0x5e1b7c
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x5e1b7c
push 0x4c
call fcn.00604401
add esp, 4
mov dword [ebp + 0x24], eax
test eax, eax
mov byte [ebp - 4], 9
je 0x5e1b62
mov edx, dword [ebp - 0x8c]
push 8
push 0
push 0
push edi
push 4
push 0x64a178
push edx
push 0x29
push 0xc0
push 0xe8
push 0x14
mov ecx, eax
call fcn.005aa840
jmp 0x5e1b64
xor eax, eax
lea ecx, [ebp + 0x28]
push ecx
mov dword [ebp + 0x28], eax
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004f9e20
push 0x50
call fcn.00604401
add esp, 4
mov dword [ebp + 0x28], eax
test eax, eax
mov byte [ebp - 4], 0xa
je 0x5e1bbf
push 8
push 1
push 0xe0
push 1
push 0x6714f4
push 0x64a178
push 0
push 0x13
push 0x11c
push 0x11d
push 7
mov ecx, eax
call fcn.005aad20
jmp 0x5e1bc1
xor eax, eax
lea edx, [ebp + 0x28]
push edx
mov dword [ebx + 0xac], eax
mov dword [ebp + 0x28], eax
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004f9e20
or ecx, 0xffffffff
mov dword [ebx + 0x94], ecx
mov dword [ebx + 0x98], ecx
mov dword [ebx + 0x9c], ecx
mov esi, dword [ebx + 0x34]
cmp esi, dword [ebx + 0x38]
je 0x5e1c1d
mov eax, dword [esi]
test eax, eax
je 0x5e1c0e
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.005ec5b0
jmp 0x5e1c13
call fcn.004e7fe0
mov eax, dword [ebx + 0x38]
add esi, 4
cmp esi, eax
jne 0x5e1bfc
cmp edi, 0xffffffff
je 0x5e1c67
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x34]
push edx
push eax
mov edx, edi
call fcn.00540290
mov ecx, dword [0x6812a8]
xor eax, eax
lea edx, [ebp - 0x34]
add ecx, 0x9c
mov esi, dword [ecx]
cmp esi, dword [edx]
jl 0x5e1c59
inc eax
add ecx, 4
add edx, 4
cmp eax, 7
jl 0x5e1c45
jmp 0x5e1c67
push 8
push 0x12c
mov ecx, ebx
call fcn.005ec7d0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x24