Function at 0x45afe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x521284]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, dword [ecx]
mov esi, edx
lea edx, [esp + 0x80]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 1
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x64
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov word [esp + 0x28], 0
cmp dword [edi + 0xbc], 1
mov dword [esp + 0x48], edi
jle 0x45b0f4
mov al, byte [esi]
test al, al
je 0x45b47e
mov edi, esi
inc esi
cmp al, 0xa
je 0x45b06d
mov al, byte [esi]
test al, al
jne 0x45b062
mov ecx, dword [esp + 0x24]
add ecx, 3
cmp ecx, dword [esp + 0x1c]
jb 0x45b08f
push 3
mov edx, 0x514b3c
lea ecx, [esp + 0x18]
call fcn.00434040
add esp, 4
jmp 0x45b0a7
mov ax, word [0x514b3c]
mov dword [esp + 0x24], ecx
mov word [ecx + edx - 3], ax
mov al, byte [0x514b3e]
mov byte [ecx + edx - 1], al
mov eax, dword [esp + 0x24]
mov ecx, esi
sub ecx, edi
add eax, ecx
cmp eax, dword [esp + 0x1c]
jb 0x45b0c8
push ecx
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.00434040
add esp, 4
jmp 0x45b0e1
test ecx, ecx
je 0x45b0e1
mov dword [esp + 0x24], eax
sub eax, ecx
add eax, dword [esp + 0x18]
push ecx
push edi
push eax
call fcn.004cdb30
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x45b443
mov edx, dword [esp + 0x18]
jmp 0x45b060
cmp word [ecx + 0x10], 0
jne 0x45b153
test esi, esi
je 0x45b47e
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45b108
sub ecx, edi
and ecx, 0x3fffffff
cmp ecx, 0x64
jb 0x45b130
push ecx
mov edx, esi
lea ecx, [esp + 0x18]
call fcn.00434040
add esp, 4
jmp 0x45b443
test ecx, ecx
je 0x45b47e
push ecx
lea eax, [esp + 0x84]
mov dword [esp + 0x28], ecx
push esi
push eax
call fcn.004cdb30
add esp, 0xc
jmp 0x45b443
cmp byte [esi], 0
je 0x45b47e
nop dword [eax]
mov edi, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
lea edx, [esp + 0x44]
mov ecx, edi
call fcn.004c41b0
cmp dword [esp + 0x44], 0x99
mov ecx, dword [esp + 0x2c]
je 0x45b19e
add edi, eax
add ecx, eax
mov dword [esp + 0x2c], ecx
cmp byte [edi], 0
jne 0x45b172
mov edi, dword [esp + 0x34]
jmp 0x45b1a0
mov edi, eax
mov eax, dword [esp + 0x24]
add eax, ecx
cmp eax, dword [esp + 0x1c]
jb 0x45b1bd
push ecx
mov edx, esi
lea ecx, [esp + 0x18]
call fcn.00434040
add esp, 4
jmp 0x45b1d6
test ecx, ecx
je 0x45b1da
mov dword [esp + 0x24], eax
sub eax, ecx
add eax, dword [esp + 0x18]
push ecx
push esi
push eax
call fcn.004cdb30
add esp, 0xc
mov ecx, dword [esp + 0x2c]
add esi, ecx
test edi, edi
je 0x45b443
cmp byte [esi], 0x3f
jne 0x45b206
cmp edi, 1
jle 0x45b200
lea ecx, [esi + 1]
lea edx, [esp + 0x30]
call fcn.00435cf0
mov eax, dword [esp + 0x30]
jmp 0x45b21f
mov eax, dword [esp + 0x38]
jmp 0x45b21b
mov ecx, dword [esp + 0x3c]
mov edx, esi
push edi
mov ecx, dword [ecx + 0x80]
call fcn.004365f0
add esp, 4
mov dword [esp + 0x30], eax
add esi, edi
lea ecx, [eax + 1]
lea edi, [eax + eax*4]
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x3c]
lea edi, [edi - 5]
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x64]
lea edi, [eax + edi*8]
movzx eax, word [edi + 8]
mov dword [esp + 0x34], edi
test al, 1
je 0x45b282
mov ecx, dword [esp + 0x24]
add ecx, 4
cmp ecx, dword [esp + 0x1c]
jb 0x45b26d
push 4
mov edx, 0x513610
lea ecx, [esp + 0x18]
call fcn.00434040
add esp, 4
jmp 0x45b43a
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov dword [ecx + eax - 4], 0x4c4c554e
jmp 0x45b43a
test al, 0x24
je 0x45b2a2
push dword [edi + 4]
lea eax, [esp + 0x18]
push dword [edi]
push 0x51353c
push eax
call fcn.004347a0
add esp, 0x10
jmp 0x45b43a
test al, 8
je 0x45b2c9
movsd xmm0, qword [edi]
lea eax, [esp + 0x14]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.004347a0
add esp, 0x10
jmp 0x45b43a
test al, 2
je 0x45b383
mov ecx, dword [esp + 0x48]
mov al, byte [ecx + 0x4e]
mov byte [esp + 0x40], al
cmp al, 1
je 0x45b33d
xorps xmm0, xmm0
push 0
push dword [esp + 0x44]
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x58]
movaps xmmword [esp + 0x58], xmm0
movaps xmmword [esp + 0x68], xmm0
push dword [edi + 0xc]
mov edx, dword [edi + 0x10]
call fcn.00452320
add esp, 0xc
test byte [esp + 0x58], 2
je 0x45b339
cmp byte [esp + 0x5a], 1
je 0x45b339
mov dl, 1
lea ecx, [esp + 0x50]
call fcn.00434a40
cmp eax, 7
jne 0x45b339
mov byte [esp + 0x28], al
mov dword [esp + 0x1c], 0
lea edi, [esp + 0x50]
push dword [edi + 0x10]
lea eax, [esp + 0x18]
push dword [edi + 0xc]
push str._.q
push eax
call fcn.004347a0
add esp, 0x10
cmp byte [esp + 0x40], 1
je 0x45b43a
test dword [esp + 0x58], 0x2400
jne 0x45b375
cmp dword [esp + 0x68], 0
je 0x45b43a
lea ecx, [esp + 0x50]
call fcn.00451ac0
jmp 0x45b43a
test eax, 0x4000
je 0x45b3a3
push dword [edi]
lea eax, [esp + 0x18]
push str.zeroblob__d_
push eax
call fcn.004347a0
add esp, 0xc
jmp 0x45b43a
mov ecx, dword [esp + 0x24]
add ecx, 2
cmp ecx, dword [esp + 0x1c]
jb 0x45b3c5
push 2
mov edx, 0x514b40
lea ecx, [esp + 0x18]
call fcn.00434040
add esp, 4
jmp 0x45b3d7
mov eax, dword [esp + 0x18]
mov edx, 0x2778
mov dword [esp + 0x24], ecx
mov word [ecx + eax - 2], dx
mov eax, dword [edi + 0xc]
xor edi, edi
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x45b40d
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x10]
movzx eax, byte [edi + eax]
push eax
lea eax, [esp + 0x18]
push str._02x
push eax
call fcn.004347a0
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x2c]
jl 0x45b3e8
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
inc ecx
cmp ecx, dword [esp + 0x1c]
jb 0x45b42d
push 1
mov edx, 0x50e104
lea ecx, [esp + 0x18]
call fcn.00434040
add esp, 4
jmp 0x45b43a
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov byte [ecx + eax - 1], 0x27
cmp byte [esi], 0
jne 0x45b160
cmp byte [esp + 0x28], 0
je 0x45b476
test byte [esp + 0x29], 4
je 0x45b45e
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
call fcn.00431ae0
xor edx, edx
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.004cc21a
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
test edx, edx
je 0x45b4b5
mov eax, dword [esp + 0x24]
mov byte [eax + edx], 0
cmp dword [esp + 0x20], 0
jbe 0x45b4b1
test byte [esp + 0x29], 4
jne 0x45b4b1
lea ecx, [esp + 0x14]
call fcn.00434130
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.004cc21a
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xec]
mov eax, edx
pop edi
pop esi
xor ecx, esp
call fcn.004cc21a
mov esp, ebp
pop ebp
ret