Function at 0x659040c0
Capabilities:
Parse pe header

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], edx
movzx edx, byte [eax]
cmp dl, 0x57
jne 0x6590447d
mov dword [esp + 0x18], ebp
jmp 0x65904145
mov eax, ebx
call sym._d_source_name
mov ecx, 0x53
mov edx, eax
test edx, edx
je 0x65904170
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jge 0x65904170
mov esi, dword [ebx + 0x10]
lea ebp, [eax + eax*4]
add eax, 1
lea esi, [esi + ebp*4]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x20]
mov dword [esi], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edx
cmp eax, dword [ebx + 0x24]
jge 0x65904170
mov edx, dword [ebx + 0x1c]
mov dword [edx + eax*4], esi
add eax, 1
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0xc]
cmp byte [eax], 0x57
jne 0x65904180
mov edi, esi
lea edx, [eax + 1]
mov dword [ebx + 0xc], edx
cmp byte [eax + 1], 0x50
jne 0x659040e8
add eax, 2
mov dword [ebx + 0xc], eax
mov eax, ebx
call sym._d_source_name
mov ecx, 0x54
mov edx, eax
test edx, edx
jne 0x659040fa
lea esi, [esi]
xor ebp, ebp
jmp 0x65904323
mov ebp, dword [esp + 0x18]
movzx edx, byte [eax]
mov dword [esp + 0x1c], esi
lea ecx, [edx - 0x30]
cmp cl, 9
jbe 0x659042d8
lea ecx, [edx - 0x61]
cmp cl, 0x19
ja 0x65904220
mov edi, dword [ebx + 0x30]
cmp dl, 0x6f
je 0x6590432d
mov eax, ebx
call dbg.d_operator_name
mov dword [ebx + 0x30], edi
mov ebp, eax
test eax, eax
je case.0x6590437b.3
cmp dword [eax], 0x32
jne 0x659042e1
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0x2c]
mov edx, dword [eax + 8]
mov eax, dword [eax]
lea edx, [ecx + edx + 7]
mov dword [ebx + 0x2c], edx
cmp byte [eax], 0x6c
jne 0x659042e1
cmp byte [eax + 1], 0x69
jne 0x659042e1
cmp byte [eax + 2], 0
jne 0x659042e1
mov eax, ebx
call sym._d_source_name
mov ecx, ebp
mov edx, 0x37
mov dword [esp], eax
mov eax, ebx
call sym._d_make_comp
mov ebp, eax
jmp 0x659042e1
cmp dl, 0x44
je 0x65904349
lea ecx, [edx - 0x43]
cmp cl, 1
jbe 0x659044cf
cmp dl, 0x4c
je 0x65904450
cmp dl, 0x55
jne 0x65904170
movzx edx, byte [eax + 1]
cmp dl, 0x6c
je 0x6590456f
cmp dl, 0x74
jne 0x65904170
lea edx, [eax + 1]
mov dword [ebx + 0xc], edx
cmp byte [eax + 1], 0x74
jne case.0x6590437b.3
add eax, 2
mov dword [ebx + 0xc], eax
mov eax, ebx
call sym._d_compact_number
mov edx, eax
test eax, eax
js case.0x6590437b.3
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jge case.0x6590437b.3
mov ecx, dword [ebx + 0x10]
lea edi, [eax + eax*4]
add eax, 1
lea ebp, [ecx + edi*4]
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp], 0x49
mov dword [ebp + 0xc], edx
cmp eax, dword [ebx + 0x24]
jge case.0x6590437b.3
mov edx, dword [ebx + 0x1c]
mov dword [edx + eax*4], ebp
add eax, 1
mov dword [ebx + 0x20], eax
jmp 0x659042e1
mov eax, ebx
call sym._d_source_name
mov ebp, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x659042fc
mov dword [esp], eax
mov ecx, ebp
mov edx, 0x55
mov eax, ebx
call sym._d_make_comp
mov ebp, eax
mov eax, dword [ebx + 0xc]
cmp byte [eax], 0x42
je 0x659043a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x65904323
mov dword [esp], ebp
mov ecx, eax
mov edx, 1
mov eax, ebx
call sym._d_make_comp
mov ebp, eax
add esp, 0x3c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [eax + 1], 0x6e
jne 0x659041af
add eax, 2
mov dword [ebx + 0x30], 0
mov dword [ebx + 0xc], eax
jmp 0x659041af
movzx edx, byte [eax + 1]
cmp dl, 0x43
je 0x65904486
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x65904370
mov edi, dword [ecx]
test edi, edi
je 0x659044e1
cmp edi, 0x18
je 0x659044e1
sub edx, 0x30
cmp dl, 5
ja case.0x6590437b.3
movzx edx, dl
jmp dword [edx*4 + 0x65a29480]
mov eax, ebx
call dbg.d_parmlist
mov edi, eax
test eax, eax
jne 0x65904665
lea esi, [esi]
nop
xor ebp, ebp
jmp 0x659042e1
mov esi, dword [ebx + 0x28]
lea esi, [esi]
nop
add eax, 1
mov dword [ebx + 0xc], eax
mov eax, ebx
call sym._d_source_name
mov ecx, ebp
mov edx, 0x4d
mov dword [esp], eax
mov eax, ebx
call sym._d_make_comp
mov ebp, eax
mov eax, dword [ebx + 0xc]
cmp byte [eax], 0x42
je 0x659043a8
mov dword [ebx + 0x28], esi
jmp 0x65904308
mov edx, 5
add eax, 2
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jge case.0x6590437b.3
mov esi, dword [ebx + 0x10]
lea edi, [eax + eax*4]
add eax, 1
lea ebp, [esi + edi*4]
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebx + 0x14], eax
test ecx, ecx
je case.0x6590437b.3
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp], 8
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], ecx
jmp 0x659042e1
mov edx, 4
jmp 0x659043dd
mov edx, 3
jmp 0x659043dd
mov edx, 2
jmp 0x659043dd
mov edx, 1
jmp 0x659043dd
add eax, 1
mov dword [ebx + 0xc], eax
mov eax, ebx
call sym._d_source_name
mov ebp, eax
test eax, eax
je 0x65904170
mov eax, ebx
call dbg.d_discriminator
test eax, eax
jne 0x659042e1
xor ebp, ebp
jmp 0x65904323
mov dword [esp + 0x1c], ecx
jmp 0x6590418b
add eax, 2
xor esi, esi
mov dword [ebx + 0xc], eax
jmp 0x659044a7
mov dword [edi + 0x10], eax
test esi, esi
je case.0x6590437b.3
mov eax, dword [ebx + 0xc]
cmp byte [eax], 0x45
je 0x659046dd
mov eax, ebx
mov edi, esi
call sym._d_source_name
mov dword [esp], 0
mov edx, 0x52
mov ecx, eax
mov eax, ebx
call sym._d_make_comp
mov esi, eax
test edi, edi
jne 0x65904490
mov ebp, eax
jmp 0x65904493
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x659044f3
mov edx, dword [ecx]
test edx, edx
je 0x659044e1
cmp edx, 0x18
jne 0x659044f3
mov edx, dword [ecx + 0x10]
add dword [ebx + 0x2c], edx
movzx edx, byte [eax]
cmp dl, 0x43
jne 0x659046e8
movzx esi, byte [eax + 1]
mov edx, esi
cmp dl, 0x49
je 0x6590478a
lea edi, [esi - 0x31]
mov edx, edi
cmp dl, 4
ja case.0x6590437b.3
add eax, 2
mov edx, esi
mov dword [ebx + 0xc], eax
movsx edx, dl
sub edx, 0x30
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jge case.0x6590437b.3
mov esi, dword [ebx + 0x10]
lea edi, [eax + eax*4]
add eax, 1
lea ebp, [esi + edi*4]
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebx + 0x14], eax
test ecx, ecx
je case.0x6590437b.3
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp], 7
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], ecx
jmp 0x659042e1
lea edx, [eax + 1]
mov dword [ebx + 0xc], edx
cmp byte [eax + 1], 0x6c
jne case.0x6590437b.3
lea edx, [eax + 2]
mov dword [esp + 0x24], 0
lea ebp, [esp + 0x28]
mov dword [ebx + 0xc], edx
cmp byte [eax + 2], 0x54
mov dword [esp + 0x28], 0
jne 0x65904382
movzx eax, byte [edx + 1]
cmp al, 0x74
je 0x65904717
jg 0x659046c3
cmp al, 0x6e
je 0x659046fa
cmp al, 0x70
jne 0x65904620
add edx, 2
mov eax, ebx
mov dword [ebx + 0xc], edx
lea edx, [esp + 0x24]
call sym._d_template_parm
mov ecx, eax
test eax, eax
je 0x6590477d
mov esi, 0x5b
mov edx, dword [ebx + 0x14]
cmp edx, dword [ebx + 0x18]
jge 0x65904620
mov eax, dword [ebx + 0x10]
lea edi, [edx + edx*4]
add edx, 1
lea eax, [eax + edi*4]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebx + 0x14], edx
mov edx, dword [ebx + 0xc]
mov dword [eax], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov dword [ebp], eax
cmp byte [edx], 0x54
lea ebp, [eax + 0x10]
je 0x659045a3
mov edi, dword [esp + 0x28]
test edi, edi
je 0x6590463f
mov dword [esp], 0
mov ecx, edi
mov edx, 0x57
mov eax, ebx
call sym._d_make_comp
mov edi, eax
mov eax, dword [esp + 0x24]
test eax, eax
jne case.0x6590437b.3
mov eax, ebx
call dbg.d_parmlist
test eax, eax
je case.0x6590437b.3
test edi, edi
je 0x659047c0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0xc]
cmp byte [eax], 0x45
jne case.0x6590437b.3
add eax, 1
mov dword [ebx + 0xc], eax
mov eax, ebx
call sym._d_compact_number
mov edx, eax
test eax, eax
js case.0x6590437b.3
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jge case.0x6590437b.3
mov esi, dword [ebx + 0x10]
lea ecx, [eax + eax*4]
add eax, 1
lea ebp, [esi + ecx*4]
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebx + 0x14], eax
mov dword [ebp], 0x47
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], edx
jmp 0x659042e1
cmp al, 0x79
jne 0x65904620
add edx, 2
xor ecx, ecx
mov esi, 0x58
mov dword [ebx + 0xc], edx
jmp 0x659045e1
add eax, 1
mov dword [ebx + 0xc], eax
jmp 0x659042e1
cmp dl, 0x44
jne case.0x6590437b.3
movzx edx, byte [eax + 1]
jmp 0x65904370
add edx, 2
mov eax, ebx
mov dword [ebx + 0xc], edx
call dbg.d_type
mov ecx, eax
test eax, eax
je 0x6590477d
mov esi, 0x59
jmp 0x659045e1
add edx, 2
mov dword [esp + 0x2c], 0
lea esi, [esp + 0x2c]
mov dword [ebx + 0xc], edx
jmp 0x65904735
mov dword [esi], eax
lea esi, [eax + 0x10]
lea edx, [esp + 0x24]
mov eax, ebx
call sym._d_template_parm
test eax, eax
jne 0x65904730
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x6590477d
mov dword [esp], 0
mov edx, 0x57
mov eax, ebx
call sym._d_make_comp
mov ecx, eax
test eax, eax
je 0x6590477d
mov eax, dword [ebx + 0xc]
cmp byte [eax], 0x45
jne 0x6590477d
add eax, 1
mov esi, 0x5a
mov dword [ebx + 0xc], eax
jmp 0x659045e1
mov dword [esp + 0x24], 1
jmp 0x65904620
lea edx, [eax + 1]
mov dword [ebx + 0xc], edx
movsx edx, byte [eax + 2]
lea ecx, [edx - 0x31]
cmp cl, 4
ja case.0x6590437b.3
add eax, 3
sub edx, 0x30
mov dword [ebx + 0xc], eax
mov eax, ebx
mov dword [esp + 0x18], edx
call dbg.d_type
mov ecx, dword [ebx + 0x28]
mov edx, dword [esp + 0x18]
jmp 0x6590451e
mov edi, eax
jmp 0x65904665