Function at 0x4a9b30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d9a5
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x595be0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5762ec
lea ecx, [ebp - 0x20c]
call fcn.00428940
mov dword [ebp - 4], 0
push 0x57631c
lea ecx, [ebp - 0x204]
call fcn.00428940
mov byte [ebp - 4], 1
push 0x5762f8
lea ecx, [ebp - 0x1f8]
call fcn.00428940
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x1f8]
push edx
mov ecx, 0x59d250
call fcn.0042aad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f8]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x204]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20c]
call fcn.00428a40
mov ecx, 0x59d308
call fcn.0042d620
movzx eax, al
test eax, eax
je 0x4a9c97
push str.No_base_file_to_read_the_data_from
lea ecx, [ebp - 0x224]
call fcn.00428940
mov dword [ebp - 4], 3
push 0x5761c4
lea ecx, [ebp - 0x21c]
call fcn.00428940
mov byte [ebp - 4], 4
push 0x5762c8
lea ecx, [ebp - 0x214]
call fcn.00428940
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x214]
push eax
mov ecx, 0x59d250
call fcn.0042aad0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x214]
call fcn.00428a40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00428a40
jmp 0x4aa83a
lea ecx, [ebp - 0x190]
call fcn.0042a230
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.0043a710
mov byte [ebp - 4], 7
mov dword [ebp - 0x1b8], 0
push 0
push 0
push 0
push 0
push 1
push 3
push SysReAllocString
mov ecx, 0x59d308
call fcn.00402a70
push eax
lea ecx, [ebp - 0x258]
call fcn.0043a7c0
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
je 0x4a9dc9
lea ecx, [ebp - 0x1cc]
call fcn.0042a230
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1b8]
push ecx
mov edx, dword [0x59d308]
push edx
push str.readAdvDataFromExec_openFile__s__d
lea eax, [ebp - 0x1cc]
push eax
call fcn.0042a490
add esp, 0x10
lea ecx, [ebp - 0x1cc]
push ecx
lea ecx, [ebp - 0x190]
call fcn.0042d650
push 0x576434
lea ecx, [ebp - 0x1d8]
call fcn.00428940
mov byte [ebp - 4], 9
push 0x5763c4
lea ecx, [ebp - 0x22c]
call fcn.00428940
mov byte [ebp - 4], 0xa
push 2
lea edx, [ebp - 0x190]
push edx
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, 0x59d250
call fcn.0042aad0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x22c]
call fcn.00428a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1d8]
call fcn.00428a40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1cc]
call fcn.00428a40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.0043a770
jmp 0x4aa828
lea ecx, [ebp - 0x258]
call fcn.0042e900
mov dword [ebp - 0x1fc], eax
lea ecx, [ebp - 0x1c8]
call fcn.004395c0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x1fc]
push edx
lea ecx, [ebp - 0x1c8]
call fcn.00439610
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x1fc]
push edx
push 0
lea ecx, [ebp - 0x1c8]
call fcn.00439770
push eax
lea ecx, [ebp - 0x258]
call fcn.0043b180
movzx eax, al
test eax, eax
jne 0x4a9f48
lea ecx, [ebp - 0x1b0]
call fcn.0042a230
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x190]
call fcn.0042d620
movzx ecx, al
test ecx, ecx
je 0x4a9e6b
mov dword [ebp - 0x218], 0x5764b4
jmp 0x4a9e7c
lea ecx, [ebp - 0x190]
call fcn.00402a70
mov dword [ebp - 0x218], eax
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [0x59d308]
push eax
push str.readAdvDataFromExec_ReadBinaricFile__s__s
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.0042a490
add esp, 0x10
lea edx, [ebp - 0x1b0]
push edx
lea ecx, [ebp - 0x190]
call fcn.0042d650
push 0x57636c
lea ecx, [ebp - 0x208]
call fcn.00428940
mov byte [ebp - 4], 0xd
push 0x576348
lea ecx, [ebp - 0x1e0]
call fcn.00428940
mov byte [ebp - 4], 0xe
push 2
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x1e0]
push edx
mov ecx, 0x59d250
call fcn.0042aad0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e0]
call fcn.00428a40
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x208]
call fcn.00428a40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1b0]
call fcn.00428a40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c8]
call fcn.004395f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.0043a770
jmp 0x4aa828
push 0x40
push 0
lea eax, [ebp - 0x18c]
push eax
call fcn.00503b40
add esp, 0xc
push 0xf8
push 0
lea ecx, [ebp - 0x140]
push ecx
call fcn.00503b40
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
push 0
lea ecx, [ebp - 0x1c8]
call fcn.00439770
mov ecx, 0x10
mov esi, eax
lea edi, [ebp - 0x18c]
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebp - 0x18c]
cmp eax, 0x5a4d
je 0x4aa059
movzx ecx, word [ebp - 0x18c]
push ecx
push str.readAdvDataFromExec_ImageDosHeader__x
lea edx, [ebp - 0x190]
push edx
call fcn.0042a490
add esp, 0xc
push 0x576398
lea ecx, [ebp - 0x228]
call fcn.00428940
mov byte [ebp - 4], 0xf
push 0x576554
lea ecx, [ebp - 0x1e8]
call fcn.00428940
mov byte [ebp - 4], 0x10
push 2
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x1e8]
push edx
mov ecx, 0x59d250
call fcn.0042aad0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1e8]
call fcn.00428a40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x228]
call fcn.00428a40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c8]
call fcn.004395f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.0043a770
jmp 0x4aa828
push 0
lea ecx, [ebp - 0x1c8]
call fcn.00439770
add eax, dword [ebp - 0x150]
mov ecx, 0x3e
mov esi, eax
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x140], 0x4550
je 0x4aa130
mov eax, dword [ebp - 0x140]
push eax
push str.readAdvDataFromExec_ImageNtHeader__x
lea ecx, [ebp - 0x190]
push ecx
call fcn.0042a490
add esp, 0xc
push 0x5765e8
lea ecx, [ebp - 0x210]
call fcn.00428940
mov byte [ebp - 4], 0x11
push 0x5765c4
lea ecx, [ebp - 0x1f0]
call fcn.00428940
mov byte [ebp - 4], 0x12
push 2
lea edx, [ebp - 0x190]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1f0]
push ecx
mov ecx, 0x59d250
call fcn.0042aad0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1f0]
call fcn.00428a40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x210]
call fcn.00428a40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c8]
call fcn.004395f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.0043a770
jmp 0x4aa828
mov edx, 8
shl edx, 2
mov eax, dword [ebp + edx - 0xc8]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 0
jne 0x4aa21f
mov ecx, dword [ebp - 0x140]
push ecx
push str.readAdvDataFromExec_nosignuture
lea edx, [ebp - 0x190]
push edx
call fcn.0042a490
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push 0x5764b8
call fcn.00428940
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x190]
push eax
call fcn.0042ba30
add esp, 8
push 0x576528
lea ecx, [ebp - 0x220]
call fcn.00428940
mov byte [ebp - 4], 0x13
push 0x5764c4
lea ecx, [ebp - 0x1d0]
call fcn.00428940
mov byte [ebp - 4], 0x14
push 2
lea ecx, [ebp - 0x190]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x1d0]
push eax
mov ecx, 0x59d250
call fcn.0042aad0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1d0]
call fcn.00428a40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x220]
call fcn.00428a40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c8]
call fcn.004395f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.0043a770
jmp 0x4aa828
mov ecx, dword [ebp - 0x200]
sub ecx, 0xc
mov dword [ebp - 0x1d4], ecx
lea ecx, [ebp - 0x1a4]
call fcn.004395c0
mov byte [ebp - 4], 0x15
push 0xc
lea ecx, [ebp - 0x1a4]
call fcn.00439610
push 0
lea ecx, [ebp - 0x1c8]
call fcn.00439770
mov esi, eax
add esi, dword [ebp - 0x1d4]
push 0
lea ecx, [ebp - 0x1a4]
call fcn.00439770
mov edx, dword [esi]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
push 0
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx esi, byte [eax]
shl esi, 0x18
push 1
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx eax, byte [eax]
shl eax, 0x10
or esi, eax
push 2
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx ecx, byte [eax]
shl ecx, 8
or esi, ecx
push 3
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx edx, byte [eax]
or esi, edx
mov dword [ebp - 0x14c], esi
push 4
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx esi, byte [eax]
shl esi, 0x18
push 5
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx eax, byte [eax]
shl eax, 0x10
or esi, eax
push 6
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx ecx, byte [eax]
shl ecx, 8
or esi, ecx
push 7
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx edx, byte [eax]
or esi, edx
mov dword [ebp - 0x148], esi
push 8
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx esi, byte [eax]
shl esi, 0x18
push 9
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx eax, byte [eax]
shl eax, 0x10
or esi, eax
push 0xa
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx ecx, byte [eax]
shl ecx, 8
or esi, ecx
push 0xb
lea ecx, [ebp - 0x1a4]
call fcn.00439770
movzx edx, byte [eax]
or esi, edx
mov dword [ebp - 0x144], esi
cmp dword [ebp - 0x148], 1
jne 0x4aa74c
cmp dword [ebp - 0x144], 0x50545472
jne 0x4aa74c
mov eax, dword [ebp - 0x1d4]
sub eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1a8], eax
js 0x4aa3b8
cmp dword [ebp - 0x1a8], 0x2710
jle 0x4aa3fb
mov ecx, dword [ebp - 0x1a8]
push ecx
push str.readAdvDataFromExec_advSize_error__d
lea edx, [ebp - 0x190]
push edx
call fcn.0042a490
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push 0x5766e0
call fcn.00428940
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x190]
push eax
call fcn.0042ba30
add esp, 8
lea ecx, [ebp - 0x1a4]
call fcn.00439ed0
mov ecx, dword [ebp - 0x1a8]
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.00439610
mov edx, dword [ebp - 0x1a8]
push edx
push 0
lea ecx, [ebp - 0x1c8]
call fcn.00439770
add eax, dword [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00439750
push eax
push 0
lea ecx, [ebp - 0x1a4]
call fcn.00439770
push eax
call fcn.004ff11f
add esp, 0x10
mov byte [ebp - 0x1b9], 0
mov dword [ebp - 0x194], 0
push 0
lea ecx, [ebp - 0x268]
call fcn.00449980
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x194]
cmp eax, dword [ebp - 0x1a8]
jge 0x4aa685
mov ecx, dword [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.00439770
push eax
lea ecx, [ebp - 0x198]
call fcn.004ac320
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x198]
call fcn.0042d620
movzx edx, al
test edx, edx
je 0x4aa4d1
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x198]
call fcn.00428a40
jmp 0x4aa685
lea ecx, [ebp - 0x198]
call fcn.00429940
mov ecx, dword [ebp - 0x194]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x194]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00439770
push eax
lea ecx, [ebp - 0x1ac]
call fcn.004ac320
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1ac]
call fcn.0042d620
movzx ecx, al
test ecx, ecx
je 0x4aa5f8
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x198]
push eax
push str.readAdvDataFromExec_ReadParamsValueError__s__d
lea ecx, [ebp - 0x190]
push ecx
call fcn.0042a490
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push 0x5766ec
call fcn.00428940
mov dword [ebp - 0x274], eax
lea edx, [ebp - 0x190]
push edx
call fcn.0042ba30
add esp, 8
push 0x576638
lea ecx, [ebp - 0x1e4]
call fcn.00428940
mov byte [ebp - 4], 0x19
push 0x576614
lea ecx, [ebp - 0x1dc]
call fcn.00428940
mov byte [ebp - 4], 0x1a
push 2
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x1e4]
push ecx
lea edx, [ebp - 0x1dc]
push edx
mov ecx, 0x59d250
call fcn.0042aad0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x1dc]
call fcn.00428a40
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1e4]
call fcn.00428a40
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1ac]
call fcn.00428a40
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x198]
call fcn.00428a40
jmp 0x4aa685
lea ecx, [ebp - 0x1ac]
call fcn.00429940
mov ecx, dword [ebp - 0x194]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x194], edx
lea ecx, [ebp - 0x1ac]
call fcn.00439380
push eax
lea ecx, [ebp - 0x290]
call fcn.00449b90
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x198]
call fcn.00402a70
push eax
lea ecx, [ebp - 0x268]
call fcn.0044ac60
mov ecx, eax
call fcn.0044a0b0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x290]
call fcn.00449f60
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1ac]
call fcn.00428a40
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x198]
call fcn.00428a40
jmp 0x4aa477
lea ecx, [ebp - 0x190]
call fcn.0042d620
movzx ecx, al
test ecx, ecx
je 0x4aa738
lea ecx, [ebp - 0x30]
call fcn.0044f560
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.0044f5f0
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x238], ecx
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x238]
call fcn.0042a210
push eax
mov ecx, 0x59d310
call fcn.00428d70
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x48]
call fcn.00428900
mov ecx, 0x59d310
call fcn.00429940
sub eax, 1
push eax
mov ecx, 0x59d310
call fcn.00439190
movzx edx, ax
cmp edx, 0xa
jne 0x4aa72c
push 0
mov ecx, 0x59d310
call fcn.00429940
sub eax, 1
push eax
mov ecx, 0x59d310
call fcn.004ac2c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x30]
call fcn.0044ecc0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x268]
call fcn.00449f60
jmp 0x4aa7f3
lea ecx, [ebp - 0x1b4]
call fcn.0042a230
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
push str.no_valid_advData_version_d_marker_x
lea edx, [ebp - 0x1b4]
push edx
call fcn.0042a490
add esp, 0x10
push str.readAdvDataThreadFunc
lea ecx, [ebp - 0x1f4]
call fcn.00428940
mov byte [ebp - 4], 0x1f
push 0x576850
lea ecx, [ebp - 0x1ec]
call fcn.00428940
mov byte [ebp - 4], 0x20
push 0
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x1f4]
push ecx
lea edx, [ebp - 0x1ec]
push edx
mov ecx, 0x59d250
call fcn.0042aad0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x1ec]
call fcn.00428a40
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x1f4]
call fcn.00428a40
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1b4]
call fcn.00428a40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1a4]
call fcn.004395f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c8]
call fcn.004395f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.0043a770
xor eax, eax
jne 0x4a9ca9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x190]
call fcn.00428a40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fdc6a
mov esp, ebp
pop ebp
ret