Function at 0x425c50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4481cb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4630b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x110
push 0
push dword [ebp + 0x14]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00434f70
add esp, 0xc
cmp dword [0x467cd4], 0
jne 0x425cdb
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push dword [ebp + 8]
call fcn.004269e0
add esp, 8
test eax, eax
jne 0x425d03
mov eax, 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x467ce8]
mov eax, 0x5a4d
mov dword [ebp - 0x30], ecx
cmp word [ecx], ax
jne 0x425d33
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov ecx, 0x20b
cmp word [eax + 0x18], cx
jne 0x425d4f
mov edi, eax
mov dword [ebp - 0x24], edi
cmp dword [edi], 0x4550
je 0x425d5c
call fcn.00426960
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, eax
mov dword [ebp - 0x28], ebx
cmp dword [ebx], 0x4550
jmp 0x425d31
push 0x14
call fcn.00433cd0
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x425d8b
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
mov ecx, esi
call fcn.004298c0
mov esi, eax
mov dword [ebp - 0x20], eax
jmp 0x425d90
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x467ce4], esi
test esi, esi
jne 0x425db6
lea eax, [esi + 3]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x425df5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push dword [0x467ce8]
call fcn.00425950
add esp, 0x10
test eax, eax
jne 0x425e06
call fcn.00426960
mov eax, 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne 0x425e12
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 2
jmp 0x425dc7
mov esi, dword [0x467ce4]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov ebx, dword [0x467ce0]
xor edi, edi
cmp dword [ebx + 4], edi
jle 0x425f72
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx]
mov esi, dword [eax + edi*4]
test ecx, ecx
jne 0x425eb7
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x467ce8]
add eax, dword [ebp - 0x10]
push edx
push dword [esi + 0x518]
push dword [ebp - 0x14]
push eax
push dword [esi + 0x51c]
lea eax, [esi + 0x105]
push eax
call fcn.00426bd0
add esp, 0x1c
test eax, eax
je 0x425f59
push 0x108
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push eax
mov dword [0x467cdc], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [0x467cdc]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
push 1
mov dword [ecx + 0x104], eax
push dword [0x467cdc]
mov ecx, dword [0x467ce4]
push esi
call fcn.00429910
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x425f53
cmp ecx, 1
jne 0x425f5f
cmp byte [esi + 0x104], 0
jne 0x425f5f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x467ce8]
add eax, dword [ebp - 0x10]
push edx
push dword [esi + 0x518]
push dword [ebp - 0x14]
push eax
push dword [esi + 0x51c]
lea eax, [esi + 0x105]
push eax
call fcn.00426af0
add esp, 0x20
test eax, eax
je 0x425f59
push 0x108
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push eax
mov dword [0x467cdc], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [0x467cdc]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
push 1
mov dword [ecx + 0x104], eax
push dword [0x467cdc]
mov ecx, dword [0x467ce4]
push ebx
call fcn.00429910
inc ebx
mov dword [ebp - 0x1c], ebx
mov ebx, dword [0x467ce0]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
inc edi
cmp edi, dword [ebx + 4]
jl 0x425e26
mov esi, dword [0x467ce4]
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x425fd7
mov ecx, esi
call fcn.004298f0
push esi
call fcn.00433d21
mov ecx, dword [ebp - 0x30]
mov edx, 0x20b
mov dword [0x467ce4], 0
add esp, 4
mov eax, dword [ecx + 0x3c]
cmp word [eax + ecx + 0x18], dx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x24]
je 0x425fb1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x28]
mov dword [ecx + 0x108], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
push str.Unknown
push eax
mov dword [eax + 0x10c], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4260a0
xor edx, edx
dec eax
js 0x42600c
mov esi, dword [esi]
xor ebx, ebx
mov eax, dword [ebx + esi]
lea edi, [edx*4]
mov ecx, dword [edi + esi]
mov eax, dword [eax + 0x104]
cmp eax, dword [ecx + 0x104]
jae 0x426000
mov dword [ebp - 0x2c], edx
mov ebx, edi
mov eax, dword [ebp - 0x18]
inc edx
dec eax
cmp edx, eax
jle 0x425fe0
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp + 0x14]
mov esi, dword [eax + esi*4]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x30]
mov edx, 0x20b
mov eax, dword [esi + 0x104]
mov dword [ebx + 0x104], eax
mov eax, dword [ecx + 0x3c]
cmp word [eax + ecx + 0x18], dx
mov eax, dword [ebp - 0x24]
je 0x426043
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x108], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x10c], eax
mov esi, dword [0x467ce4]
mov edi, dword [esi + 4]
test edi, edi
je 0x426082
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi]
push dword [eax + edi*4 - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
mov esi, dword [0x467ce4]
dec edi
jne 0x426068
test esi, esi
je 0x426096
mov ecx, esi
call fcn.004298f0
push esi
call fcn.00433d21
add esp, 4
mov dword [0x467ce4], 0
call fcn.00426960
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret