Function at 0x180005a68
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
and dword [rdx], 0
cmp ecx, 7
jne 0x180005a7f
mov dword [rdx], ecx
xor eax, eax
jmp 0x18000613a
cmp ecx, 0xd
jne 0x180005a88
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x62
jne 0x180005a95
mov dword [rdx], 0x64
jmp 0x180005a78
cmp ecx, 0x63
jne 0x180005aa2
mov dword [rdx], 0x65
jmp 0x180005a78
cmp ecx, 0x44
jne 0x180005ab7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, 0x16
jmp 0x180006135
cmp ecx, 0x61
jne 0x180005ac4
mov dword [rdx], 0x66
jmp 0x180005a78
cmp ecx, 0xb
jne 0x180005acd
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x72
jne 0x180005ada
mov dword [rdx], 0x67
jmp 0x180005a78
cmp ecx, 0x438
je 0x180005aa7
cmp ecx, 0x43e
je 0x180005aa7
cmp ecx, 0x34
je 0x180005aa7
cmp ecx, 0x43d
je 0x180005aa7
cmp ecx, 9
jne 0x180005b03
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x4d
je 0x180005aa7
cmp ecx, 0x440
je 0x180005aa7
cmp ecx, 0x4a
jne 0x180005b20
mov dword [rdx], 0x68
jmp 0x180005a78
cmp ecx, 0x35
je 0x180005aa7
cmp ecx, 0x430
je 0x180005aa7
cmp ecx, 0x38
je 0x180005aa7
cmp ecx, 0x39
je 0x180005aa7
cmp ecx, 0x3b
je 0x180005aa7
cmp ecx, 0x10
jne 0x180005b58
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x7d
jne 0x180005b68
mov dword [rdx], 0x69
jmp 0x180005a78
cmp ecx, 0xa
jne 0x180005b74
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x2c
je 0x180005aa7
cmp ecx, 0x46
je 0x180005aa7
cmp ecx, 0x67
jne 0x180005b96
mov dword [rdx], 0x6a
jmp 0x180005a78
cmp ecx, 0x6f
jne 0x180005ba6
mov dword [rdx], 0x6b
jmp 0x180005a78
cmp ecx, 0x68
jne 0x180005bb6
mov dword [rdx], 0x6c
jmp 0x180005a78
cmp ecx, 0x23
jne 0x180005bc6
mov dword [rdx], 0x24
jmp 0x180005a78
cmp ecx, 0x59
jne 0x180005bd6
mov dword [rdx], 0x6d
jmp 0x180005a78
cmp ecx, 0x43b
je 0x180005aa7
cmp ecx, 0x21
jne 0x180005bee
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x49
je 0x180005aa7
cmp ecx, 0x7a
je 0x180005aa7
cmp ecx, 0x11
jne 0x180005c0c
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0xe
jne 0x180005c18
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x1b
jne 0x180005c24
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x437
je 0x180005aa7
cmp ecx, 0x70
je 0x180005aa7
cmp ecx, 0x71
jne 0x180005c49
mov dword [rdx], 0x6e
jmp 0x180005a78
cmp ecx, 0x2b
jne 0x180005c59
mov dword [rdx], 0x6f
jmp 0x180005a78
cmp ecx, 0x54
jne 0x180005c69
mov dword [rdx], 0x2a
jmp 0x180005a78
cmp ecx, 0x73
jne 0x180005c79
mov dword [rdx], 0x70
jmp 0x180005a78
cmp ecx, 4
jne 0x180005c85
mov dword [rdx], ecx
jmp 0x180005a78
mov ebx, 0x16
cmp ecx, ebx
jne 0x180005c95
mov dword [rdx], ebx
jmp 0x180005a78
cmp ecx, 5
jne 0x180005ca1
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x6a
jne 0x180005cb1
mov dword [rdx], 0x71
jmp 0x180005a78
cmp ecx, 0x15
jne 0x180005cbd
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x78
je 0x18000612f
cmp ecx, 0x7f
je 0x18000612f
cmp ecx, 0x81
je 0x18000612f
mov eax, 0x80
cmp ecx, eax
je 0x18000612f
cmp ecx, 0x33
je 0x18000612f
cmp ecx, 0x2d
je 0x18000612f
cmp ecx, 0x2e
je 0x18000612f
cmp ecx, 0x2f
je 0x18000612f
cmp ecx, 0x4f
je 0x18000612f
cmp ecx, 0x50
je 0x18000612f
cmp ecx, 0x53
je 0x18000612f
cmp ecx, 0x52
je 0x18000612f
cmp ecx, 0x51
je 0x18000612f
cmp ecx, 0x30
je 0x18000612f
cmp ecx, 0x28
jne 0x180005d52
mov dword [rdx], 0x72
jmp 0x180005a78
cmp ecx, 0x7c
je 0x18000612f
cmp ecx, 0x18
jne 0x180005d67
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x1f
jne 0x180005d73
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x5a
jne 0x180005d83
mov dword [rdx], 0x73
jmp 0x180005a78
cmp ecx, 0x48
je 0x18000612f
cmp ecx, 0x24
jne 0x180005d9c
mov dword [rdx], 0x26
jmp 0x180005a78
cmp ecx, 0x77
je 0x18000612f
cmp ecx, 0x439
je 0x18000612f
cmp ecx, 0x64
jne 0x180005dc1
mov dword [rdx], 0x74
jmp 0x180005a78
cmp ecx, 0x66
jne 0x180005dd1
mov dword [rdx], 0x75
jmp 0x180005a78
cmp ecx, 0x65
jne 0x180005de1
mov dword [rdx], 0x76
jmp 0x180005a78
cmp ecx, 0x17
jne 0x180005ded
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x37
je 0x18000612f
cmp ecx, 0x445
je 0x18000612f
cmp ecx, 0x69
jne 0x180005e12
mov dword [rdx], 0x77
jmp 0x180005a78
cmp ecx, 0x32
je 0x18000612f
cmp ecx, 0x3d
jne 0x180005e2b
mov dword [rdx], 0x78
jmp 0x180005a78
cmp ecx, 0x13
jne 0x180005e37
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 2
jne 0x180005e43
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 8
jne 0x180005e4f
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x7e
je 0x18000612f
cmp ecx, 0x25
jne 0x180005e68
mov dword [rdx], 0x27
jmp 0x180005a78
cmp ecx, 0x43
jne 0x180005e78
mov dword [rdx], 0x79
jmp 0x180005a78
cmp ecx, 0x7b
je 0x18000612f
cmp ecx, 0xc
jne 0x180005e8d
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x2a
jne 0x180005e9d
mov dword [rdx], 0x7a
jmp 0x180005a78
cmp ecx, 0x40
je 0x18000612f
cmp ecx, 0x41
je 0x18000612f
cmp ecx, 0x44f
je 0x18000612f
cmp ecx, 0x5c
jne 0x180005ecb
mov dword [rdx], 0x7b
jmp 0x180005a78
cmp ecx, 0x1c
jne 0x180005ed7
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x3f
jne 0x180005ee7
mov dword [rdx], 0x7c
jmp 0x180005a78
cmp ecx, 0x3c
jne 0x180005ef7
mov dword [rdx], 0x7d
jmp 0x180005a78
cmp ecx, 0x26
jne 0x180005f07
mov dword [rdx], 0x28
jmp 0x180005a78
cmp ecx, 0xf
je 0x18000612f
cmp ecx, 0x6b
jne 0x180005f20
mov dword [rdx], 0x7e
jmp 0x180005a78
cmp ecx, 0x14
jne 0x180005f2c
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x27
jne 0x180005f3c
mov dword [rdx], 0x29
jmp 0x180005a78
cmp ecx, 0x76
je 0x18000612f
cmp ecx, 0x83
jne 0x180005f58
mov dword [rdx], 0x7f
jmp 0x180005a78
cmp ecx, 0x58
jne 0x180005f64
mov dword [rdx], eax
jmp 0x180005a78
cmp ecx, 0x19
jne 0x180005f70
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x4c
je 0x18000612f
cmp ecx, 6
jne 0x180005f85
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x5f
jne 0x180005f95
mov dword [rdx], 0x82
jmp 0x180005a78
cmp ecx, 0x4b
jne 0x180005fa5
mov dword [rdx], 0x84
jmp 0x180005a78
cmp ecx, 0x82
jne 0x180005fb8
mov dword [rdx], 0x85
jmp 0x180005a78
cmp ecx, 1
jne 0x180005fc4
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x60
je 0x18000612f
cmp ecx, 0x20
jne 0x180005fd9
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x42b
je 0x18000612f
cmp ecx, 0x434
je 0x18000612f
cmp ecx, 0x433
je 0x18000612f
cmp ecx, 0x432
je 0x18000612f
cmp ecx, 0x47
jne 0x180006019
mov dword [rdx], 0x86
jmp 0x180005a78
cmp ecx, 0x5d
jne 0x180006029
mov dword [rdx], 0x87
jmp 0x180005a78
cmp ecx, 0x5b
jne 0x180006039
mov dword [rdx], 0x88
jmp 0x180005a78
cmp ecx, 0x43a
je 0x18000612f
cmp ecx, 0x22
jne 0x180006051
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x4e
je 0x18000612f
cmp ecx, 0x42
je 0x18000612f
cmp ecx, 0x79
je 0x18000612f
cmp ecx, 0x55
je 0x18000612f
cmp ecx, 0x1e
jne 0x180006081
mov dword [rdx], ecx
jmp 0x180005a78
cmp ecx, 0x431
je 0x18000612f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], ebx
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret