Function at 0x489db0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fafff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x33c
xor eax, eax
mov dword [ebp - 0x10], ecx
push esi
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 0
push edi
movlpd qword [ebp - 0x68], xmm0
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x48a396
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, esi
or eax, edi
je 0x48a396
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], fcn.004ce301
xor eax, eax
mov byte [ebp - 4], 2
push 0x3e
push eax
mov word [ebp - 0x140], ax
lea eax, [ebp - 0x13e]
push eax
call fcn.004d36e0
add esp, 0xc
mov byte [ebp - 0x248], 0
lea eax, [ebp - 0x247]
push 0x107
push 0
push eax
call fcn.004d36e0
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0xb0]
mov eax, dword fs:[0x18]
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0xb0], xmm0
mov ecx, dword [ecx + 4]
mov dword [eax + 0xbf4], 0
push edx
push 0x40
mov eax, dword [ecx + 0x4c]
lea edx, [ebp - 0x140]
push edx
push edi
push esi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, 0x5a4d
cmp word [ebp - 0x140], ax
je 0x489ee5
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push eax
call fcn.0048a460
lea ecx, [ebp - 0x68]
call fcn.0047aab0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x104]
xorps xmm0, xmm0
cdq
mov esi, eax
movlpd qword [ebp - 0xa8], xmm0
mov eax, dword [ebp + 0xc]
add esi, dword [eax]
mov ecx, esi
adc edx, dword [eax + 4]
or ecx, edx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 4]
mov eax, dword fs:[0x18]
jne 0x489f1f
mov dword [eax + 0xbf4], 0xc0000141
jmp 0x489f50
mov dword [eax + 0xbf4], 0
mov eax, dword [edi + 0x4c]
lea edi, [ebp - 0xa8]
push edi
push 0x108
lea edi, [ebp - 0x248]
mov ecx, dword [eax + 8]
push edi
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esp, [esp]
cmp dword [ebp - 0x248], 0x4550
jne 0x489ebc
mov ax, word [ebp - 0x230]
mov edx, 0x10b
mov esi, dword [ebp - 0x1c0]
cmp ax, dx
cmove esi, dword [ebp - 0x1d0]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x48a374
mov ecx, dword [ebp - 0x1bc]
cmp ax, dx
cmove ecx, dword [ebp - 0x1cc]
push ecx
mov dword [ebp - 0x14], ecx
call fcn.004cfcd9
mov edx, dword [ebp + 0xc]
mov edi, eax
push edi
push dword [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 0x20], edi
add ecx, dword [edx]
mov eax, 0
adc eax, dword [edx + 4]
push eax
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, dword [eax + 4]
call fcn.00482290
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
sub eax, esi
add eax, edi
sub ecx, esi
mov dword [ebp - 0x9c], eax
add ecx, edi
mov eax, dword [edi + 0x1c]
sub eax, esi
mov dword [ebp - 0xa4], ecx
add eax, edi
xor esi, esi
mov dword [ebp - 0xac], eax
cmp dword [edi + 0x14], esi
jbe 0x48a377
mov edx, dword [ebp + 0x10]
lea ebx, [ebx]
xor eax, eax
cmp edx, 0xffff
ja 0x48a00f
movzx ecx, si
jmp 0x48a02a
cmp esi, dword [edi + 0x18]
jae 0x48a33e
mov eax, dword [ebp - 0x9c]
movzx ecx, word [ecx + esi*2]
mov eax, dword [eax + esi*4]
sub eax, dword [ebp - 0x18]
add eax, edi
mov dword [ebp - 0x24], ecx
cmp edx, 0xffff
ja 0x48a1e4
movzx ecx, cx
add ecx, dword [edi + 0x10]
movzx eax, dx
cmp eax, ecx
jne 0x48a216
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp - 0xac]
mov edi, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
movzx eax, ax
mov esi, dword [esi + eax*4]
mov eax, dword [edi + 4]
add esi, edx
mov edi, dword [ebp - 0x20]
adc ecx, eax
mov dword [ebp - 0x68], esi
add edx, dword [ebp - 0x18]
mov dword [ebp + 0x10], ecx
adc eax, 0
mov dword [ebp - 0x64], ecx
cmp ecx, eax
jb 0x48a377
ja 0x48a08e
cmp esi, edx
jb 0x48a377
mov edx, dword [ebp + 0xc]
xor eax, eax
mov edi, dword [ebp - 0x14]
add edi, dword [edx]
mov dword [ebp - 0x14], edi
adc eax, dword [edx + 4]
mov edx, edi
add edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
adc eax, 0
cmp ecx, eax
ja 0x48a377
jb 0x48a0bb
cmp esi, edx
ja 0x48a377
push 0xfe
lea eax, [ebp - 0x347]
mov byte [ebp - 0x348], 0
push 0
push eax
call fcn.004d36e0
add esp, 8
lea eax, [ebp - 0x348]
push eax
push 0xff
push dword [ebp + 0x10]
push esi
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
call fcn.00482290
lea eax, [ebp - 0x348]
push eax
lea ecx, [ebp - 0xc8]
call fcn.004763c0
push ecx
push 0x535460
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 3
call fcn.0048aef0
push eax
push 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xc8]
call fcn.0048af30
push str..dll
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 4
push eax
call fcn.0048b950
add esp, 0xc
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 6
call fcn.00476a40
push 0xffffffffffffffff
push ecx
push 0x535470
lea ecx, [ebp - 0xc8]
call fcn.0048aef0
inc eax
lea ecx, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0048af30
push ecx
lea edx, [ebp - 0xe4]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.00480610
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x2e], 1
call fcn.0046b300
push ecx
push 0x53546c
lea ecx, [ebp - 0x80]
call fcn.0048aef0
test eax, eax
sete al
mov byte [ebp - 0x2d], al
test al, al
lea eax, [ebp - 0x80]
je 0x48a22b
cmp dword [ebp - 0x6c], 0x10
cmovae eax, dword [ebp - 0x80]
inc eax
push eax
call fcn.004d00ed
add esp, 4
mov word [ebp - 0x30], ax
jmp 0x48a238
mov ecx, edx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48a206
test dl, dl
je 0x48a202
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48a206
add eax, 2
add ecx, 2
test dl, dl
jne 0x48a1e6
xor eax, eax
jmp 0x48a20b
sbb eax, eax
or eax, 1
test eax, eax
je 0x48a04a
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xa4]
inc esi
cmp esi, dword [edi + 0x14]
jb 0x48a000
jmp 0x48a377
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x48]
call fcn.00475f50
push dword [ebp + 0x14]
xor eax, eax
mov ecx, 0x10b
cmp word [ebp - 0x230], cx
mov ecx, esi
setne al
push eax
push 0
lea eax, [ebp - 0x98]
push eax
call fcn.004898d0
mov edx, eax
test edx, edx
jne 0x48a29d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push eax
call fcn.0048a460
lea ecx, [ebp - 0x98]
call fcn.0046b210
lea ecx, [ebp - 0x80]
call fcn.00476a40
lea ecx, [ebp - 0xe4]
call fcn.00476a40
lea ecx, [ebp - 0xc8]
call fcn.00476a40
jmp 0x48a34a
cmp byte [ebp - 0x2d], 0
mov esi, dword [ebp + 8]
je 0x48a31c
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push eax
movzx eax, word [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
push eax
push edx
push esi
call fcn.00489db0
lea ecx, [ebp - 0x98]
call fcn.0046b210
lea ecx, [ebp - 0x80]
call fcn.00476a40
lea ecx, [ebp - 0xe4]
call fcn.00476a40
lea ecx, [ebp - 0xc8]
call fcn.00476a40
mov byte [ebp - 4], 0
push edi
call fcn.004ce301
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.0047aab0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x80]
cmovae ecx, dword [ebp - 0x98]
cmp dword [ebp - 0x6c], 0x10
push ecx
cmovae eax, dword [ebp - 0x80]
jmp 0x48a2bf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push eax
call fcn.0048a460
push edi
mov byte [ebp - 4], 0
call fcn.004ce301
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.0047aab0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
call fcn.0048a460
mov byte [ebp - 4], 0
test edi, edi
je 0x48a300
jmp 0x48a2f7
mov eax, dword fs:[0x18]
mov esi, dword [ebp + 8]
lea ecx, [esi + 8]
push 0xffffffffffffffff
mov dword [eax + 0xbf4], 0xc00000ef
mov eax, dword [ebp - 0x68]
mov dword [esi], eax
mov eax, dword [ebp - 0x64]
mov dword [esi + 4], eax
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x60]
push eax
call fcn.0046b300
push 0xffffffffffffffff
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x48]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00475f50
cmp dword [ebp - 0x34], 0x10
mov ax, word [ebp - 0x30]
mov word [esi + 0x38], ax
movzx eax, byte [ebp - 0x2e]
mov byte [esi + 0x3a], al
movzx eax, byte [ebp - 0x2d]
mov byte [esi + 0x3b], al
jb 0x48a422
push dword [ebp - 0x48]
call fcn.004cd56c
add esp, 4
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jb 0x48a445
push dword [ebp - 0x60]
call fcn.004cd56c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10