Function at 0x43ea30
Capabilities:
Authenticate hmac
Check for peb ntglobalflag flag
Check os version
Get number of processors
Get process heap flags
Get process heap force flags
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x49b221
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
push edi
mov esi, 1
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x428], esi
call fcn.0046eb50
lea eax, [esp + 0x42c]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x428], 2
call fcn.0046eb30
mov ebx, 3
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], bl
call fcn.0046eb50
mov byte [esp + 0x424], 4
mov dword [esp + 0x1c], 0x55
mov dword [esp + 0x20], 0x54
mov dword [esp + 0x24], 0x57
mov dword [esp + 0x28], 0x56
mov dword [esp + 0x2c], 0x51
mov dword [esp + 0x30], 0x50
mov dword [esp + 0x34], 0x53
mov dword [esp + 0x38], 0x52
mov dword [esp + 0x3c], 0x5d
mov dword [esp + 0x40], 0x5c
mov dword [esp + 0x44], 0x5f
mov dword [esp + 0x48], 0x5e
mov dword [esp + 0x4c], 0x59
mov dword [esp + 0x50], 0x58
mov dword [esp + 0x54], 0x5b
mov dword [esp + 0x58], 0x5a
mov dword [esp + 0x5c], 0x45
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x64], 0x47
mov dword [esp + 0x68], 0x46
mov dword [esp + 0x6c], 0x41
mov dword [esp + 0x70], 0x40
mov dword [esp + 0x74], 0x43
mov dword [esp + 0x78], 0x42
mov dword [esp + 0x7c], 0x4d
mov dword [esp + 0x80], 0x4c
mov dword [esp + 0x84], 0x4f
mov dword [esp + 0x88], 0x4e
mov dword [esp + 0x8c], 0x49
mov dword [esp + 0x90], 0x48
mov dword [esp + 0x94], 0x4b
mov dword [esp + 0x98], 0x4a
mov dword [esp + 0x9c], 0x75
mov dword [esp + 0xa0], 0x74
mov dword [esp + 0xa4], 0x77
mov dword [esp + 0xa8], 0x76
mov dword [esp + 0xac], 0x71
mov dword [esp + 0xb0], 0x70
mov dword [esp + 0xb4], 0x73
mov dword [esp + 0xb8], 0x72
mov dword [esp + 0xbc], 0x7d
mov dword [esp + 0xc0], 0x7c
mov dword [esp + 0xc4], 0x7f
mov dword [esp + 0xc8], 0x7e
mov dword [esp + 0xcc], 0x79
mov dword [esp + 0xd0], 0x78
mov dword [esp + 0xd4], 0x7b
mov dword [esp + 0xd8], 0x7a
mov dword [esp + 0xdc], 0x65
mov dword [esp + 0xe0], 0x64
mov dword [esp + 0xe4], 0x67
mov dword [esp + 0xe8], 0x66
mov dword [esp + 0xec], 0x61
mov dword [esp + 0xf0], 0x60
mov dword [esp + 0xf4], 0x63
mov dword [esp + 0xf8], 0x62
mov dword [esp + 0xfc], 0x6d
mov dword [esp + 0x100], 0x6c
mov dword [esp + 0x104], 0x6f
mov dword [esp + 0x108], 0x6e
mov dword [esp + 0x10c], 0x69
mov dword [esp + 0x110], 0x68
mov dword [esp + 0x114], 0x6b
mov dword [esp + 0x118], 0x6a
mov dword [esp + 0x11c], 0x15
mov dword [esp + 0x120], 0x14
mov dword [esp + 0x124], 0x17
mov dword [esp + 0x128], 0x16
mov dword [esp + 0x12c], 0x11
mov dword [esp + 0x130], 0x10
mov dword [esp + 0x134], 0x13
mov dword [esp + 0x138], 0x12
mov dword [esp + 0x13c], 0x1d
mov dword [esp + 0x140], 0x1c
mov dword [esp + 0x144], 0x1f
mov dword [esp + 0x148], 0x1e
mov dword [esp + 0x14c], 0x19
mov dword [esp + 0x150], 0x18
mov dword [esp + 0x154], 0x1b
mov dword [esp + 0x158], 0x1a
mov dword [esp + 0x15c], 5
mov dword [esp + 0x160], 4
mov dword [esp + 0x164], 7
mov dword [esp + 0x168], 6
mov dword [esp + 0x16c], esi
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], ebx
mov dword [esp + 0x178], 2
mov dword [esp + 0x17c], 0xd
mov dword [esp + 0x180], 0xc
mov dword [esp + 0x184], 0xf
mov dword [esp + 0x188], 0xe
mov dword [esp + 0x18c], 9
mov dword [esp + 0x190], 8
mov dword [esp + 0x194], 0xb
mov dword [esp + 0x198], 0xa
mov dword [esp + 0x19c], 0x35
mov dword [esp + 0x1a0], 0x34
mov dword [esp + 0x1a4], 0x37
mov dword [esp + 0x1a8], 0x36
mov dword [esp + 0x1ac], 0x31
mov dword [esp + 0x1b0], 0x30
mov dword [esp + 0x1b4], 0x33
mov dword [esp + 0x1b8], 0x32
mov dword [esp + 0x1bc], 0x3d
mov dword [esp + 0x1c0], 0x3c
mov dword [esp + 0x1c4], 0x3f
mov dword [esp + 0x1c8], 0x3e
mov dword [esp + 0x1cc], 0x39
mov dword [esp + 0x1d0], 0x38
mov dword [esp + 0x1d4], 0x3b
mov dword [esp + 0x1d8], 0x3a
mov dword [esp + 0x1dc], 0x25
mov dword [esp + 0x1e0], 0x24
mov dword [esp + 0x1e4], 0x27
mov dword [esp + 0x1e8], 0x26
mov dword [esp + 0x1ec], 0x21
mov dword [esp + 0x1f0], 0x20
mov dword [esp + 0x1f4], 0x23
mov dword [esp + 0x1f8], 0x22
mov dword [esp + 0x1fc], 0x2d
mov dword [esp + 0x200], 0x2c
mov dword [esp + 0x204], 0x2f
mov dword [esp + 0x208], 0x2e
mov dword [esp + 0x20c], 0x29
mov dword [esp + 0x210], 0x28
mov dword [esp + 0x214], 0x2b
mov dword [esp + 0x218], 0x2a
mov dword [esp + 0x21c], 0xd5
mov dword [esp + 0x220], 0xd4
mov dword [esp + 0x224], 0xd7
mov dword [esp + 0x228], 0xd6
mov dword [esp + 0x22c], 0xd1
mov dword [esp + 0x230], 0xd0
mov dword [esp + 0x234], 0xd3
mov dword [esp + 0x238], 0xd2
mov dword [esp + 0x23c], 0xdd
mov dword [esp + 0x240], 0xdc
mov dword [esp + 0x244], 0xdf
mov dword [esp + 0x248], 0xde
mov dword [esp + 0x24c], 0xd9
mov dword [esp + 0x250], 0xd8
mov dword [esp + 0x254], 0xdb
mov dword [esp + 0x258], 0xda
mov dword [esp + 0x25c], 0xc5
mov dword [esp + 0x260], 0xc4
mov dword [esp + 0x264], 0xc7
mov dword [esp + 0x268], 0xc6
mov dword [esp + 0x26c], 0xc1
mov dword [esp + 0x270], 0xc0
mov dword [esp + 0x274], 0xc3
mov dword [esp + 0x278], 0xc2
mov dword [esp + 0x27c], 0xcd
mov dword [esp + 0x280], 0xcc
mov dword [esp + 0x284], 0xcf
mov dword [esp + 0x288], 0xce
mov dword [esp + 0x28c], 0xc9
mov dword [esp + 0x290], 0xc8
mov dword [esp + 0x294], 0xcb
mov dword [esp + 0x298], 0xca
mov dword [esp + 0x29c], 0xf5
mov dword [esp + 0x2a0], 0xf4
mov dword [esp + 0x2a4], 0xf7
mov dword [esp + 0x2a8], 0xf6
mov dword [esp + 0x2ac], 0xf1
mov dword [esp + 0x2b0], 0xf0
mov dword [esp + 0x2b4], 0xf3
mov dword [esp + 0x2b8], 0xf2
mov dword [esp + 0x2bc], 0xfd
mov dword [esp + 0x2c0], 0xfc
mov dword [esp + 0x2c4], 0xff
mov dword [esp + 0x2c8], 0xfe
mov dword [esp + 0x2cc], 0xf9
mov dword [esp + 0x2d0], 0xf8
mov dword [esp + 0x2d4], 0xfb
mov dword [esp + 0x2d8], 0xfa
mov dword [esp + 0x2dc], 0xe5
mov dword [esp + 0x2e0], 0xe4
mov dword [esp + 0x2e4], 0xe7
mov dword [esp + 0x2e8], 0xe6
mov dword [esp + 0x2ec], 0xe1
mov dword [esp + 0x2f0], pe_nt_image_headers32
mov dword [esp + 0x2f4], 0xe3
mov dword [esp + 0x2f8], 0xe2
mov dword [esp + 0x2fc], 0xed
mov dword [esp + 0x300], 0xec
mov dword [esp + 0x304], 0xef
mov dword [esp + 0x308], 0xee
mov dword [esp + 0x30c], 0xe9
mov dword [esp + 0x310], 0xe8
mov dword [esp + 0x314], 0xeb
mov dword [esp + 0x318], 0xea
mov dword [esp + 0x31c], 0x95
mov dword [esp + 0x320], 0x94
mov dword [esp + 0x324], 0x97
mov dword [esp + 0x328], 0x96
mov dword [esp + 0x32c], 0x91
mov dword [esp + 0x330], 0x90
mov dword [esp + 0x334], 0x93
mov dword [esp + 0x338], 0x92
mov dword [esp + 0x33c], 0x9d
mov dword [esp + 0x340], 0x9c
mov dword [esp + 0x344], 0x9f
mov dword [esp + 0x348], 0x9e
mov dword [esp + 0x34c], 0x99
mov dword [esp + 0x350], 0x98
mov dword [esp + 0x354], 0x9b
mov dword [esp + 0x358], 0x9a
mov dword [esp + 0x35c], 0x85
mov dword [esp + 0x360], 0x84
mov dword [esp + 0x364], 0x87
mov dword [esp + 0x368], 0x86
mov dword [esp + 0x36c], 0x81
mov dword [esp + 0x370], 0x80
mov dword [esp + 0x374], 0x83
mov dword [esp + 0x378], 0x82
mov dword [esp + 0x37c], 0x8d
mov dword [esp + 0x380], 0x8c
mov dword [esp + 0x384], 0x8f
push ecx
mov dword [esp + 0x38c], 0x8e
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0
mov dword [esp + 0x394], 0x89
mov dword [esp + 0x398], 0x88
mov dword [esp + 0x39c], 0x8b
mov dword [esp + 0x3a0], 0x8a
mov dword [esp + 0x3a4], 0xb5
mov dword [esp + 0x3a8], 0xb4
mov dword [esp + 0x3ac], 0xb7
mov dword [esp + 0x3b0], 0xb6
mov dword [esp + 0x3b4], 0xb1
mov dword [esp + 0x3b8], 0xb0
mov dword [esp + 0x3bc], 0xb3
mov dword [esp + 0x3c0], 0xb2
mov dword [esp + 0x3c4], 0xbd
mov dword [esp + 0x3c8], 0xbc
mov dword [esp + 0x3cc], 0xbf
mov dword [esp + 0x3d0], 0xbe
mov dword [esp + 0x3d4], 0xb9
mov dword [esp + 0x3d8], 0xb8
mov dword [esp + 0x3dc], 0xbb
mov dword [esp + 0x3e0], 0xba
mov dword [esp + 0x3e4], 0xa5
mov dword [esp + 0x3e8], 0xa4
mov dword [esp + 0x3ec], 0xa7
mov dword [esp + 0x3f0], 0xa6
mov dword [esp + 0x3f4], 0xa1
mov dword [esp + 0x3f8], 0xa0
mov dword [esp + 0x3fc], 0xa3
mov dword [esp + 0x400], 0xa2
mov dword [esp + 0x404], 0xad
mov dword [esp + 0x408], 0xac
mov dword [esp + 0x40c], 0xaf
mov dword [esp + 0x410], 0xae
mov dword [esp + 0x414], 0xa9
mov dword [esp + 0x418], 0xa8
mov dword [esp + 0x41c], 0xab
mov dword [esp + 0x420], 0xaa
call fcn.0046eb50
lea ecx, [esp + 0x10]
call fcn.0046ee50
push 0
lea ecx, [esp + 0x10]
call fcn.0046efc0
lea ecx, [esp + 0x42c]
push ecx
lea ecx, [esp + 0x10]
call fcn.0046edf0
push esi
lea ecx, [esp + 0x10]
call fcn.0046efc0
push 0x4b63c8
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
cmp ax, si
je 0x43f629
lea ecx, [esp + 0xc]
mov byte [esp + 0x424], bl
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x424], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 1
call fcn.0046ec60
lea ecx, [esp + 0x42c]
mov byte [esp + 0x424], 0
call fcn.0046ec60
mov ebx, dword [esp + 0x434]
mov edi, dword [esp + 0x438]
cmp ebx, edi
mov dword [esp + 0x424], 0xffffffff
mov esi, ebx
je 0x43f8e8
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43f616
jmp 0x43f8e8
push 0
mov ecx, 0x4b63c8
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x14]
call fcn.0046ee50
lea ecx, [esp + 0x10]
call fcn.0046efe0
cmp ax, 5
jge 0x43f6d6
lea ecx, [esp + 0xc]
mov byte [esp + 0x424], bl
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x424], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 1
call fcn.0046ec60
lea ecx, [esp + 0x42c]
mov byte [esp + 0x424], 0
call fcn.0046ec60
mov ebx, dword [esp + 0x434]
mov edi, dword [esp + 0x438]
cmp ebx, edi
mov dword [esp + 0x424], 0xffffffff
mov esi, ebx
je 0x43f8e8
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43f6c3
jmp 0x43f8e8
push esi
lea ecx, [esp + 0x18]
call fcn.0046ee40
inc al
lea ecx, [esp + 0x14]
push eax
push esi
call fcn.0046ef60
push ebx
lea ecx, [esp + 0x14]
call fcn.0046ee40
mov dl, al
push 2
and edx, 0xff
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
call fcn.0046ee40
mov ecx, dword [esp + 0x18]
and eax, 0xff
xor ecx, eax
mov dl, byte [esp + ecx*4 + 0x1c]
lea ecx, [esp + 0x14]
push edx
call fcn.0046ee20
push 4
lea ecx, [esp + 0x14]
call fcn.0046ee40
mov dl, al
push 2
and edx, 0xff
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
call fcn.0046ee40
mov ecx, dword [esp + 0x18]
and eax, 0xff
xor ecx, eax
mov dl, byte [esp + ecx*4 + 0x1c]
lea ecx, [esp + 0x14]
push edx
call fcn.0046ee20
push 4
lea ecx, [esp + 0x14]
call fcn.0046ee40
mov dl, al
push ebx
and edx, 0xff
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
call fcn.0046ee40
mov ecx, dword [esp + 0x18]
and eax, 0xff
xor ecx, eax
mov dl, byte [esp + ecx*4 + 0x1c]
lea ecx, [esp + 0x14]
push edx
call fcn.0046ee20
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0
call fcn.0046eb50
lea ecx, [esp + 0x10]
call fcn.0046ee50
push 0
lea ecx, [esp + 0x10]
call fcn.0046efc0
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
call fcn.0046edf0
push 1
lea ecx, [esp + 0x10]
call fcn.0046efc0
push 0x4b63c8
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
cmp ax, 1
mov byte [esp + 0x424], bl
lea ecx, [esp + 0xc]
jne 0x43f880
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x424], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 1
call fcn.0046ec60
lea ecx, [esp + 0x42c]
mov byte [esp + 0x424], 0
call fcn.0046ec60
mov edi, dword [esp + 0x434]
mov ebx, dword [esp + 0x438]
cmp edi, ebx
mov dword [esp + 0x424], 0xffffffff
mov esi, edi
je 0x43f871
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, ebx
jne 0x43f863
push edi
call fcn.0048d500
add esp, 4
mov ax, 1
jmp 0x43f8f4
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x424], 2
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 1
call fcn.0046ec60
lea ecx, [esp + 0x42c]
mov byte [esp + 0x424], 0
call fcn.0046ec60
mov ebx, dword [esp + 0x434]
mov edi, dword [esp + 0x438]
cmp ebx, edi
mov dword [esp + 0x424], 0xffffffff
mov esi, ebx
je 0x43f8e8
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43f8da
push ebx
call fcn.0048d500
add esp, 4
xor ax, ax
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x41c
ret 0x14