Function at 0x47f8f0
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4bce58
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x60], edi
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x8c], ebx
call fcn.004301e0
fld qword [edi]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x38], esp
sub esp, 8
fstp qword [esp]
push eax
mov byte [esp + 0xb4], 1
call fcn.004701f0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
push 3
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4c359c
mov byte [esp + 0xcc], 2
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.main
mov byte [esp + 0xe8], 3
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 1
call fcn.0046cf30
fld qword [edi + 8]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
sub esp, 8
fstp qword [esp]
push ecx
call fcn.004701f0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.mver
mov byte [esp + 0xcc], 4
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.main
mov byte [esp + 0xe8], 5
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 1
call fcn.0046cf30
mov eax, dword [edi + 0x10]
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x30], esp
push eax
push edx
call fcn.00470150
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.mcount
mov byte [esp + 0xcc], 6
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.main
mov byte [esp + 0xe8], 7
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 1
call fcn.0046cf30
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [edi + 0x6a58]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401cf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xa
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.displayver
mov byte [esp + 0xcc], 8
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.main
mov byte [esp + 0xe8], 9
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 1
call fcn.0046cf30
xor esi, esi
cmp dword [edi + 0x10], ebx
jle 0x480102
add edi, 0x20
jmp 0x47fb40
mov ecx, dword [edi - 8]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x30], esp
push ecx
push eax
call fcn.004700b0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x50], esp
push 2
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4c356c
mov byte [esp + 0xcc], 0xa
mov byte [ecx + 4], bl
call fcn.00401e90
lea edx, [esp + 0x58]
push esi
push edx
mov byte [esp + 0xcc], 0xb
call fcn.004700b0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4c3568
push ecx
mov byte [esp + 0xec], 0xc
call fcn.00426d90
add esp, 0xc
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 0xd
call fcn.0046cf30
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x8c], 1
jb 0x47fbdc
mov edx, dword [esp + 0x24]
push edx
call fcn.0048d433
add esp, 4
fld qword [edi]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x30], esp
sub esp, 8
fstp qword [esp]
push eax
call fcn.004701f0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
push 3
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4c359c
mov byte [esp + 0xcc], 0xe
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x58]
push esi
push ecx
mov byte [esp + 0xcc], 0xf
call fcn.004700b0
sub esp, 0x14
mov edx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4c3568
push edx
mov byte [esp + 0xec], 0x10
call fcn.00426d90
add esp, 0xc
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 0x11
call fcn.0046cf30
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x8c], 1
jb 0x47fc7c
mov eax, dword [esp + 0x24]
push eax
call fcn.0048d433
add esp, 4
mov edx, dword [edi - 4]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
push ecx
call fcn.004700b0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x50], esp
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.type
mov byte [esp + 0xcc], 0x12
mov byte [ecx + 4], bl
call fcn.00401e90
lea eax, [esp + 0x58]
push esi
push eax
mov byte [esp + 0xcc], 0x13
call fcn.004700b0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4c3568
push ecx
mov byte [esp + 0xec], 0x14
call fcn.00426d90
add esp, 0xc
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 0x15
call fcn.0046cf30
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x8c], 1
jb 0x47fd18
mov edx, dword [esp + 0x24]
push edx
call fcn.0048d433
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [edi + 8]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401cf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 5
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.fname
mov byte [esp + 0xcc], 0x16
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x58]
push esi
push ecx
mov byte [esp + 0xcc], 0x17
call fcn.004700b0
sub esp, 0x14
mov edx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4c3568
push edx
mov byte [esp + 0xec], 0x18
call fcn.00426d90
add esp, 0xc
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 0x19
call fcn.0046cf30
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x8c], 1
jb 0x47fdbf
mov eax, dword [esp + 0x24]
push eax
call fcn.0048d433
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [edi + 0x24]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401cf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.name
mov byte [esp + 0xcc], 0x1a
mov byte [ecx + 4], bl
call fcn.00401e90
lea eax, [esp + 0x58]
push esi
push eax
mov byte [esp + 0xcc], 0x1b
call fcn.004700b0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4c3568
push ecx
mov byte [esp + 0xec], 0x1c
call fcn.00426d90
add esp, 0xc
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 0x1d
call fcn.0046cf30
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x8c], 1
jb 0x47fe66
mov edx, dword [esp + 0x24]
push edx
call fcn.0048d433
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x40]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401cf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 3
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4c27fc
mov byte [esp + 0xcc], 0x1e
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x58]
push esi
push ecx
mov byte [esp + 0xcc], 0x1f
call fcn.004700b0
sub esp, 0x14
mov edx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4c3568
push edx
mov byte [esp + 0xec], 0x20
call fcn.00426d90
add esp, 0xc
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 0x21
call fcn.0046cf30
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x8c], 1
jb 0x47ff0d
mov eax, dword [esp + 0x24]
push eax
call fcn.0048d433
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [edi + 0x5c]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401cf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.path
mov byte [esp + 0xcc], 0x22
mov byte [ecx + 4], bl
call fcn.00401e90
lea eax, [esp + 0x58]
push esi
push eax
mov byte [esp + 0xcc], 0x23
call fcn.004700b0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4c3568
push ecx
mov byte [esp + 0xec], 0x24
call fcn.00426d90
add esp, 0xc
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 0x25
call fcn.0046cf30
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x8c], 1
jb 0x47ffb4
mov edx, dword [esp + 0x24]
push edx
call fcn.0048d433
add esp, 4
mov ecx, dword [edi + 0x78]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x30], esp
push ecx
push eax
call fcn.004700b0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.length
mov byte [esp + 0xcc], 0x26
mov byte [ecx + 4], bl
call fcn.00401e90
lea edx, [esp + 0x58]
push esi
push edx
mov byte [esp + 0xcc], 0x27
call fcn.004700b0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4c3568
push ecx
mov byte [esp + 0xec], 0x28
call fcn.00426d90
add esp, 0xc
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 0x29
call fcn.0046cf30
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x8c], 1
jb 0x480050
mov edx, dword [esp + 0x24]
push edx
call fcn.0048d433
add esp, 4
mov ecx, dword [edi + 0x7c]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x30], esp
push ecx
push eax
call fcn.004700b0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xe
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.isSpeciaUpdate
mov byte [esp + 0xcc], 0x2a
mov byte [ecx + 4], bl
call fcn.00401e90
lea edx, [esp + 0x58]
push esi
push edx
mov byte [esp + 0xcc], 0x2b
call fcn.004700b0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4c3568
push ecx
mov byte [esp + 0xec], 0x2c
call fcn.00426d90
add esp, 0xc
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 0x2d
call fcn.0046cf30
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x8c], 1
jb 0x4800ec
mov edx, dword [esp + 0x24]
push edx
call fcn.0048d433
add esp, 4
mov eax, dword [esp + 0x60]
add esi, 1
add edi, 0x88
cmp esi, dword [eax + 0x10]
jl 0x47fb40
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
lea ecx, [esp + 0x5c]
call fcn.0046afa0
lea edx, [esp + 0x80]
push edx
call fcn.0046f480
add esp, 0x20
lea ecx, [esp + 0x58]
mov byte [esp + 0x8c], 0x2e
call fcn.00469d90
push 0x40000000
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xc0]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0xbc], 0x2f
mov byte [ecx + 4], bl
call fcn.00401cf0
lea ecx, [esp + 0x7c]
call fcn.0046a400
cmp eax, ebx
mov esi, 0x10
je 0x480196
cmp dword [esp + 0x7c], esi
mov eax, dword [esp + 0x68]
jae 0x480187
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.00469da0
lea ecx, [esp + 0x58]
mov byte [esp + 0x8c], 0x2e
call fcn.0046a260
cmp dword [esp + 0x7c], esi
jb 0x4801ba
mov edx, dword [esp + 0x68]
push edx
call fcn.0048d433
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov byte [esp + 0x8c], bl
call fcn.00430260
cmp dword [esp + 0xac], esi
jb 0x4801ef
mov eax, dword [esp + 0x98]
push eax
call fcn.0048d433
add esp, 4
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0048de34
add esp, 0x7c
ret 0x1c