Function at 0x506d28
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
call fcn.004306de
mov dword [ebp - 4], eax
mov eax, 0x648d0c
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0043c31a
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x506d61
push ebx
call fcn.0056ccec
add esp, 4
call fcn.0043ad8d
push 0x1f4
call fcn.00404726
call fcn.0043c90d
push 0x1f4
call fcn.00404726
cmp dword [ebp - 4], 0x1e
jl 0x506d9a
cmp dword [ebp - 4], 0x21
jg 0x506d9a
mov eax, 1
jmp 0x506d9c
xor eax, eax
test eax, eax
je 0x506dbf
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1438
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x22
jl 0x506dda
cmp dword [ebp - 4], 0x24
jg 0x506dda
mov eax, 1
jmp 0x506ddc
xor eax, eax
test eax, eax
je 0x506dff
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1439
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x25
jl 0x506e1a
cmp dword [ebp - 4], 0x27
jg 0x506e1a
mov eax, 1
jmp 0x506e1c
xor eax, eax
test eax, eax
je 0x506e3f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x143a
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x28
jl 0x506e5a
cmp dword [ebp - 4], 0x2b
jg 0x506e5a
mov eax, 1
jmp 0x506e5c
xor eax, eax
test eax, eax
je 0x506e7f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x143b
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x2c
jl 0x506e9a
cmp dword [ebp - 4], 0x2e
jg 0x506e9a
mov eax, 1
jmp 0x506e9c
xor eax, eax
test eax, eax
je 0x506ebf
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x143c
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x2f
jl 0x506eda
cmp dword [ebp - 4], 0x31
jg 0x506eda
mov eax, 1
jmp 0x506edc
xor eax, eax
test eax, eax
je 0x506eff
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x143d
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x32
jl 0x506f1a
cmp dword [ebp - 4], 0x35
jg 0x506f1a
mov eax, 1
jmp 0x506f1c
xor eax, eax
test eax, eax
je 0x506f3f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x143e
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x36
jl 0x506f5a
cmp dword [ebp - 4], 0x38
jg 0x506f5a
mov eax, 1
jmp 0x506f5c
xor eax, eax
test eax, eax
je 0x506f7f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x143f
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x39
jl 0x506f9a
cmp dword [ebp - 4], 0x3b
jg 0x506f9a
mov eax, 1
jmp 0x506f9c
xor eax, eax
test eax, eax
je 0x506fbf
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1440
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x3c
jl 0x506fda
cmp dword [ebp - 4], 0x3e
jg 0x506fda
mov eax, 1
jmp 0x506fdc
xor eax, eax
test eax, eax
je 0x506fff
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1441
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x3f
jl 0x50701a
cmp dword [ebp - 4], 0x41
jg 0x50701a
mov eax, 1
jmp 0x50701c
xor eax, eax
test eax, eax
je 0x50703f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1442
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x42
jl 0x50705a
cmp dword [ebp - 4], 0x43
jg 0x50705a
mov eax, 1
jmp 0x50705c
xor eax, eax
test eax, eax
je 0x50707f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1443
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x44
jl 0x50709a
cmp dword [ebp - 4], 0x45
jg 0x50709a
mov eax, 1
jmp 0x50709c
xor eax, eax
test eax, eax
je 0x5070bf
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1444
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x46
jl 0x5070da
cmp dword [ebp - 4], 0x48
jg 0x5070da
mov eax, 1
jmp 0x5070dc
xor eax, eax
test eax, eax
je 0x5070ff
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1445
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x49
jl 0x50711a
cmp dword [ebp - 4], 0x4b
jg 0x50711a
mov eax, 1
jmp 0x50711c
xor eax, eax
test eax, eax
je 0x50713f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1446
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x4c
jl 0x50715a
cmp dword [ebp - 4], 0x4d
jg 0x50715a
mov eax, 1
jmp 0x50715c
xor eax, eax
test eax, eax
je 0x50717f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1447
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x4e
jl 0x50719a
cmp dword [ebp - 4], 0x4f
jg 0x50719a
mov eax, 1
jmp 0x50719c
xor eax, eax
test eax, eax
je 0x5071bf
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1448
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x50
jl 0x5071da
cmp dword [ebp - 4], 0x52
jg 0x5071da
mov eax, 1
jmp 0x5071dc
xor eax, eax
test eax, eax
je 0x5071ff
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1449
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x53
jl 0x50721a
cmp dword [ebp - 4], 0x55
jg 0x50721a
mov eax, 1
jmp 0x50721c
xor eax, eax
test eax, eax
je 0x50723f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x144a
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x56
jl 0x50725a
cmp dword [ebp - 4], 0x57
jg 0x50725a
mov eax, 1
jmp 0x50725c
xor eax, eax
test eax, eax
je 0x50727f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x144b
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x58
jl 0x50729a
cmp dword [ebp - 4], 0x59
jg 0x50729a
mov eax, 1
jmp 0x50729c
xor eax, eax
test eax, eax
je 0x5072bf
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x144c
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x5a
jl 0x5072da
cmp dword [ebp - 4], 0x5c
jg 0x5072da
mov eax, 1
jmp 0x5072dc
xor eax, eax
test eax, eax
je 0x5072ff
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x144d
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x5d
jl 0x50731a
cmp dword [ebp - 4], 0x5f
jg 0x50731a
mov eax, 1
jmp 0x50731c
xor eax, eax
test eax, eax
je 0x50733f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x144e
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x60
jl 0x50735a
cmp dword [ebp - 4], 0x61
jg 0x50735a
mov eax, 1
jmp 0x50735c
xor eax, eax
test eax, eax
je 0x50737f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x144f
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x62
jl 0x50739a
cmp dword [ebp - 4], 0x63
jg 0x50739a
mov eax, 1
jmp 0x50739c
xor eax, eax
test eax, eax
je 0x5073bf
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x1450
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x64
jl 0x5073da
cmp dword [ebp - 4], 0x65
jg 0x5073da
mov eax, 1
jmp 0x5073dc
xor eax, eax
test eax, eax
je 0x5073ff
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x33a5
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x66
jl 0x50741a
cmp dword [ebp - 4], 0x67
jg 0x50741a
mov eax, 1
jmp 0x50741c
xor eax, eax
test eax, eax
je 0x50743f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x33a6
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x68
jl 0x50745a
cmp dword [ebp - 4], 0x69
jg 0x50745a
mov eax, 1
jmp 0x50745c
xor eax, eax
test eax, eax
je 0x50747f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x33a7
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x6a
jl 0x50749a
cmp dword [ebp - 4], 0x6b
jg 0x50749a
mov eax, 1
jmp 0x50749c
xor eax, eax
test eax, eax
je 0x5074bf
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x33a8
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x6c
jl 0x5074da
cmp dword [ebp - 4], 0x6d
jg 0x5074da
mov eax, 1
jmp 0x5074dc
xor eax, eax
test eax, eax
je 0x5074ff
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x33a9
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x6e
jl 0x50751a
cmp dword [ebp - 4], 0x6f
jg 0x50751a
mov eax, 1
jmp 0x50751c
xor eax, eax
test eax, eax
je 0x50753f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x33aa
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x70
jl 0x50755a
cmp dword [ebp - 4], 0x71
jg 0x50755a
mov eax, 1
jmp 0x50755c
xor eax, eax
test eax, eax
je 0x50757f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x33ab
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x72
jl 0x50759a
cmp dword [ebp - 4], 0x73
jg 0x50759a
mov eax, 1
jmp 0x50759c
xor eax, eax
test eax, eax
je 0x5075bf
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x33ac
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x74
jl 0x5075da
cmp dword [ebp - 4], 0x75
jg 0x5075da
mov eax, 1
jmp 0x5075dc
xor eax, eax
test eax, eax
je 0x5075ff
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x33ad
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x76
jl 0x50761a
cmp dword [ebp - 4], 0x77
jg 0x50761a
mov eax, 1
jmp 0x50761c
xor eax, eax
test eax, eax
je 0x50763f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x33ae
call fcn.0043f276
jmp 0x50787f
cmp dword [ebp - 4], 0x78
jl 0x50765a
cmp dword [ebp - 4], 0x79
jg 0x50765a
mov eax, 1
jmp 0x50765c
xor eax, eax
test eax, eax
je 0x5076d7
push 0x915f
call fcn.0043d668
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x50769b
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x4049
call fcn.0043f276
push 0x12c
call fcn.00404726
push 0x9160
call fcn.0043d668
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x5076d2
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x404a
call fcn.0043f276
push 0x12c
call fcn.00404726
jmp 0x50787f
cmp dword [ebp - 4], 0x7a
jl 0x5076f2
cmp dword [ebp - 4], 0x7c
jg 0x5076f2
mov eax, 1
jmp 0x5076f4
xor eax, eax
test eax, eax
je 0x50776f
push 0x915f
call fcn.0043d668
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x507733
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x404b
call fcn.0043f276
push 0x12c
call fcn.00404726
push 0x9160
call fcn.0043d668
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x50776a
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x404c
call fcn.0043f276
push 0x12c
call fcn.00404726
jmp 0x50787f
cmp dword [ebp - 4], 0x7d
jl 0x50778a
cmp dword [ebp - 4], 0x7e
jg 0x50778a
mov eax, 1
jmp 0x50778c
xor eax, eax
test eax, eax
je 0x507807
push 0x915f
call fcn.0043d668
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x5077cb
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x404e
call fcn.0043f276
push 0x12c
call fcn.00404726
push 0x9160
call fcn.0043d668
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x507802
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x404f
call fcn.0043f276
push 0x12c
call fcn.00404726
jmp 0x50787f
cmp dword [ebp - 4], 0x7f
jl 0x50787f
push 0x915f
call fcn.0043d668
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x507848
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x4050
call fcn.0043f276
push 0x12c
call fcn.00404726
push 0x9160
call fcn.0043d668
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x50787f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x4051
call fcn.0043f276
push 0x12c
call fcn.00404726
push 0x1f4
call fcn.00404726
call fcn.0043ad8d
push 0x64
call fcn.00404726
call fcn.0043c90d
call fcn.004396ab
mov dword [ebp - 8], eax
push 0x648cea
push dword [ebp - 8]
call fcn.00403231
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5078d3
push ebx
call fcn.0056ccec
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x507909
mov ebx, dword [0x774440]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x43898000
mov ebx, dword [0x774440]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x427c0000
call fcn.0043ea28
mov esp, ebp
pop ebp
ret