Function at 0x404100
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 0x4044bd
mov dword [esp + 0x18], ebp
jmp 0x404185
mov eax, ebx
call sym._d_source_name
mov ecx, 0x53
mov edx, eax
test edx, edx
je 0x4041b0
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jge 0x4041b0
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 0x4041b0
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 0x4041c0
mov edi, esi
lea edx, [eax + 1]
mov dword [ebx + 0xc], edx
cmp byte [eax + 1], 0x50
jne 0x404128
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 0x40413a
lea esi, [esi]
xor ebp, ebp
jmp 0x404363
mov ebp, dword [esp + 0x18]
movzx edx, byte [eax]
mov dword [esp + 0x1c], esi
lea ecx, [edx - 0x30]
cmp cl, 9
jbe 0x404318
lea ecx, [edx - 0x61]
cmp cl, 0x19
ja 0x404260
mov edi, dword [ebx + 0x30]
cmp dl, 0x6f
je 0x40436d
mov eax, ebx
call dbg.d_operator_name
mov dword [ebx + 0x30], edi
mov ebp, eax
test eax, eax
je case.0x4043bb.3
cmp dword [eax], 0x32
jne 0x404321
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 0x404321
cmp byte [eax + 1], 0x69
jne 0x404321
cmp byte [eax + 2], 0
jne 0x404321
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 0x404321
cmp dl, 0x44
je 0x404389
lea ecx, [edx - 0x43]
cmp cl, 1
jbe 0x40450f
cmp dl, 0x4c
je 0x404490
cmp dl, 0x55
jne 0x4041b0
movzx edx, byte [eax + 1]
cmp dl, 0x6c
je 0x4045af
cmp dl, 0x74
jne 0x4041b0
lea edx, [eax + 1]
mov dword [ebx + 0xc], edx
cmp byte [eax + 1], 0x74
jne case.0x4043bb.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.0x4043bb.3
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jge case.0x4043bb.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.0x4043bb.3
mov edx, dword [ebx + 0x1c]
mov dword [edx + eax*4], ebp
add eax, 1
mov dword [ebx + 0x20], eax
jmp 0x404321
mov eax, ebx
call sym._d_source_name
mov ebp, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40433c
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 0x4043e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x404363
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 0x4041ef
add eax, 2
mov dword [ebx + 0x30], 0
mov dword [ebx + 0xc], eax
jmp 0x4041ef
movzx edx, byte [eax + 1]
cmp dl, 0x43
je 0x4044c6
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x4043b0
mov edi, dword [ecx]
test edi, edi
je 0x404521
cmp edi, 0x18
je 0x404521
sub edx, 0x30
cmp dl, 5
ja case.0x4043bb.3
movzx edx, dl
jmp dword [edx*4 + 0x520360]
mov eax, ebx
call dbg.d_parmlist
mov edi, eax
test eax, eax
jne 0x4046a5
lea esi, [esi]
nop
xor ebp, ebp
jmp 0x404321
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 0x4043e8
mov dword [ebx + 0x28], esi
jmp 0x404348
mov edx, 5
add eax, 2
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jge case.0x4043bb.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.0x4043bb.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 0x404321
mov edx, 4
jmp 0x40441d
mov edx, 3
jmp 0x40441d
mov edx, 2
jmp 0x40441d
mov edx, 1
jmp 0x40441d
add eax, 1
mov dword [ebx + 0xc], eax
mov eax, ebx
call sym._d_source_name
mov ebp, eax
test eax, eax
je 0x4041b0
mov eax, ebx
call dbg.d_discriminator
test eax, eax
jne 0x404321
xor ebp, ebp
jmp 0x404363
mov dword [esp + 0x1c], ecx
jmp 0x4041cb
add eax, 2
xor esi, esi
mov dword [ebx + 0xc], eax
jmp 0x4044e7
mov dword [edi + 0x10], eax
test esi, esi
je case.0x4043bb.3
mov eax, dword [ebx + 0xc]
cmp byte [eax], 0x45
je 0x40471d
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 0x4044d0
mov ebp, eax
jmp 0x4044d3
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x404533
mov edx, dword [ecx]
test edx, edx
je 0x404521
cmp edx, 0x18
jne 0x404533
mov edx, dword [ecx + 0x10]
add dword [ebx + 0x2c], edx
movzx edx, byte [eax]
cmp dl, 0x43
jne 0x404728
movzx esi, byte [eax + 1]
mov edx, esi
cmp dl, 0x49
je 0x4047ca
lea edi, [esi - 0x31]
mov edx, edi
cmp dl, 4
ja case.0x4043bb.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.0x4043bb.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.0x4043bb.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 0x404321
lea edx, [eax + 1]
mov dword [ebx + 0xc], edx
cmp byte [eax + 1], 0x6c
jne case.0x4043bb.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 0x4043c2
movzx eax, byte [edx + 1]
cmp al, 0x74
je 0x404757
jg 0x404703
cmp al, 0x6e
je 0x40473a
cmp al, 0x70
jne 0x404660
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 0x4047bd
mov esi, 0x5b
mov edx, dword [ebx + 0x14]
cmp edx, dword [ebx + 0x18]
jge 0x404660
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 0x4045e3
mov edi, dword [esp + 0x28]
test edi, edi
je 0x40467f
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.0x4043bb.3
mov eax, ebx
call dbg.d_parmlist
test eax, eax
je case.0x4043bb.3
test edi, edi
je 0x404800
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0xc]
cmp byte [eax], 0x45
jne case.0x4043bb.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.0x4043bb.3
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jge case.0x4043bb.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 0x404321
cmp al, 0x79
jne 0x404660
add edx, 2
xor ecx, ecx
mov esi, 0x58
mov dword [ebx + 0xc], edx
jmp 0x404621
add eax, 1
mov dword [ebx + 0xc], eax
jmp 0x404321
cmp dl, 0x44
jne case.0x4043bb.3
movzx edx, byte [eax + 1]
jmp 0x4043b0
add edx, 2
mov eax, ebx
mov dword [ebx + 0xc], edx
call dbg.d_type
mov ecx, eax
test eax, eax
je 0x4047bd
mov esi, 0x59
jmp 0x404621
add edx, 2
mov dword [esp + 0x2c], 0
lea esi, [esp + 0x2c]
mov dword [ebx + 0xc], edx
jmp 0x404775
mov dword [esi], eax
lea esi, [eax + 0x10]
lea edx, [esp + 0x24]
mov eax, ebx
call sym._d_template_parm
test eax, eax
jne 0x404770
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4047bd
mov dword [esp], 0
mov edx, 0x57
mov eax, ebx
call sym._d_make_comp
mov ecx, eax
test eax, eax
je 0x4047bd
mov eax, dword [ebx + 0xc]
cmp byte [eax], 0x45
jne 0x4047bd
add eax, 1
mov esi, 0x5a
mov dword [ebx + 0xc], eax
jmp 0x404621
mov dword [esp + 0x24], 1
jmp 0x404660
lea edx, [eax + 1]
mov dword [ebx + 0xc], edx
movsx edx, byte [eax + 2]
lea ecx, [edx - 0x31]
cmp cl, 4
ja case.0x4043bb.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 0x40455e
mov edi, eax
jmp 0x4046a5